Documentation
¶
Index ¶
- func ReadAllLines(fileName string, outList *[]string) error
- type DataReader
- func (r *DataReader) AddDatabase(filePath string) error
- func (r *DataReader) CheckHostEntry(ip net.IP, hostNames ...interface{}) (bool, bool)
- func (r *DataReader) Close()
- func (r *DataReader) GenerateScanFiles(outputPath string) error
- func (r *DataReader) GroupIPsAcrossSubnets(allIPs []tools.LabeledIP) []models.ScanMap
- type Logging
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadAllLines ¶ added in v0.1.1
Read from a file.
Types ¶
type DataReader ¶
type DataReader struct {
// contains filtered or unexported fields
}
Runner is a runner that probes web targets using a driver
func NewDataReader ¶
func NewDataReader(opts Options) (*DataReader, error)
func (*DataReader) AddDatabase ¶
func (r *DataReader) AddDatabase(filePath string) error
func (*DataReader) CheckHostEntry ¶
func (r *DataReader) CheckHostEntry(ip net.IP, hostNames ...interface{}) (bool, bool)
func (*DataReader) Close ¶
func (r *DataReader) Close()
func (*DataReader) GenerateScanFiles ¶
func (r *DataReader) GenerateScanFiles(outputPath string) error
func (*DataReader) GroupIPsAcrossSubnets ¶
func (r *DataReader) GroupIPsAcrossSubnets(allIPs []tools.LabeledIP) []models.ScanMap
Group IPs across subnets with constraints
type Logging ¶
type Logging struct {
// Debug display debug level logging
Debug bool
// Debug display debug level logging
DebugDb bool
// LogScanErrors log errors related to scanning
LogScanErrors bool
// Silence all logging
Silence bool
}
Logging is log related options
type Options ¶
type Options struct {
// Logging is logging options
Logging Logging
ExcludeFilterList []net.IPNet
IncludeFilterList []net.IPNet
FilterList []string
StoreTempInWorkspace bool
Services []models.Service
HostsPerScan int
PortsPerScan int
SameSubnet int
IncludeSaas bool
MinSubnet int
MaxSubnet int
Append bool
NoSupernet bool
}
Options are global github.com/helviojunior/randmaprandmap options
func NewDefaultOptions ¶
func NewDefaultOptions() *Options
NewDefaultOptions returns Options with some default values
Click to show internal directories.
Click to hide internal directories.