Login Register






The issue regarding searched threads returning 404s has been fixed. My apologies. - NekoElf
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

RE: Regular Nmap diffing #2
How would this be useful? I've used zenmap in class to find open ports and such but how is this different from just scanning?

Reply

RE: Regular Nmap diffing #3
If I read this correctly, it logs changes in devices on you lan? Unfortunately, I use a cascading router setup. I don't think it will work on devices outside my lan.
[Image: skullsigirys.png]

Reply

RE: Regular Nmap diffing #4
Totally forgot this thread.
(07-26-2018, 11:40 PM)skrtja Wrote: How would this be useful? I've used zenmap in class to find open ports and such but how is this different from just scanning?

Regular scans to see or find any open ports that an attack has done or, has gotten access to your network.

Reply

RE: Regular Nmap diffing #5
(07-27-2018, 02:55 AM)Mimiakira Wrote: Totally forgot this thread.
(07-26-2018, 11:40 PM)skrtja Wrote: How would this be useful? I've used zenmap in class to find open ports and such but how is this different from just scanning?

Regular scans to see or find any open ports that an attack has done or, has gotten access to your network.

Ok thanks. This might be helpful in the future.

Reply

RE: Regular Nmap diffing #6
(07-27-2018, 02:55 AM)Mimiakira Wrote: Totally forgot this thread.
(07-26-2018, 11:40 PM)skrtja Wrote: How would this be useful? I've used zenmap in class to find open ports and such but how is this different from just scanning?

Regular scans to see or find any open ports that an attack has done or, has gotten access to your network.

Isn't that what Zenmap/Nmap does- Identifies open/vulnerable ports as well as hosts & services running on the network (IPs, hostnames etc), hence allows you to establish If and when an Intrusion has taken place?
[Image: AD83g1A.png]

Reply

RE: Regular Nmap diffing #7
(07-27-2018, 07:02 AM)mothered Wrote:
(07-27-2018, 02:55 AM)Mimiakira Wrote: Totally forgot this thread.
(07-26-2018, 11:40 PM)skrtja Wrote: How would this be useful? I've used zenmap in class to find open ports and such but how is this different from just scanning?

Regular scans to see or find any open ports that an attack has done or, has gotten access to your network.

Isn't that what Zenmap/Nmap does- Identifies open/vulnerable ports as well as hosts & services running on the network (IPs, hostnames etc), hence allows you to establish If and when an Intrusion has taken place?

That's what I thought too as well.

Reply

RE: Regular Nmap diffing #8
(07-27-2018, 07:02 AM)mothered Wrote:
(07-27-2018, 02:55 AM)Mimiakira Wrote: Totally forgot this thread.
(07-26-2018, 11:40 PM)skrtja Wrote: How would this be useful? I've used zenmap in class to find open ports and such but how is this different from just scanning?

Regular scans to see or find any open ports that an attack has done or, has gotten access to your network.

Isn't that what Zenmap/Nmap does- Identifies open/vulnerable ports as well as hosts & services running on the network (IPs, hostnames etc), hence allows you to establish If and when an Intrusion has taken place?

Yep, pretty much but, this is automated scanning that stores logs of valuable information of what's happening.

Reply

RE: Regular Nmap diffing #9
(07-27-2018, 07:59 AM)Mimiakira Wrote:
(07-27-2018, 07:02 AM)mothered Wrote:
(07-27-2018, 02:55 AM)Mimiakira Wrote: Totally forgot this thread.

Regular scans to see or find any open ports that an attack has done or, has gotten access to your network.

Isn't that what Zenmap/Nmap does- Identifies open/vulnerable ports as well as hosts & services running on the network (IPs, hostnames etc), hence allows you to establish If and when an Intrusion has taken place?

Yep, pretty much but, this is automated scanning that stores logs of valuable information of what's happening.

Okay, thanks for confirming.
[Image: AD83g1A.png]

Reply







Users browsing this thread: 1 Guest(s)