1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-11-08 15:59:17 +01:00

Add shell function

This commit is contained in:
Andrea Cardaci 2022-12-24 12:49:30 +01:00 committed by GitHub
parent fc372cb4f2
commit b6947295d2
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

@ -1,5 +1,9 @@
--- ---
functions: functions:
shell:
- code: |
TF=$(mktemp)
setlock $TF /bin/sh
suid: suid:
- code: ./setlock - /bin/sh -p - code: ./setlock - /bin/sh -p
sudo: sudo: