nmmapper / python3-nmap

A python 3 library which helps in using nmap port scanner. This is done by converting each nmap command into a callable python3 method or function. System administrators can now automatic nmap scans using python
https://www.nmmapper.com/sys/networkmapper/nmap/online-port-scanning/
GNU General Public License v3.0
277 stars 73 forks source link

Stealh scan vs firewall detection #13

Closed haydar-tech closed 4 years ago

haydar-tech commented 4 years ago

Hi,

In this part of the code you use both same option for two different functions. For Stealth Scan I suggest you use : -T[0:1:2] or -sZ for sctp (Stream Control Transmission Protocol) cookie echo, otherwise combine any option with -n and -Pn.

def nmap_stealth_scan(self, host, arg="-sA", args=None):
        """
        nmap -oX - nmmapper.com -sA
        """
...

def nmap_detect_firewall(self, host, arg="-sA", args=None): # requires root
        """
        nmap -oX - nmmapper.com -sA
        @ TODO
        """
nmmapper commented 4 years ago

Thanks for those ideas, am going to start working on them.

haydar-tech commented 4 years ago

Thank you for having changed the options. I will close these issue.