Browse Source

fix attacker count SMBLoris 16

Jens Keim 6 years ago
parent
commit
b0dfe8303d
1 changed files with 3 additions and 3 deletions
  1. 3 3
      code/Test/test_SMBLoris.py

+ 3 - 3
code/Test/test_SMBLoris.py

@@ -7,7 +7,7 @@ from Test.Lib import test_pcap_ips
 # FIXME: create new hashes if new test.pcap is used
 sha_default = 'e6201c4a6b42fb86304b935ee522d4c1f655bc19a4646c4df45a64bb504a0b5c'
 sha_one_attacker = '538f584a7a12488269cb22a2986cd0e6f32f0c243c7cce72c5deb5230167897c'
-sha_one_hundred_attackers = '57109467aa427f9d385e54b8faab332859a1d86f00eb762b27adc0b167d201ff'
+sha_sixteen_attackers = 'ca3cb549a213832e238a25eaadfc8e6c55c0b37b595ca1fc16cfca7c0990d675'
 sha_ips_in_pcap = 'bb54c042f870467021958d5f6947d21876b1fa5cda5f27da41adebac8cd44b74'
 
 """
@@ -33,8 +33,8 @@ class UnitTestSMBLoris(GenericTest):
         ip_dst = 'ip.dst='+test_pcap_ips[1]
         self.generic_test([['SMBLorisAttack', ip_src, ip_dst]], sha_ips_in_pcap)
 
-    def test_one_hundred_attackers(self):
-        self.generic_test([['SMBLorisAttack', 'ip.dst=192.168.1.210', 'attackers.count=100']], sha_one_hundred_attackers)
+    def test_sixteen_attackers(self):
+        self.generic_test([['SMBLorisAttack', 'ip.dst=192.168.1.210', 'attackers.count=16']], sha_sixteen_attackers)
 
 
 if __name__ == '__main__':