mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced 2026-01-05 23:31:33 +01:00
1.6 KiB
1.6 KiB
| description | functions | |||||||
|---|---|---|---|---|---|---|---|---|
| If the `wg-quick` binary is allowed via `sudo`, it can be abused to create a fake configuration which allows executing commands with root privileges. This example creates a fake config parsed and loaded by `wg-quick`, allowing for obtaining a full reserve shell with root privileges. Note that here, `netcat` will be used, but of course, there are plenty of payloads you can replace to obtain the same. |
|