diff --git a/_gtfobins/dig.md b/_gtfobins/dig.md new file mode 100644 index 0000000..004c665 --- /dev/null +++ b/_gtfobins/dig.md @@ -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 +---