Port Scan
Last updated
Last updated
PS C:\Users\jamie\Desktop> Test-NetConnection -Port 1433 192.168.210.15
Nmap binary:
For Windows - Zenmap
List of common ports:
Common PortsNmap Option | Description |
| Target network range. |
| Disables port scanning. |
| Disables ICMP Echo Requests |
| Disables DNS Resolution. |
| Performs the ping scan by using ICMP Echo Requests against the target. |
| Shows all packets sent and received. |
| Displays the reason for a specific result. |
| Disables ARP Ping Requests. |
| Scans the specified top ports that have been defined as most frequent. |
| Scan all ports. |
| Scan all ports between 22 and 110. |
| Scans only the specified ports 22 and 25. |
| Scans top 100 ports. |
| Performs an TCP SYN-Scan. |
| Performs an TCP ACK-Scan. |
| Performs an UDP Scan. |
| Scans the discovered services for their versions. |
| Perform a Script Scan with scripts that are categorized as "default". |
| Performs a Script Scan by using the specified scripts. |
| Performs an OS Detection Scan to determine the OS of the target. |
| Performs OS Detection, Service Detection, and traceroute scans. |
| Sets the number of random Decoys that will be used to scan the target. |
| Specifies the network interface that is used for the scan. |
| Specifies the source IP address for the scan. |
| Specifies the source port for the scan. |
| DNS resolution is performed by using a specified name server. |
Nmap Option | Description |
| Stores the results in all available formats starting with the name of "filename". |
| Stores the results in normal format with the name "filename". |
| Stores the results in "grepable" format with the name of "filename". |
| Stores the results in XML format with the name of "filename". |
Nmap Option | Description |
| Sets the number of retries for scans of specific ports. |
| Displays scan's status every 5 seconds. |
| Displays verbose output during the scan. |
| Sets the specified time value as initial RTT timeout. |
| Sets the specified time value as maximum RTT timeout. |
| Sets the number of packets that will be sent simultaneously. |
| Specifies the specific timing template. |
Update nse scripts: sudo nmap --script-updatedb
safe
:- Won't affect the target
intrusive
:- Not safe: likely to affect the target
vuln
:- Scan for vulnerabilities
exploit
:- Attempt to exploit a vulnerability
auth
:- Attempt to bypass authentication for running services (e.g. Log into an FTP server anonymously)
brute
:- Attempt to bruteforce credentials for running services
discovery
:- Attempt to query running services for further information about the network (e.g. query an SNMP server).