Free for PREMIUM members
[Webinar] Streamline your web hosting managementRegister Today
Scandiff is a PowerShell script to automate host discovery and scanning with nmap. This script was written to perform nmap host discovery and port scanning from a remote network and send the results to a recipient through email. After discovering and scanning hosts, scandiff performs an nmap ndiff on the output against previous results, 7zips all generated output, and optionally emails all output to a specified email address.
.\scandiff-0.9.ps1 -frequency [daily|weekly] -basename foo -outdir X:\path\to\output\directory -targets (nmap-style target specification or path to file containing targets) -email [0|1] -discover [0|1]
./scandiff.ps1 -frequency daily -basename nmap-output -targets 192.168.1.10-25,scanme.nmap.org
./scandiff.ps1 -frequency daily -basename nmap-output -targets c:\targets.txt
Scandiff takes a number of arguments. The usage of each argument is described below:
Frequency is either daily or weekly.
Daily performs discovery using a limited set of ports and performs an nmap scan using the default nmap TCP port list.
Weekly performs a discovery using a limited set of ports and performs an nmap scan using the full TCP port range and a limited set of UDP ports defined in the script.
Be seen. Boost your question’s priority for more expert views and faster solutions