一.编写密码测试函数 在用python连接mssql数据库的时候,通常会使用pymssql模板中的connect函数,格式如下: connect(server,user,password,database) help文档的函数介绍: connect(...) Constructor for creating a connection to the database. Returns a Connection object. 正常情况下,如果输入正确的server,user,password和da…
Keywords: python captcha Most people don’t know this but my honours thesis was about using a computer program to read text out of web images. My theory was that if you could get a high level of successful extraction you could use it as another source…
工具破解 前两天在网上下来了一波项目案例,结果全是加密的压缩包,于是去网上找了一个压缩包破解的工具 苦于工具破解太慢,一个压缩包要好久,解压了三个之后就放弃了,准备另寻他法 密码字典 巧的是破解的三个都是4位数字密码,这让我想到了依靠字典破解 说干就干,伸手就来 #生成从0000到9999的密码表 f = open('passdict4.txt','w') for id in range(10000): password = str(id).zfill(4)+'\n' f.write(passw…
0.目录 1.参考2.没事画个流程图3.完整代码4.改进方向 1.参考 https://en.wikipedia.org/wiki/Cosine_similarity https://zh.wikipedia.org/wiki/%E4%BD%99%E5%BC%A6%E7%9B%B8%E4%BC%BC%E6%80%A7 Cosine similarityGiven two vectors of attributes, A and B, the cosine similarity, cos(θ),…