print( "\033[31m[ ! ] Incorrect input, please enter -h to view help\033[0m" ) os._exit(0) #直接退出整个函数 #暂时关闭NMAPScan和数据库爆破功能 #Token=str(int(time.time()))+"medusa"#获取赋予的token Sid = "Soryu Asuka Langley" Uid = "Ayanami Rei" if ExploitList == True: pass #调用列表函数,暂定未写 os._exit(0) # 直接退出整个函数 if Exploit != None: main(Exploit=Exploit, Url=Url, AgentHeader=AgentHeader, Proxies=Proxies, Sid=Sid, Uid=Uid) #启动子进程永真方式调用exp os._exit(0) # 直接退出整个函数 ThreadPool = ClassCongregation.ThreadPool() #定义一个线程池 if Subdomain: #如果传入-s启动子域名探测 ThreadPool.Append(SubdomainSearch, Url, AgentHeader, proxies=Proxies, Sid=Sid, Uid=Uid) InitialScan(ThreadPool,
elif Url != None and InputFileName != None: #如果既输入URL又输入URL文件夹一样退出 print( "\033[31m[ ! ] Incorrect input, please enter -h to view help\033[0m" ) os._exit(0) #直接退出整个函数 #暂时关闭NMAPScan和数据库爆破功能 #Token=str(int(time.time()))+"medusa"#获取赋予的token if ExploitList == True: pass #调用列表函数,暂定未写 os._exit(0) # 直接退出整个函数 if Exploit != None and Command != None: main(Exploit=Exploit, Url=Url, AgentHeader=AgentHeader, Command=Command, Proxies=Proxies, OperatingSystem=OperatingSystem, Sid="Soryu Asuka Langley", Uid="Ayanami Rei") #启动子进程永真方式调用exp os._exit(0) # 直接退出整个函数 ThreadPool = ClassCongregation.ThreadPool() #定义一个线程池 if Subdomain: #如果传入-s启动子域名探测 ThreadPool.Append(SubdomainSearch, Url, AgentHeader, proxies=Proxies, Sid="Soryu Asuka Langley", Uid="Ayanami Rei")
#Token=str(int(time.time()))+"medusa"#获取赋予的token Sid = "Soryu Asuka Langley" Uid = "Ayanami Rei" if ExploitList == True: pass #调用列表函数,暂定未写 os._exit(0) # 直接退出整个函数 if Exploit != None and Deserialization != None: print( "\033[31m[ ! ] Please do not use -e and -d parameters at the same time\033[0m" ) os._exit(0) # 直接退出整个函数 elif Exploit != None or Deserialization != None: main(Exploit=Exploit, Deserialization=Deserialization, Url=Url, AgentHeader=AgentHeader, Proxies=Proxies, Sid=Sid, Uid=Uid) #启动子进程永真方式调用exp Pool = ClassCongregation.ProcessPool() #定义一个进程池 #ThreadPool = ClassCongregation.ThreadPool()#定义一个线程池 if Subdomain: #如果传入-s启动子域名探测 Pool.Append(SubdomainSearch, Url, AgentHeader, proxies=Proxies, Sid=Sid, Uid=Uid)