Documentation ¶
Index ¶
- Constants
- func CreateSubdomains(filename string, scheme string, url string) []string
- func CreateUrls(filename string, scheme string, url string) []string
- func DNSSubcommandCheckFlags(dnsCommand flag.FlagSet, ...)
- func DirSubcommandCheckFlags(dirCommand flag.FlagSet, dirTargetPtr *string, dirIgnorePtr *string, ...) []string
- func GetKey(api string) string
- func PortSubcommandCheckFlags(portCommand flag.FlagSet, portTargetPtr *string, portsPtr *string, ...) (int, int, []int, bool)
- func ReadDictDirs(inputFile string) []string
- func ReadDictSubs(inputFile string) []string
- func ReportSubcommandCheckFlags(reportCommand flag.FlagSet, reportTargetPtr *string, reportPortsPtr *string, ...) (int, int, []int, bool, []string, []string)
- func SubdomainSubcommandCheckFlags(subdomainCommand flag.FlagSet, subdomainTargetPtr *string, ...) []string
- type Input
- type Keys
Constants ¶
const ( PortScanTimeout = 3 DefaultUserAgent = "Go http/Client" )
Variables ¶
This section is empty.
Functions ¶
func CreateSubdomains ¶
CreateSubdomains returns a list of subdomains from the default file subdomains.txt.
func CreateUrls ¶
CreateUrls returns a list of directories from the default file dirs.txt.
func DNSSubcommandCheckFlags ¶
func DNSSubcommandCheckFlags(dnsCommand flag.FlagSet, dnsTargetPtr, dnsOutputJSON, dnsOutputHTML, dnsOutputTXT *string)
DNSSubcommandCheckFlags performs all the necessary checks on the flags for the dns subcommand.
func DirSubcommandCheckFlags ¶
func DirSubcommandCheckFlags(dirCommand flag.FlagSet, dirTargetPtr *string, dirIgnorePtr *string, dirOutputJSON, dirOutputHTML, dirOutputTXT, dirUserAgentPtr *string, dirRandomUserAgentPtr *bool) []string
DirSubcommandCheckFlags performs all the necessary checks on the flags for the dir subcommand.
func PortSubcommandCheckFlags ¶
func PortSubcommandCheckFlags(portCommand flag.FlagSet, portTargetPtr *string, portsPtr *string, portCommonPtr *bool, startPort int, endPort int, portTimeout *int, portOutputJSON, portOutputHTML, portOutputTXT *string) (int, int, []int, bool)
PortSubcommandCheckFlags performs all the necessary checks on the flags for the port subcommand.
func ReadDictDirs ¶
ReadDictDirs reads all the possible dirs from input file.
func ReadDictSubs ¶
ReadDictSubs reads all the possible subdomains from file.
func ReportSubcommandCheckFlags ¶
func ReportSubcommandCheckFlags(reportCommand flag.FlagSet, reportTargetPtr *string, reportPortsPtr *string, reportCommonPtr *bool, reportVirusTotalPtr *bool, reportSubdomainDBPtr *bool, startPort int, endPort int, reportIgnoreDirPtr *string, reportIgnoreSubPtr *string, reportTimeoutPort *int, reportOutputJSON, reportOutputHTML, reportOutputTXT, reportUserAgentPtr *string, reportRandomUserAgentPtr *bool) (int, int, []int, bool, []string, []string)
ReportSubcommandCheckFlags performs all the necessary checks on the flags for the report subcommand.
func SubdomainSubcommandCheckFlags ¶
func SubdomainSubcommandCheckFlags(subdomainCommand flag.FlagSet, subdomainTargetPtr *string, subdomainNoCheckPtr *bool, subdomainDBPtr *bool, subdomainWordlistPtr *string, subdomainIgnorePtr *string, subdomainCrawlerPtr *bool, subdomainVirusTotalPtr *bool, subdomainBuiltWithPtr *bool, subdomainOutputJSON, subdomainOutputHTML, subdomainOutputTXT, subdomainUserAgentPtr *string, subdomainRandomUserAgentPtr *bool, subdomainDNSPtr *string, subdomainAlivePtr *bool) []string
SubdomainSubcommandCheckFlags performs all the necessary checks on the flags for the subdomain subcommand.
Types ¶
type Input ¶
type Input struct { ReportTarget string ReportWordDir string ReportWordSub string ReportOutputJSON string ReportOutputHTML string ReportOutputTXT string ReportIgnoreDir []string ReportIgnoreSub []string ReportCrawlerDir bool ReportCrawlerSub bool ReportSubdomainDB bool ReportCommon bool ReportRedirect bool ReportVirusTotal bool ReportTimeoutPort int ReportUserAgent string ReportRandomUserAgent bool ReportDNS string ReportAlive bool DNSTarget string DNSOutputJSON string DNSOutputHTML string DNSOutputTXT string DNSPlain bool SubdomainTarget string SubdomainWord string SubdomainOutputJSON string SubdomainOutputHTML string SubdomainOutputTXT string SubdomainIgnore []string SubdomainCrawler bool SubdomainDB bool SubdomainPlain bool SubdomainNoCheck bool SubdomainVirusTotal bool SubdomainBuiltWith bool SubdomainUserAgent string SubdomainRandomUserAgent bool SubdomainDNS string SubdomainAlive bool DirTarget string DirWord string DirOutputJSON string DirOutputHTML string DirOutputTXT string DirIgnore []string DirCrawler bool DirPlain bool DirRedirect bool DirUserAgent string DirRandomUserAgent bool PortTarget string PortOutputJSON string PortOutputHTML string PortOutputTXT string StartPort int EndPort int PortArrayBool bool PortsArray []int PortCommon bool PortPlain bool PortTimeout int }
Input is the struct containing the input parameters.