From 01d4de40d2ef5a30f31f43269b58cf84c9fd3cca Mon Sep 17 00:00:00 2001 From: ritiksahni <58897439+ritiksahni@users.noreply.github.com> Date: Sun, 10 Jan 2021 17:01:51 +0530 Subject: [PATCH] Add dig --- _gtfobins/dig.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 _gtfobins/dig.md 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 +---