Beispiel #1
0
 def testNbDomains(self):
     self.assertEqual(3, len(Torpig.domains()))
     self.assertEqual(1000, len(ZeusBot.domains()))
     self.assertEqual(1000, len(Cryptolocker.domains()))
     self.assertEqual(2048, len(Necurs.domains()))
     self.assertEqual(64, len(Symmi.domains()))
     self.assertEqual(40, len(Ranbyus.domains()))
Beispiel #2
0
 def testDomainLifetime(self):
     self.assertEqual(86400, Torpig.domainsLifetime())
     self.assertEqual(7 * 86400, ZeusBot.domainsLifetime())
     self.assertEqual(86400, Cryptolocker.domainsLifetime())
     self.assertEqual(4 * 86400, Necurs.domainsLifetime())
     self.assertEqual(16 * 86400, Symmi.domainsLifetime())
     self.assertEqual(86400, Ranbyus.domainsLifetime())
Beispiel #3
0
 def testCouldUseDomain(self):
     self.assertTrue(Torpig.couldUseDomain('dhidxguag.biz'))
     self.assertTrue(ZeusBot.couldUseDomain('zrtokdghbcdgkijfcxvbh.com'))
     self.assertTrue(Cryptolocker.couldUseDomain('gfrtgcfgvopvgg.co.uk'))
     self.assertTrue(Necurs.couldUseDomain('ultrttvbvjaanrj.jp'))
     self.assertTrue(Symmi.couldUseDomain('baugkoosdui.ddns.net'))
     self.assertTrue(Ranbyus.couldUseDomain('hcfoopojnuqxho.su'))
Beispiel #4
0
 def testNbDomains(self):
   self.assertEqual(3, len(Torpig.domains()))
   self.assertEqual(1000, len(ZeusBot.domains()))
   self.assertEqual(1000, len(Cryptolocker.domains()))
   self.assertEqual(2048, len(Necurs.domains()))
   self.assertEqual(64, len(Symmi.domains()))
   self.assertEqual(40, len(Ranbyus.domains()))
Beispiel #5
0
 def testDomainLifetime(self):
   self.assertEqual(86400, Torpig.domainsLifetime())
   self.assertEqual(7 * 86400, ZeusBot.domainsLifetime())
   self.assertEqual(86400, Cryptolocker.domainsLifetime())
   self.assertEqual(4 * 86400, Necurs.domainsLifetime())
   self.assertEqual(16 * 86400, Symmi.domainsLifetime())
   self.assertEqual(86400, Ranbyus.domainsLifetime())
Beispiel #6
0
 def testCouldUseDomain(self):
   self.assertTrue(Torpig.couldUseDomain('dhidxguag.biz'))
   self.assertTrue(ZeusBot.couldUseDomain('zrtokdghbcdgkijfcxvbh.com'))
   self.assertTrue(Cryptolocker.couldUseDomain('gfrtgcfgvopvgg.co.uk'))
   self.assertTrue(Necurs.couldUseDomain('ultrttvbvjaanrj.jp'))
   self.assertTrue(Symmi.couldUseDomain('baugkoosdui.ddns.net'))
   self.assertTrue(Ranbyus.couldUseDomain('hcfoopojnuqxho.su'))