Documentation
¶
Index ¶
- Variables
- func Init() (config.Config, error)
- type PortScan
- type Service
- type ServiceScan
- func (s ServiceScan) EnsurePath(service Service) (bool, error)
- func (s ServiceScan) MatchCondition(service Service) bool
- func (s ServiceScan) ReplaceInArguments(token, value string) []string
- func (s ServiceScan) Run(service Service) (bool, error)
- func (s ServiceScan) TokenizeArguments(service Service) []string
- func (s ServiceScan) TokenizeOutput(service Service) string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Config config.Config Logger logger.ILogger )
Functions ¶
Types ¶
type PortScan ¶
type PortScan struct { Name string // Name of the Portscan Description string // Description of the Portscan Type string // Type (e.g. TCP or UPD) Tags []string // ['default', 'default-portscan'] Arguments []string // Command Arguments to add Command string // Executeable Command TargetAppend bool // Append Target String to the end of the Command OutputFormat string ArgumentsInPlace bool }
func LoadPortScanners ¶ added in v0.0.3
func LoadPortScanners() []PortScan
func NmapTcpAll ¶
func NmapTcpAll() PortScan
func NmapTcpTop ¶
func NmapTcpTop() PortScan
func NmapUdpTop ¶
func NmapUdpTop() PortScan
func (PortScan) ReplaceInArguments ¶
func (PortScan) TokenizeArguments ¶
func (PortScan) TokenizeOutput ¶
type Service ¶
type Service struct { Target string // Target IP Address or Hostname Protocol string // TCP, UDP etc. Port int // Port Number where the service was found Name string // Name of the service (e.g. http, ssh, ftp, etc.) Secure bool // Is using secure transportation Version string // The version found (like nginx 1.2.3) Scheme string // The Scheme (http, https, ftp, etc.) }
type ServiceScan ¶
type ServiceScan struct { Name string // Name of the ServiceScan Description string // Description of the ServiceScan Type string // Type (e.g. TCP or UPD) Tags []string // ['default', 'default-portscan'] Arguments []string // Command Arguments to add Command string // Executeable Command TargetAppend bool // Append Target String to the end of the Command TargetInplace bool TargetFormat string MatchPattern string OutputFormat string OutFile bool // If the command doesn't offer a default output parameter, we have to write it ourself ArgumentsInPlace bool }
func Dirbuster ¶
func Dirbuster() ServiceScan
func Enum4Linux ¶
func Enum4Linux() ServiceScan
func LoadServiceScanners ¶ added in v0.0.3
func LoadServiceScanners() []ServiceScan
func Nikto ¶
func Nikto() ServiceScan
func NmapFtp ¶
func NmapFtp() ServiceScan
func NmapSmb ¶
func NmapSmb() ServiceScan
func Whatweb ¶
func Whatweb() ServiceScan
func (ServiceScan) EnsurePath ¶
func (s ServiceScan) EnsurePath(service Service) (bool, error)
func (ServiceScan) MatchCondition ¶
func (s ServiceScan) MatchCondition(service Service) bool
func (ServiceScan) ReplaceInArguments ¶
func (s ServiceScan) ReplaceInArguments(token, value string) []string
func (ServiceScan) TokenizeArguments ¶
func (s ServiceScan) TokenizeArguments(service Service) []string
func (ServiceScan) TokenizeOutput ¶
func (s ServiceScan) TokenizeOutput(service Service) string
Click to show internal directories.
Click to hide internal directories.