Documentation ¶
Index ¶
- Constants
- Variables
- func ArgLengthCheck()
- func CommandCheck(command string)
- func ConvertArrayPortsToIntComma(ports string) []int
- func ConvertArrayPortsToIntDash(ports string) []int
- func InitScanner(mappedUserInput map[string]string)
- func ScannerUserInput() map[string]string
- func SinglePort(host string, port int)
- func StringToIntPorts(ports *string) []int
- func SyncronizeScanGroups(host string)
- func TenTwentyFourPorts(host string)
- func TestUserInput()
- func UserCommands() map[string]string
- func UserInputCheck()
- func Worker(ports chan int, wg *sync.WaitGroup)
- func WorkerPoolScan()
- func WorkerPoolScanTwo(host string)
- func WorkerPoolScanTwoPorts(host *string, userPorts *[]int)
- func WorkerTwo(host string, ports, results chan int)
- type UserInputClient
- type UserInputNetcat
- type UserInputProxy
- type UserInputScanner
- type UserInputServer
Constants ¶
Variables ¶
View Source
var EXCEPTIONSTATEMENT string = "Expected 'Client', 'Server', 'Scanner', 'Proxy', or 'Netcat' commands with a subcommand."
Functions ¶
func ArgLengthCheck ¶
func ArgLengthCheck()
func CommandCheck ¶
func CommandCheck(command string)
Check for user input matches our const, otherwise throw "exception" and exit
func InitScanner ¶
func ScannerUserInput ¶
func SinglePort ¶
func StringToIntPorts ¶
func SyncronizeScanGroups ¶
func SyncronizeScanGroups(host string)
func TenTwentyFourPorts ¶
func TenTwentyFourPorts(host string)
func TestUserInput ¶
func TestUserInput()
func UserCommands ¶
func UserInputCheck ¶
func UserInputCheck()
func WorkerPoolScan ¶
func WorkerPoolScan()
func WorkerPoolScanTwo ¶
func WorkerPoolScanTwo(host string)
func WorkerPoolScanTwoPorts ¶
Types ¶
type UserInputClient ¶
type UserInputClient struct {
Host string
}
func (*UserInputClient) SetFlagClient ¶
func (uic *UserInputClient) SetFlagClient(fs *flag.FlagSet)
type UserInputNetcat ¶
func (*UserInputNetcat) SetFlagNetcat ¶
func (uin *UserInputNetcat) SetFlagNetcat(fs *flag.FlagSet)
type UserInputProxy ¶
func (*UserInputProxy) SetFlagProxy ¶
func (uip *UserInputProxy) SetFlagProxy(fs *flag.FlagSet)
type UserInputScanner ¶
func (*UserInputScanner) InitScannerTwo ¶
func (uis *UserInputScanner) InitScannerTwo()
func (*UserInputScanner) SetFlagScanner ¶
func (uis *UserInputScanner) SetFlagScanner(fs *flag.FlagSet)
type UserInputServer ¶
type UserInputServer struct {
Port int
}
func (*UserInputServer) SetFlagServer ¶
func (uis *UserInputServer) SetFlagServer(fs *flag.FlagSet)
Click to show internal directories.
Click to hide internal directories.