Adds operator @pmFromFile and @pmF

This commit is contained in:
Felipe Zimmerle
2015-08-04 13:55:07 -03:00
parent 57ceef1fe6
commit 0720fd4790
4 changed files with 43 additions and 34 deletions

View File

@@ -17,25 +17,11 @@
#include <string>
#include "operators/operator.h"
#include "operators/pm_from_file.h"
namespace ModSecurity {
namespace operators {
bool PmF::evaluate(Assay *assay) {
/**
* @todo Implement the operator PmF.
* Reference: https://github.com/SpiderLabs/ModSecurity/wiki/Reference-Manual#pmf
*/
return true;
}
PmF::PmF(std::string op, std::string param, bool negation)
: Operator() {
this->op = op;
this->param = param;
}
} // namespace operators
} // namespace ModSecurity