Skip to content

Commit

Permalink
Proxy auth fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin-Robertson committed Apr 12, 2020
1 parent 378f6de commit 23d0f07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Inveigh.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ if($invalid_parameter)
throw
}

$inveigh_version = "1.502"
$inveigh_version = "1.503"

if(!$IP)
{
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 23d0f07

Please sign in to comment.