summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/nepenthes/files')
-rw-r--r--net-analyzer/nepenthes/files/digest-nepenthes-0.1.52
-rw-r--r--net-analyzer/nepenthes/files/digest-nepenthes-0.1.62
-rw-r--r--net-analyzer/nepenthes/files/digest-nepenthes-0.1.7-r13
-rw-r--r--net-analyzer/nepenthes/files/mydoom_bagle_endless_loop.patch58
4 files changed, 65 insertions, 0 deletions
diff --git a/net-analyzer/nepenthes/files/digest-nepenthes-0.1.5 b/net-analyzer/nepenthes/files/digest-nepenthes-0.1.5
index 40b83b3c0668..8a8581e0ddae 100644
--- a/net-analyzer/nepenthes/files/digest-nepenthes-0.1.5
+++ b/net-analyzer/nepenthes/files/digest-nepenthes-0.1.5
@@ -1 +1,3 @@
MD5 3279378a2f3f5a2eace79bf2774aab85 nepenthes-0.1.5.tar.bz2 468625
+RMD160 83fa6be373f4b8b0cfd0b540934ca02ed857e83c nepenthes-0.1.5.tar.bz2 468625
+SHA256 f9ed63460a2f24cebde56ff3788c76e5f1449abcc5ef2073aed412b0ec81d085 nepenthes-0.1.5.tar.bz2 468625
diff --git a/net-analyzer/nepenthes/files/digest-nepenthes-0.1.6 b/net-analyzer/nepenthes/files/digest-nepenthes-0.1.6
index fac31a288ecb..6363ab5cfa3e 100644
--- a/net-analyzer/nepenthes/files/digest-nepenthes-0.1.6
+++ b/net-analyzer/nepenthes/files/digest-nepenthes-0.1.6
@@ -1 +1,3 @@
MD5 053b5dd99f027d16aa1c5fd9ad0b4319 nepenthes-0.1.6.tar.bz2 479685
+RMD160 603a531672c457ec7c6b605dad54bad81ef32384 nepenthes-0.1.6.tar.bz2 479685
+SHA256 da0f5f6c6d6e0059ab75222cfee7077b22d4638a59731329b7ee3b035dfa82b8 nepenthes-0.1.6.tar.bz2 479685
diff --git a/net-analyzer/nepenthes/files/digest-nepenthes-0.1.7-r1 b/net-analyzer/nepenthes/files/digest-nepenthes-0.1.7-r1
new file mode 100644
index 000000000000..c0d1bc1c8dd2
--- /dev/null
+++ b/net-analyzer/nepenthes/files/digest-nepenthes-0.1.7-r1
@@ -0,0 +1,3 @@
+MD5 7eb9fa1e3f819d5aa3c9ac81a572a724 nepenthes-0.1.7.tar.bz2 514301
+RMD160 1a93ad75940990f1b38bba8326dce341441acec5 nepenthes-0.1.7.tar.bz2 514301
+SHA256 62f683616636ec09e170d81d15203e1d17c3fba5ba313e76d4c5251116f76168 nepenthes-0.1.7.tar.bz2 514301
diff --git a/net-analyzer/nepenthes/files/mydoom_bagle_endless_loop.patch b/net-analyzer/nepenthes/files/mydoom_bagle_endless_loop.patch
new file mode 100644
index 000000000000..7659615afa27
--- /dev/null
+++ b/net-analyzer/nepenthes/files/mydoom_bagle_endless_loop.patch
@@ -0,0 +1,58 @@
+Index: modules/vuln-mydoom/MydoomDialogue.cpp
+===================================================================
+--- modules/vuln-mydoom/MydoomDialogue.cpp (Revision 515)
++++ modules/vuln-mydoom/MydoomDialogue.cpp (Arbeitskopie)
+@@ -120,7 +120,7 @@
+ m_Download = new Download(msg->getRemoteHost(),"mydoom://foo/bar",msg->getRemoteHost(),"some triggerline");
+ m_Download->getDownloadBuffer()->addData((char *)m_Buffer->getData(),m_Buffer->getSize());
+ m_Buffer->clear();
+- return CL_ASSIGN;
++ return CL_ASSIGN_AND_DONE;
+ }
+ }
+ if (m_Buffer->getSize() > 128 )
+@@ -130,6 +130,7 @@
+ case MYDOOM_FILETRANSFERR:
+ {
+ m_Download->getDownloadBuffer()->addData((char *)msg->getMsg(),msg->getSize());
++ return CL_ASSIGN_AND_DONE;
+ }
+ break;
+
+@@ -196,7 +197,6 @@
+ if (m_Download != NULL)
+ {
+ g_Nepenthes->getSubmitMgr()->addSubmission(m_Download);
+- return CL_ASSIGN_AND_DONE;
+ }
+ return CL_DROP;
+ }
+Index: modules/vuln-bagle/BagleDialogue.cpp
+===================================================================
+--- modules/vuln-bagle/BagleDialogue.cpp (Revision 515)
++++ modules/vuln-bagle/BagleDialogue.cpp (Arbeitskopie)
+@@ -158,6 +158,7 @@
+ m_State = BAGLE_BINARY;
+ m_Download = new Download(m_Socket->getRemoteHost(),"bagle://",m_Socket->getRemoteHost(),"bagle://foo/bar");
+ m_Download->getDownloadBuffer()->addData(msg->getMsg()+4,msg->getSize()-4);
++ return CL_ASSIGN_AND_DONE;
+ }
+ }
+ break;
+@@ -165,6 +166,7 @@
+ case BAGLE_BINARY:
+ // FIXME m_MaxFileSize
+ m_Download->getDownloadBuffer()->addData(msg->getMsg(),msg->getSize());
++ return CL_ASSIGN_AND_DONE;
+ break;
+
+ }
+@@ -232,8 +234,6 @@
+ if ( m_Download->getDownloadBuffer()->getSize() == m_FileSize )
+ {
+ g_Nepenthes->getSubmitMgr()->addSubmission(m_Download);
+- // destructor will delete it
+- return CL_ASSIGN_AND_DONE;
+ }
+ }
+ return CL_DROP;