| skipped 64 lines |
65 | 65 | | |
66 | 66 | | // make sure input is valid |
67 | 67 | | if options.Scan.IPv4 { |
68 | | - | inputs = core.FilterIpv4(inputs) |
| 68 | + | // only filter when run zmap |
| 69 | + | if !options.Scan.SkipOverview { |
| 70 | + | inputs = core.FilterIpv4(inputs) |
| 71 | + | } |
69 | 72 | | } |
70 | 73 | | if uniq { |
71 | 74 | | inputs = funk.UniqString(inputs) |
| 75 | + | } |
| 76 | + | if len(inputs) == 0 { |
| 77 | + | core.ErrorF("No input provided") |
| 78 | + | os.Exit(1) |
72 | 79 | | } |
73 | 80 | | |
74 | 81 | | var result []string |
| skipped 199 lines |