mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2026-01-01 22:25:45 +03:00
Adds support to the transformations parity[even|odd|zero]7bit
Issues: #968, #969, #967
This commit is contained in:
@@ -30,9 +30,10 @@ namespace transformations {
|
||||
|
||||
class ParityZero7bit : public Transformation {
|
||||
public:
|
||||
explicit ParityZero7bit(std::string action);
|
||||
std::string evaluate(std::string exp,
|
||||
Transaction *transaction) override;
|
||||
explicit ParityZero7bit(std::string action) : Transformation(action) { }
|
||||
|
||||
std::string evaluate(std::string exp, Transaction *transaction) override;
|
||||
static bool inplace(unsigned char *input, u_int64_t input_len);
|
||||
};
|
||||
|
||||
} // namespace transformations
|
||||
|
||||
Reference in New Issue
Block a user