From 0f48c1b057533227619531a993505325e93908f4 Mon Sep 17 00:00:00 2001 From: "Mr. Robot" Date: Sun, 10 Jan 2021 21:15:45 +0100 Subject: [PATCH] add data source for dig --- data/dig.json | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 data/dig.json diff --git a/data/dig.json b/data/dig.json new file mode 100644 index 0000000..744c814 --- /dev/null +++ b/data/dig.json @@ -0,0 +1,20 @@ +{ + "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": "dig -f [file]\n" + } + ], + "sudo": [ + { + "code": "sudo dig -f [file]\n" + } + ], + "suid": [ + { + "code": "./dig -f [file]\n" + } + ] + } +}