def main():
print Fore.GREEN + " #### ## ########## "
print " ## ## ## ##### ####### ## ## ##### ##### ##### ##### "
print " ## ## ## # # ## # # # # # # # # # "
print " ## ## ## #### # ## ## ###### ##### ##### ### ##### "
print " ## ## ## # # ## # # # # # # # "
print " ## #### ##### # ######### # # # # ##### # ## " + Fore.RESET
while(True):
try:
print Fore.CYAN + "\n1.Hosts Discovery" +Fore.RESET
print Fore.CYAN + "2.Ports Scanning" +Fore.RESET
print Fore.CYAN+"3.OS Detection" + Fore.RESET
print Fore.CYAN+"4.Brute Force SSH" +Fore.RESET
print Fore.YELLOW+"Press ctrl+c to exit..." +Fore.RESET
opt=int(input(Fore.CYAN+"\nEnter choice: "+Fore.RESET))
if opt==1:
Host_Discovery()
elif opt==2:
tcp_scan()
elif opt==3:
OS_Detection()
elif opt==4:
Brute_Force()
else:
print Fore.RED+"\nEnter correct choice...!!" +Fore.RESET
except KeyboardInterrupt:
print Fore.RED+"\nABORTED PROGRAM....!!" +Fore.RESET
sys.exit(0)
except:
print Fore.RED+"\nEnter correct choice...!!" +Fore.RESET
评论列表
文章目录