| skipped 21 lines |
22 | 22 | | } |
23 | 23 | | // scan options |
24 | 24 | | scanCmd.Flags().StringVarP(&options.Scan.Ports, "ports", "p", "0-65535", "Port range for previous command") |
25 | | - | scanCmd.Flags().StringVarP(&options.Scan.Rate, "rate", "r", "3000", "rate limit for masscan command") |
| 25 | + | scanCmd.Flags().StringVarP(&options.Scan.Rate, "rate", "r", "3000", "rate limit for rustscan command") |
| 26 | + | scanCmd.Flags().StringVar(&options.Scan.Retry, "retry", "", "retry limit for rustscan command") |
| 27 | + | scanCmd.Flags().StringVar(&options.Scan.Timeout, "timeout", "", "timeout for rustscan command") |
26 | 28 | | scanCmd.Flags().BoolVarP(&options.Scan.All, "join", "A", false, "Join all inputs to a file first then do a scan") |
27 | 29 | | // scan strategy option |
28 | 30 | | scanCmd.Flags().BoolVarP(&options.Scan.Flat, "flat", "f", true, "format output like this: 1.2.3.4:443") |
| skipped 269 lines |