Documentation
¶
Overview ¶
Package app ...
Package app ...
Package app ...
Package app ...
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
Application is our structure to hold data related to the program and its configuration.
func New ¶
func New() *Application
New creates and returns a new Application with a default scanner initialized
func (*Application) CheckFlags ¶
func (a *Application) CheckFlags(flags *Flags) error
CheckFlags checks the input flags that were given and sets up the application accordingly
type Flags ¶
type Flags struct { // The URL to scan for CORS misconfiguration URL string // The headers to include in the request Header string // Additional methods Method string // A text file with a list of domains to scan for CORS misconfiguration File string // Number of threads to use for the scan Threads int // Save the results to a JSON file. Always saves as gocors/results/domain_TIMESTAMP.json Output string // Set requests timeout Timeout string // Use a HTTP address as a proxy Proxy string // Enable the UI for realtime results and requests Verbose bool }
Flags holds our command line argument flag values for later parsing
Click to show internal directories.
Click to hide internal directories.