mirror of
https://github.com/openappsec/openappsec.git
synced 2025-09-29 19:24:26 +03:00
My 11th 2023 update
This commit is contained in:
24
components/security_apps/ips/helper_open_source.cc
Normal file
24
components/security_apps/ips/helper_open_source.cc
Normal file
@@ -0,0 +1,24 @@
|
||||
#include "helper.h"
|
||||
|
||||
#include "config.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
namespace IPSHelper
|
||||
{
|
||||
|
||||
string
|
||||
deobfuscateString(const string &str)
|
||||
{
|
||||
if (str.substr(0, 7) == "M^AGI$C") reportConfigurationError("Deobfuscation isn't available in open-source mode");
|
||||
return str;
|
||||
}
|
||||
|
||||
string
|
||||
deobfuscateKeyword(const string &str)
|
||||
{
|
||||
if (str.substr(0, 7) == "M^AGI$C") reportConfigurationError("Deobfuscation isn't available in open-source mode");
|
||||
return str;
|
||||
}
|
||||
|
||||
} // IPSHelper
|
Reference in New Issue
Block a user