Posts

Showing posts from June, 2020

ADB CMD

adb commands: listing devices : cmd : adb devices o/p db devices List of devices attached emulator-5554    device emulator-5556    device shell to the particular device: cmd: adb -s deive name shell i/p:$ adb -s emulator-5556 shell root to the particular device: $ adb -s emulator-5554 root adbd is already running as root list all the package pm list packages   cmd: megala@kali:~/Downloads/sample apk files$ adb -s  emulator-5554 shell generic_x86:/ # pm list packages pushing the files to the device: adb push local file mbl location $ adb push Instagram_v144.0.0.25.119_apkpure.com.apk /sdcard Instagram_v144.0.0.25.119_apkpure.....0 MB/s (30809534 bytes in 0.249s) megala@kali:~/Downloads/sample apk files/insta_zip extract$ adb shell generic_x86:/ # cd sdcard/                                ...

Mobile PT lab setup commands

installing genymotion on kali: step1: Goto https://www.genymotion.com/download/ Download current version of genymotion. run genymotion from your downloaded place cmd: ./genymotion-3.1.0-linux_x64.bin go to cd /opt/genymobile/genymotion/ to run genymotion: ./genymotion burp configuration on genymotion: https://linuxsuperuser.com/configure-burp-suite-proxy-genymotion/ https://linuxsuperuser.com/configure-burp-suite-proxy-genymotion/ Download genymotion install download terminal emulator -> www.apkmirror.com to get terminal access ADB device: genymotion setting ->sdk device -> use custom andriod sdk tools -> path -> your sdk path ->close Install apktool --------------- $ sudo apt-get install apktool Install dex2jar --------------- $ sudo apt-get install dex2jar $ d2j-jar2dex -h install qark: -------------- Download QARK from github $ git clone https://github.com/linkedin/qark $ cd qark $ pip3 install -r requirements.txt $ python3 setup.py install To test APK : $ sudo qar...