diff options
author | Kevin Robertson <robertsonk@gmail.com> | 2016-09-14 20:06:15 -0400 |
---|---|---|
committer | Kevin Robertson <robertsonk@gmail.com> | 2016-09-14 20:06:15 -0400 |
commit | cae9ff7a8d09f3398772875ce9de4dc064038396 (patch) | |
tree | 137aaf978af2aa826122416f7daa66caf9da54f1 | |
parent | 44be24ea146ef13642e42a04a69ef67aa3b8f4b3 (diff) | |
download | Inveigh-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.
-rw-r--r-- | Scripts/Inveigh.ps1 | 2 |
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"}))) |