1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-09-20 10:53:35 +02:00
This commit is contained in:
Emilio Pinna 2018-06-02 16:02:38 +01:00
parent 234cfc0ebb
commit b6dfe3e083

15
_gtfobins/diff.md Normal file
View File

@ -0,0 +1,15 @@
---
functions:
sudo-enabled:
- code: |
LFILE=file_to_read
sudo diff --line-format=%L /dev/null $LFILE
suid-enabled:
- code: |
LFILE=file_to_read
./diff --line-format=%L /dev/null $LFILE
file-read:
- code: |
LFILE=file_to_read
diff --line-format=%L /dev/null $LFILE
---