3
0

test_MemcrashedSpooferAttack.py 658 B

123456789101112131415
  1. import Test.ID2TAttackTest as Test
  2. sha_default = "88c62360baee6067a8f0e9c002c329bf800b59aab2c7f97ccad5e76cfd00a5b2"
  3. sha_ips_not_in_pcap = "83d47486673a87fda0bed8842e406738053cdff519746165565d71cda6d968cc"
  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']])