Net_Zapper_1.py 文件源码

python
阅读 30 收藏 0 点赞 0 评论 0

项目:NetZapper 作者: NetZapper 项目源码 文件源码
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
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号