Ejemplo n.º 1
0
 def __init__(self,port=21,user="******",passowrd="anonymous@"):
     self.target = ""
     self.port = port
     self.user = user
     self.password = passowrd
     self.avaliable_opt = ["target","port" ,"user" ,"password" ]
     logger.init()
     self.ftp = None
Ejemplo n.º 2
0
 def __init__(self, ip="", user="******", password=""):
     self.target = ip
     self.port = 445
     self.user = user
     self.password = password
     self.ignore_share = ["IPC$"]
     self.avaliable_opt = ["target", "user", "password"]
     logger.init()
Ejemplo n.º 3
0
 def __init__(self,
              port=80,
              wordlist="wordlist/directory-list-2.3-medium.txt",
              thread=50):
     self.target = ""
     self.port = port
     self.wordlist = wordlist
     self.thread = thread
     self.avaliable_opt = ["target", "port", "thread", "wordlist"]
     logger.init()
Ejemplo n.º 4
0
 def __init__(self, password=""):
     logger.init()
     self.password = password
     try:
         self.client = MsfRpcClient(self.password, port=55553)
         self.cid = self.client.consoles.console().cid
         self.console = self.client.consoles.console(self.cid)
     except Exception as e:
         LOG.level = logging.CRITICAL
         logging.critical(C.FAIL + str(e) + C.ENDC)
Ejemplo n.º 5
0
 def __init__(self):
     self.target = ""
     self.zone = ""
     self.avaliable_opt = ["target", "zone"]
     logger.init()