test_EternalBlue.py 688 B

12345678910111213141516171819202122232425
  1. import unittest
  2. import unittest.mock as mock
  3. from Test.GenericTest import GenericTest
  4. from Test.Lib import test_pcap_ips
  5. sha_default = 'c707492a0493efcf46a569c91fe77685286402ddfdff3c79e64157b3324dc9f6'
  6. """
  7. CURRENT COVERAGE
  8. Name Stmts Miss Cover Missing (lines)
  9. ---------------------------------------------------------------------------
  10. Attack/EternalBlueExploit.py 246 10 96% 62, 72, 112, 119, 126-127, 133-134, 139, 266
  11. """
  12. # TODO: get 100% coverage
  13. class UnitTestEternalBlue(GenericTest):
  14. def test_default(self):
  15. self.generic_test([['EternalBlueExploit']], sha_default)
  16. if __name__ == '__main__':
  17. unittest.main()