예제 #1
0
 def dnsenum(self):
     for i in range(2, len(self.content)):
         if (validators.domain(self.content[i].lower()) != True
                 and self.content[i].lower() != "monitor"):
             self.sendMessage("[invalid] {0}".format(
                 self.content[i].lower()))
             continue
         self.sendMessage("[dnsenum - #({0}/{1})] {2}".format(
             i - 1,
             len(self.content) - 2, self.content[i].lower()))
         self.enum = enumerator.Enumerator(self.content[i].lower(),
                                           _kenzerdb, _kenzer)
         message = self.enum.dnsenum()
         self.sendMessage("[dnsenum - #({0}/{1}) - {2}] {3}".format(
             i - 1,
             len(self.content) - 2, message, self.content[i].lower()))
         if self.upload:
             file = "dnsenum.kenz"
             self.uploader(self.content[i], file)
     return
예제 #2
0
 def remlog(self):
     for i in range(2,len(self.content)):
         self.enum = enumerator.Enumerator(self.content[i].lower(), _kenzerdb)
         message = self.enum.remlog()
         self.sendMessage(message)
     return