Login Register






The stories and information posted here are artistic works of fiction and falsehood. Only a fool would take anything posted here as fact.
Thread Rating:
  • 0 Vote(s) - 0 Average


Regular Nmap diffing filter_list
Author
Message
Regular Nmap diffing #1
hello all,

I'll be sharing a helpful Nmap that scans your network everyday.
This will work on a VPS/VM server that is linux or, your personal computer that is linux.

Replace IP (10.100.100.0/24) with yours...
Code:
#!/bin/bash
mkdir opt/nmap_diff
d=$(date +%Y-%m-%d)
y=$(date -d yesterday +%Y-%m-%d)
/usr/bin/nmap -T4 -oX /opt/nmap_diff/scan_$d.xml 10.100.100.0/24 > /dev/null 2>&1
if [ -e /opt/nmap_diff/scan_$y.xml ]; then
/usr/bin/ndiff /opt/nmap_diff/scan_%y.xml /opt/nmap_diff/scan_%d.xml > /opt/nmap_diff/diff.txt
fi

Any questions, leave them down below.

Reply





Messages In This Thread
Regular Nmap diffing - by Vultra - 07-14-2018, 03:40 PM
RE: Regular Nmap diffing - by skrtja - 07-26-2018, 11:40 PM
RE: Regular Nmap diffing - by Skullmeat - 07-27-2018, 02:09 AM
RE: Regular Nmap diffing - by Vultra - 07-27-2018, 02:55 AM
RE: Regular Nmap diffing - by skrtja - 07-27-2018, 03:33 AM
RE: Regular Nmap diffing - by mothered - 07-27-2018, 07:02 AM
RE: Regular Nmap diffing - by skrtja - 07-27-2018, 07:27 AM
RE: Regular Nmap diffing - by Vultra - 07-27-2018, 07:59 AM
RE: Regular Nmap diffing - by mothered - 07-27-2018, 08:48 AM



Users browsing this thread: 8 Guest(s)