mirror of
https://github.com/openappsec/openappsec.git
synced 2025-06-28 16:41:02 +03:00
Add check if obfuscation is enabled
This commit is contained in:
parent
abe275c828
commit
42a31e37b1
@ -505,6 +505,8 @@ SignatureAndAction::isMatchedPrevent(const Buffer &context_buffer, const set<PMP
|
|||||||
void
|
void
|
||||||
IPSSignaturesResource::load(cereal::JSONInputArchive &ar)
|
IPSSignaturesResource::load(cereal::JSONInputArchive &ar)
|
||||||
{
|
{
|
||||||
|
if (!IPSHelper::hasDeobfuscation()) return;
|
||||||
|
|
||||||
vector<CompleteSignature> sigs;
|
vector<CompleteSignature> sigs;
|
||||||
cereal::load(ar, sigs);
|
cereal::load(ar, sigs);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user