summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/nepenthes/files/nepenthes-0.2.2-cachedir.patch')
-rw-r--r--net-analyzer/nepenthes/files/nepenthes-0.2.2-cachedir.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-analyzer/nepenthes/files/nepenthes-0.2.2-cachedir.patch b/net-analyzer/nepenthes/files/nepenthes-0.2.2-cachedir.patch
new file mode 100644
index 000000000000..dfebe3b33f65
--- /dev/null
+++ b/net-analyzer/nepenthes/files/nepenthes-0.2.2-cachedir.patch
@@ -0,0 +1,11 @@
+--- a/modules/shellcode-signatures/shellcode-signatures.cpp
++++ b/modules/shellcode-signatures/shellcode-signatures.cpp
+@@ -80,7 +80,7 @@
+ m_ModuleManager = m_Nepenthes->getModuleMgr();
+
+ g_Nepenthes->getShellcodeMgr()->registerShellcodeHandler(new EngineUnicode());
+- return loadSignaturesFromFile(string("var/cache/nepenthes/signatures/shellcode-signatures.sc"));
++ return loadSignaturesFromFile(string("/var/lib/nepenthes/cache/signatures/shellcode-signatures.sc"));
+ }
+
+ bool SignatureShellcodeHandler::Exit()