I'm new to Objection and Frida and I've been having issues comprehending how to get the app to fully load #677
Unanswered
ChillVibesMushroom
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Linux Version
Linux ronin 6.5.0-28-generic #29~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Apr 4 14:39:20 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
objection version
objection: 1.11.0
zipalign
zipalign - Zip archive alignment tool
apktool version*
Apktool 2.9.3 - a tool for reengineering Android apk files
with smali v3.0.3 and baksmali v3.0.3
android device information
Linux localhost 5.4.233-qgki-gb23e42165b7a #1 SMP PREEMPT Wed Dec 20 06:34:23 UTC 2023 aarch64
APK BEING USED
https://github.com/satishpatnayak/MyTest/blob/master/AndroGoat.apk
Commands Being Used
objection patchapk --source AndroGoat.apk --skip-resources --ignore-nativelibs
output of given command
No architecture specified. Determining it using
adb
...Detected target device architecture as: arm64-v8a
Using latest Github gadget version: 16.2.1
Patcher will be using Gadget version: 16.2.1
Detected apktool version as: 2.9.3
Running apktool empty-framework-dir...
Unpacking AndroGoat.apk
App already has android.permission.INTERNET
Target class not specified, searching for launchable activity instead...
Reading smali from: /tmp/tmpie_ecbrs.apktemp/smali/owasp/sat/agoat/SplashActivity.smali
Injecting loadLibrary call at line: 39
Attempting to fix the constructors .locals count
Current locals value is 0, updating to 1:
Writing patched smali back to: /tmp/tmpie_ecbrs.apktemp/smali/owasp/sat/agoat/SplashActivity.smali
Creating library path: /tmp/tmpie_ecbrs.apktemp/lib/arm64-v8a
Copying Frida gadget to libs path...
Rebuilding the APK with the frida-gadget loaded...
Built new APK with injected loadLibrary and frida-gadget
Performing zipalign
Zipalign completed
Signing new APK.
Signed the new APK
Copying final apk from /tmp/tmpie_ecbrs.apktemp.aligned.objection.apk to AndroGoat.objection.apk in current directory...
Cleaning up temp files...
streamed install successfull
./adb install /home/ronin/objection/AndroGoat.objection.apk
Performing Streamed Install
Success
Using USB device
Nokia G400 5G
Agent injected and responds ok!
Connection: USB
Name: owasp.sat.agoat
System: STM
Model: Nokia
Version: 12
Asking jobs to stop...
Unloading objection agent...
<3, appreciate it, an I'm trying to get better at using objection and frida can someone answer me two simple questions
(1) what command do I have to run to connect to the frida gadget using objection I used
objection device-type
(2) can someone give me a script or show me a script that allows me to get a connect back via shell
Beta Was this translation helpful? Give feedback.
All reactions