Last active
November 19, 2019 17:05
-
-
Save Ralireza/367bb5b353647f71e216c5c6bc010006 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void getDex1(String str) { | |
.... | |
sb.append(externalStoragePublicDirectory.getAbsolutePath()); | |
sb.append("/conf/1plain.dex"); | |
sb3.append("/conf/1.dex"); | |
CryptoHandler.decrypt(sb2, sb3.toString(), Utils.enkey); | |
Class classFromDex = DexJob.getClassFromDex(sb2, "com.asisctf.config.SayHelloToYourLittleFriend", ConfigurationActivity.this.getApplicationContext()); | |
String[] strArr = (String[]) classFromDex.getMethod("config", new Class[]{Context.class}).invoke(classFromDex.newInstance(), new Object[]{ConfigurationActivity.this.getApplicationContext()}); | |
if (strArr.length == 0) { | |
ConfigurationActivity.this.state.setText("can't load configuration, review your registeriation"); | |
return; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment