Adds capture action to detectXSS

This commit is contained in:
Victor Hora
2018-03-09 16:57:56 -05:00
committed by Felipe Zimmerle
parent b59d19e95a
commit 22334c9bb6
4 changed files with 71 additions and 10 deletions

View File

@@ -31,7 +31,9 @@ class DetectXSS : public Operator {
m_match_message.assign("detected XSS using libinjection.");
}
bool evaluate(Transaction *transaction, const std::string &input);
bool evaluate(Transaction *t, Rule *rule,
const std::string& input,
std::shared_ptr<RuleMessage> ruleMessage) override;
};
} // namespace operators