Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{ Use: "scan", Short: "Perform scanning functions", Long: scanLongDesc, PersistentPreRun: func(cmd *cobra.Command, args []string) { bandwidth := viper.GetString("PingScanBandwidth") if err := validation.ValidateScanBandwidth(bandwidth); err != nil { logging.ErrorF(err) } targetNetwork := viper.GetString("ScanTargetNetwork") if err := validation.ValidateIPv6NetworkString(targetNetwork); err != nil { logging.ErrorF(err) } _, err := config.GetTargetNetwork() if err != nil { logging.ErrorF(err) } if runtime.GOOS != "linux" { logging.ErrorStringFf("%s is not a supported platform - ipv666's scanning tools only work on Linux systems", runtime.GOOS) } }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.