rverton / webanalyze

Port of Wappalyzer (uncovers technologies used on websites) to automate mass scanning.
MIT License
908 stars 134 forks source link

Support PCRE #29

Closed lochv closed 4 years ago

lochv commented 4 years ago

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)
        }
rverton commented 4 years ago

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