Documentation ¶
Index ¶
- Variables
- func AddRessourceIfDoNotExists(ressources *[]*Ressource, ressource *Ressource) bool
- func InitCrawler() *colly.Collector
- func NewOptions(url *string, logFileOption *os.File, report *bool, recursive *bool, ...)
- func PrintBanner()
- func PrintNewRessourceFound(isInternal, ressourceType, link string)
- func PrintOptions(options *Options)
- func PrintRessourceList(ressources_string []*Ressource)
- func PrintRessourcesResume(ressourceType string, url string, ressources []*Ressource)
- func PrintStatistics(duration time.Duration, internal_ressources []*Ressource, ...)
- func RunCrawlerCmd()
- func TreatLinkHref(e *colly.HTMLElement)
- func TreatScriptSrc(e *colly.HTMLElement)
- func VisiteURL(visited *[]string, c *colly.Collector, Url string)
- func WriteRessourceListReport(ressources_string []*Ressource)
- type Options
- type Ressource
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Red = color.FgRed.Render Green = color.FgGreen.Render Yellow = color.FgYellow.Render Blue = color.FgBlue.Render Cyan = color.FgCyan.Render Magenta = color.FgMagenta.Render )
View Source
var ( Internal_ressources []*Ressource External_ressources []*Ressource URLVisited []string ScreenshotList []gopchromedp.Item ConcurrencyChan chan struct{} )
Functions ¶
func InitCrawler ¶
func NewOptions ¶
func PrintBanner ¶
func PrintBanner()
func PrintNewRessourceFound ¶
func PrintNewRessourceFound(isInternal, ressourceType, link string)
func PrintOptions ¶
func PrintOptions(options *Options)
func PrintRessourceList ¶
func PrintRessourceList(ressources_string []*Ressource)
func PrintRessourcesResume ¶
func PrintStatistics ¶
func RunCrawlerCmd ¶
func RunCrawlerCmd()
func TreatLinkHref ¶
func TreatLinkHref(e *colly.HTMLElement)
func TreatScriptSrc ¶
func TreatScriptSrc(e *colly.HTMLElement)
func WriteRessourceListReport ¶
func WriteRessourceListReport(ressources_string []*Ressource)
Types ¶
Click to show internal directories.
Click to hide internal directories.