Documentation
¶
Index ¶
Constants ¶
View Source
const Version = "1.0.7"
Variables ¶
This section is empty.
Functions ¶
func WriteConfiguration ¶
WriteConfiguration writes the updated afrog configuration to disk
Types ¶
type Config ¶
type Config struct {
ConfigVersion string `yaml:"version"`
PocSizeWaitGroup int32 `yaml:"poc_sizewaitgroup"`
TargetSizeWaitGroup int32 `yaml:"target_sizewaitgroup"`
ConfigHttp ConfigHttp `yaml:"http"`
Reverse Reverse `yaml:"reverse"`
}
Config is a afrog-config.yaml catalog helper implementation
func ReadConfiguration ¶
ReadConfiguration reads the afrog configuration file from disk.
func (*Config) GetConfigPath ¶
type ConfigHttp ¶
type ConfigHttp struct {
Proxy string `yaml:"proxy"`
DialTimeout int32 `yaml:"dial_timeout"`
ReadTimeout string `yaml:"read_timeout"`
WriteTimeout string `yaml:"write_timeout"`
MaxRedirect int32 `yaml:"max_redirect"`
MaxIdle string `yaml:"max_idle"`
Concurrency int `yaml:"concurrency"`
MaxConnsPerHost int `yaml:"max_conns_per_host"`
MaxResponseBodySize int `yaml:"max_responsebody_sizse"`
UserAgent string `yaml:"user_agent"`
}
type Options ¶
type Options struct {
// afrog-config.yaml configuration file
Config *Config
// Pocs Directory
PocsDirectory utils.StringSlice
// Target URLs/Domains to scan
Targets utils.StringSlice
// Target URLs/Domains to scan
Target string
// TargetsFilePath specifies the targets from a file to scan.
TargetsFilePath string
// PocsFilePath specifies the directory of pocs to scan.
PocsFilePath string
// output file to write found issues/vulnerabilities
Output string
// Scan count num(targets * allpocs)
Count int
}
Click to show internal directories.
Click to hide internal directories.