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