aboutsummaryrefslogtreecommitdiff
path: root/Inveigh.ps1
diff options
context:
space:
mode:
authorKevin Robertson <Kevin-Robertson@users.noreply.github.com>2020-04-12 00:13:53 -0400
committerKevin Robertson <Kevin-Robertson@users.noreply.github.com>2020-04-12 00:13:53 -0400
commit23d0f07ca1489b71c8f1fef9ef55aaa90a7aa0a9 (patch)
treebc2848fcf4112df53c81cd3cc6e65d79c0d7fb68 /Inveigh.ps1
parent378f6de76eb11dd3b947e89b07ee859c5aad33e0 (diff)
downloadInveigh-23d0f07ca1489b71c8f1fef9ef55aaa90a7aa0a9.tar.gz
Inveigh-23d0f07ca1489b71c8f1fef9ef55aaa90a7aa0a9.zip
Proxy auth fix
https://github.com/Kevin-Robertson/Inveigh/issues/20
Diffstat (limited to 'Inveigh.ps1')
-rw-r--r--Inveigh.ps14
1 files changed, 2 insertions, 2 deletions
diff --git a/Inveigh.ps1 b/Inveigh.ps1
index e289e75..f1683b4 100644
--- a/Inveigh.ps1
+++ b/Inveigh.ps1
@@ -500,7 +500,7 @@ if($invalid_parameter)
throw
}
-$inveigh_version = "1.502"
+$inveigh_version = "1.503"
if(!$IP)
{
@@ -2000,7 +2000,7 @@ $NTLM_functions_scriptblock =
$NTLMSSP_hex_offset = $payload_converted.IndexOf("4E544C4D53535000")
$session = "$SourceIP`:$SourcePort"
- if(($Protocol -Like "HTTP*" -or $NTLMSSP_hex_offset -gt 0) -and $payload_converted.SubString(($NTLMSSP_hex_offset + 16),8) -eq "03000000")
+ if(($Protocol -Like "HTTP*" -or $Protocol -Like "Proxy"-or $NTLMSSP_hex_offset -gt 0) -and $payload_converted.SubString(($NTLMSSP_hex_offset + 16),8) -eq "03000000")
{
$NTLMSSP_offset = $NTLMSSP_hex_offset / 2
$LM_length = Get-UInt16DataLength ($NTLMSSP_offset + 12) $Payload