mirror of
https://github.com/shadow1ng/fscan.git
synced 2025-07-13 21:02:44 +08:00
Merge pull request #412 from BaiMeow/patch-1
Fix 192.168 should mask 16
This commit is contained in:
commit
e2c8dd8b1f
@ -89,7 +89,7 @@ func parseIP(ip string) []string {
|
||||
reg := regexp.MustCompile(`[a-zA-Z]+`)
|
||||
switch {
|
||||
case ip == "192":
|
||||
return parseIP("192.168.0.0/8")
|
||||
return parseIP("192.168.0.0/16")
|
||||
case ip == "172":
|
||||
return parseIP("172.16.0.0/12")
|
||||
case ip == "10":
|
||||
|
Loading…
Reference in New Issue
Block a user