aboutsummaryrefslogtreecommitdiff
path: root/Scripts/Inveigh.ps1
diff options
context:
space:
mode:
authorKevin Robertson <robertsonk@gmail.com>2016-09-14 20:06:15 -0400
committerKevin Robertson <robertsonk@gmail.com>2016-09-14 20:06:15 -0400
commitcae9ff7a8d09f3398772875ce9de4dc064038396 (patch)
tree137aaf978af2aa826122416f7daa66caf9da54f1 /Scripts/Inveigh.ps1
parent44be24ea146ef13642e42a04a69ef67aa3b8f4b3 (diff)
downloadInveigh-cae9ff7a8d09f3398772875ce9de4dc064038396.tar.gz
Inveigh-cae9ff7a8d09f3398772875ce9de4dc064038396.zip
LLMNR learning fix
Fixed a bad if statement that was preventing Inveigh from sending out LLMNR requests with SpooferLearning enabled.
Diffstat (limited to 'Scripts/Inveigh.ps1')
-rw-r--r--Scripts/Inveigh.ps12
1 files changed, 1 insertions, 1 deletions
diff --git a/Scripts/Inveigh.ps1 b/Scripts/Inveigh.ps1
index 8c7437f..716f9da 100644
--- a/Scripts/Inveigh.ps1
+++ b/Scripts/Inveigh.ps1
@@ -1775,7 +1775,7 @@ $sniffer_scriptblock =
if($LLMNR -eq 'Y')
{
- if($SpooferLearning -eq 'Y' -and $inveigh.valid_host_list -contains $LLMNR_query_string -and $source_IP -ne $IP)
+ if($SpooferLearning -eq 'Y' -and $inveigh.valid_host_list -notcontains $LLMNR_query_string -and $source_IP -ne $IP)
{
if(($LLMNR_learning_log.Exists({param($s) $s -like "20* $LLMNR_query_string"})))