mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +01:00
Fix SUID for less and pg
Only file access is possible in that case.
This commit is contained in:
parent
e310b1f565
commit
41bd75145c
@ -13,8 +13,8 @@ functions:
|
|||||||
- code: |
|
- code: |
|
||||||
sudo less /etc/profile
|
sudo less /etc/profile
|
||||||
!/bin/sh
|
!/bin/sh
|
||||||
suid-limited:
|
suid-enabled:
|
||||||
- code: |
|
- code: |
|
||||||
./less /etc/profile
|
./less file_to_read
|
||||||
!/bin/sh
|
!/bin/sh
|
||||||
---
|
---
|
||||||
|
@ -10,8 +10,9 @@ functions:
|
|||||||
- code: |
|
- code: |
|
||||||
sudo pg /etc/profile
|
sudo pg /etc/profile
|
||||||
!/bin/sh
|
!/bin/sh
|
||||||
suid-limited:
|
suid-enabled:
|
||||||
- code: |
|
- description:
|
||||||
./pg /etc/profile
|
code: |
|
||||||
|
./pg file_to_read
|
||||||
!/bin/sh
|
!/bin/sh
|
||||||
---
|
---
|
||||||
|
Loading…
Reference in New Issue
Block a user