mirror of
https://github.com/openappsec/openappsec.git
synced 2025-06-28 16:41:02 +03:00
25 lines
470 B
C++
25 lines
470 B
C++
#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
|