Skip to content

Commit ab58fcb

Browse files
committed
Added IPv4 Subnet Cheatsheet in Appendix B
1 parent ada49a2 commit ab58fcb

File tree

1 file changed

+30
-1
lines changed

1 file changed

+30
-1
lines changed

README.md

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1436,10 +1436,39 @@ vulnerabilities our system is affected we can do:
14361436
sudo nmap --script "vuln and not (dos or exploit or intrusive)" www.22hits.com
14371437
# this is a safer version of the last command, since it won't execute exploits
14381438
```
1439-
## Appendix
1439+
## Appendix A: Nmap Flags Cheatsheet
14401440

14411441
Here we'll put an nmap cheatsheet, which wraps up all the Network
14421442
Mapping phases with relative commands, this can be useful to us
14431443
for many situations.
14441444

14451445
![alt text](img/nmap_cheatsheet.png "nmap cheatsheet")
1446+
1447+
1448+
## Appendix B: IPv4 Subnet Cheatsheet
1449+
1450+
/31 255.255.255.254 1 Host
1451+
/30 255.255.255.252 2 Hosts
1452+
/29 255.255.255.249 6 Hosts
1453+
/28 255.255.255.240 14 Hosts
1454+
/27 255.255.255.224 30 Hosts
1455+
/26 255.255.255.192 62 Hosts
1456+
/25 255.255.255.128 126 Hosts
1457+
/24 255.255.255.0 254 Hosts
1458+
/23 255.255.254.0 512 Host
1459+
/22 255.255.252.0 1022 Hosts
1460+
/21 255.255.248.0 2046 Hosts
1461+
/20 255.255.240.0 4094 Hosts
1462+
/19 255.255.224.0 8190 Hosts
1463+
/18 255.255.192.0 16382 Hosts
1464+
/17 255.255.128.0 32766 Hosts
1465+
/16 255.255.0.0 65534 Hosts
1466+
/15 255.254.0.0 131070 Hosts
1467+
/14 255.252.0.0 262142 Hosts
1468+
/13 255.248.0.0 524286 Hosts
1469+
/12 255.240.0.0 1048674 Hosts
1470+
/11 255.224.0.0 2097150 Hosts
1471+
/10 255.192.0.0 4194302 Hosts
1472+
/9 255.128.0.0 8388606 Hosts
1473+
/8 255.0.0.0 16777214 Hosts
1474+

0 commit comments

Comments
 (0)