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
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()
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()
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)
def __init__(self): self.target = "" self.zone = "" self.avaliable_opt = ["target", "zone"] logger.init()