Module Modifications - Kevin-Robertson/Inveigh GitHub Wiki

Unneeded code can be removed from the module to reduce the function sizes.

Inveigh.ps1

  • Comments – Everything in the initial comment block can be removed.
  • $HTTP_scriptblock – The scriptblock can be removed if HTTP/HTTPS/Proxy captures are not needed.
  • $sniffer_scriptblock – The scriptblock can be removed if privileged spoofing and SMB captures are not needed.
  • $LLMNR_spoofer_scriptblock – The scriptblock can be removed if the unprivileged LLMNR spoofer is not needed.
  • $mDNS_spoofer_scriptblock - The scriptblock can be removed if the unprivileged mDNS spoofer is not needed.
  • $NBNS_spoofer_scriptblock - The scriptblock can be removed if the unprivileged NBNS spoofer is not needed.
  • $NBNS_bruteforce_spoofer_scriptblock - The scriptblock can be removed if the NBNS bruteforce spoofer is not needed.
  • Support Functions - Any of the support functions can be removed if not needed.

Inveigh-Relay.ps1

  • Comments – Everything in the initial comment block can be removed.
  • Support Functions - Any of the support functions can be removed if not needed.