rverton / webanalyze

Port of Wappalyzer (uncovers technologies used on websites) to automate mass scanning.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support PCRE

lochv opened this issue · comments

commented

Hi,

Some rule canot compile with regexp.Compile() (PCRE error)

	var list []AppRegexp

	for _, regexString := range s {

		// Split version detection
		splitted := strings.Split(regexString, "\\;")

		regex, err := regexp.Compile(splitted[0]) //here
		if err != nil {
			// ignore failed compiling for now
			// log.Printf("warning: compiling regexp for failed: %v", regexString, err)
		}

Hi,
there standard lib does not support it, so I cant offer a simple solution here.

If you have any suggestions, feel free to reopen this issue.

Greetings,
Robin