Versions in this module Expand all Collapse all v0 v0.3.1 Mar 3, 2020 Changes in this version + const VERSION + const WappalyzerURL + func DownloadFile(from, to string) error + type App struct + CatNames []string + Cats StringArray + CookieRegex []AppRegexp + Cookies map[string]string + HTML StringArray + HTMLRegex []AppRegexp + HeaderRegex []AppRegexp + Headers map[string]string + Implies StringArray + Meta map[string]string + MetaRegex []AppRegexp + Script StringArray + ScriptRegex []AppRegexp + URL StringArray + URLRegex []AppRegexp + Website string + func (app *App) FindInHeaders(headers http.Header) (matches [][]string, version string) + type AppRegexp struct + Name string + Regexp *regexp.Regexp + Version string + type AppsDefinition struct + Apps map[string]App + Cats map[string]Category + type Category struct + Name string + type Job struct + Body []byte + Cookies []*http.Cookie + Crawl int + Headers http.Header + SearchSubdomain bool + URL string + func NewOfflineJob(url, body string, headers map[string][]string) *Job + func NewOnlineJob(url, body string, headers map[string][]string, crawlCount int, ...) *Job + type Match struct + AppName string + Matches [][]string + Version string + type Result struct + Duration time.Duration + Error error + Host string + Matches []Match + type StringArray []string + func (t *StringArray) UnmarshalJSON(data []byte) error + type WebAnalyzer struct + func NewWebAnalyzer(appsFile string) (*WebAnalyzer, error) + func (wa *WebAnalyzer) CategoryById(cid string) string + func (wa *WebAnalyzer) Process(job *Job) (Result, []string)