From 41fdcdd27eee4b0d34f0c4db4f4eeffaac58012a Mon Sep 17 00:00:00 2001 From: Yufan You Date: Sat, 23 Dec 2023 19:53:39 +0800 Subject: [PATCH] Add nmap file-read via -iL optio Co-authored-by: Andrea Cardaci --- _gtfobins/nmap.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/_gtfobins/nmap.md b/_gtfobins/nmap.md index 6a76161..333c824 100644 --- a/_gtfobins/nmap.md +++ b/_gtfobins/nmap.md @@ -96,6 +96,9 @@ functions: TF=$(mktemp) echo 'local f=io.open("file_to_read", "rb"); print(f:read("*a")); io.close(f);' > $TF nmap --script=$TF + - description: The file is actually parsed as a list of hosts/networks, lines are leaked through error messages. + code: | + nmap -iL file_to_read sudo: - description: Input echo is disabled. code: |