test_MemcrashedSpooferAttack.py 658 B

123456789101112131415
  1. import Test.ID2TAttackTest as Test
  2. sha_default = "065e7de040fb41bcaad81b705fb70f3e07807f0d3dc1efe0f437929ff33b49f8"
  3. sha_ips_not_in_pcap = "46c015fde4509227ee70fbe1557fe0efd3ac76abf58e00dcbbcf09d0b950fb5f"
  4. class UnitTestMemcrashedSpooferAttack(Test.ID2TAttackTest):
  5. def test_memcrashed_spoofer_default(self):
  6. self.checksum_test([['MemcrashedSpooferAttack']], sha_default)
  7. def test_memcrashed_spoofer_ips_not_in_pcap(self):
  8. self.checksum_test([['MemcrashedSpooferAttack', 'ip.src=1.1.1.1', 'ip.dst=2.2.2.2']], sha_ips_not_in_pcap)
  9. def test_memcrashed_spoofer_order(self):
  10. self.order_test([['MemcrashedSpooferAttack']])