| Platform | Links |
|---|---|
| Web | https://thegurusec.com |
| https://www.linkedin.com/in/guru-hariharaun | |
| Medium | https://thegurusec.medium.com/ |
| Github | https://github.com/guruhariharaun |
| https://twitter.com/thegurusec | |
| mail@thegurusec.com |
| Switch | Description |
|---|---|
| -sA | ACK scan |
| -sF | FIN scan |
| -sI | IDLE scan |
| -sL | DNS scan (list scan) |
| -sN | NULL scan |
| -sO | Protocol scan (tests which IP protocols respond) |
| -sP | Ping scan |
| -sR | RPC scan |
| -sS | SYN scan |
| -sT | TCP connect scan |
| -sW | Window scan |
| -sX | XMAS scan |
| -A | OS detection, version detection, script scanning and traceroute |
| -PI | ICMP ping |
| -Po | No ping |
| -PS | SYN ping |
| -PT | TCP ping |
| -oA | output the results in 3 types of format(nmap, gnmap, xml) |
| -oN | Normal output |
| -oX | XML output |
| -T0 through -T2 | Serial scans. T0 is slowest |
| -T3 through -T5 | Parallel scans. T3 is slowest |
| Switch | Example | Description |
|---|---|---|
| -f | nmap -f 10.10.10.10 | |
| -g | nmap -g 80 10.10.10.10 | Port Manipulation |
| -mtu | nmap -mtu 8 10.10.10.10 | Crunching down Packets to 8 Byte |
| -D RND | nmap -D RND:10 10.10.10.10 | Perform Decoy Scan and Generates Random non-reserved IP |
| —data 0xdeadbeef | nmap 10.10.10.10 --data 0xdeadbeef | |
| Send the binary data 0's and 1's | ||
| --data-string "Ph34r my l33t skills" | nmap 10.10.10.10 --data-string "Ph34r my l33t skills" | |
| Send strings as payload | ||
| --data-length 5 | ||
| nmap --data-length 5 10.10.10.10 | ||
| --randomize-hosts | nmap --randomize-hosts 10.10.10.10 | |
| send request to a IP from Random non-reserved IP | ||
| --badsum | nmap --badsum 10.10.10.10 | Sends Bad or Bongus TCP/USP Checksum |
| Operating System (OS) | Time To Live | TCP Window Size |
|---|---|---|
| Linux (Kernel 2.4 and 2.6) | 64 | 5840 |
| Google Linux | 64 | 5720 |
| FreeBSD | 64 | 65535 |
| OpenBSD | 64 | 16384 |
| Windows 95 | 32 | 8192 |
| Windows 2000 | 128 | 16384 |
| Windows XP | 128 | 65535 |
| Windows 98, Vista and 7 (Server 2008) | 128 | 8192 |
| iOS 12.4 (Cisco Routers) | 255 | 4128 |
| Solaris 7 | 255 | 8760 |
| AIX 4.3 | 64 | 16384 |
| Code | Type | Meaning |
|---|---|---|
| <1B> | UNIQUE | Domain master browser |
| <1C> | UNIQUE | Domain controller |
| <1D> | GROUP | Master browser for subnet |
| <00> | UNIQUE | Hostname |
| <00> | GROUP | Domain name |
| <03> | UNIQUE | Service running on system |
| <20> | UNIQUE | Server service running |