From 3dc961c0c9945f11c098eaa0ae377c505cddb9fd Mon Sep 17 00:00:00 2001 From: d3fudd <76706456+d3fudd@users.noreply.github.com> Date: Tue, 23 Jan 2024 20:30:15 -0300 Subject: [PATCH] Create apache.md --- _gtfobins/apache.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 _gtfobins/apache.md diff --git a/_gtfobins/apache.md b/_gtfobins/apache.md new file mode 100644 index 0000000..9679527 --- /dev/null +++ b/_gtfobins/apache.md @@ -0,0 +1,8 @@ +--- +description: This includes the file in the actual configuration file, the first line is leaked as an error message. +functions: + sudo: + - code: | + LFILE=file_to_read + sudo apache2 -f $LFILE +---