当前位置:网站首页>Each account corresponds to all passwords, and then each password corresponds to all accounts. How to write the brute force cracking code
Each account corresponds to all passwords, and then each password corresponds to all accounts. How to write the brute force cracking code
2022-07-28 16:38:00 【Python advanced】
Click on the above “Python Home of sharing ”, Focus on
reply “ resources ” You can get a gift Python Learning materials
today
Japan
chicken
soup
To return to service in another country , Stay at the lonely grave in Mabei .
Hello everyone , I'm Pippi .
One 、 Preface
A few days ago Python The strongest King exchange group 【 lonely 】 Asked a question Python Issues dealt with , As shown in the figure below .

Now there are two account and password explosion files , Want to try every account number corresponding to all passwords first, and then try every password corresponding to all accounts .
In fact, each account corresponds to the password once , There is no need for each password to correspond to the account number again .
Two 、 Implementation process
In fact, I was cracking this problem before my neighbor's little sister wifi When it comes to passwords , I've thought about it , But there was no action , Just think about it, and then there's no .
here 【D I Y】 Gave an answer , Regardless of efficiency , Use double loop to force write .

later 【 Mr. Yu Liang 】 A sample code is given , As shown below :
pw = [1,2,3,4,5]
user = ['a','b','c']
for i in user:
for j in pw:
print(i, j)After running , The result is as follows :
Even if the number of lines in the password file of two accounts ( password 7 Thousands of lines , account number 8 Thousands of lines ) It doesn't matter if it doesn't . Because of all the circumstances , Can be traversed .l

If there is a problem , Feel free to contact me to solve , Welcome to my Python Learning exchange group .
3、 ... and 、 summary
Hello everyone , I'm Pippi . This article mainly makes an inventory of Python The problem of data processing , In this paper, the specific analysis and code implementation are given , Help the fans solve the problem smoothly .
Finally, thank the fans 【 lonely 】 put questions to , thank 【 Mr. Yu Liang 】、【DIY】 Given the idea and code analysis , thank 【dcpeng】 And others participate in learning and communication .
friends , Practice it quickly ! If in the process of learning , Any problems encountered , Welcome to add my friend , I'll pull you in Python The learning exchange group discusses learning together .

------------------- End -------------------
Excellent articles in the past are recommended :

Welcome to give the thumbs-up , Leaving a message. , forward , Reprint , Thank you for your company and support
Want to join Python Learning group, please reply in the background 【 Enter into Group 】
All rivers and mountains are always in love , Order one 【 Looking at 】 OK?
边栏推荐
- FX3开发板 及 原理图
- Qt学习第一天
- c语言编程当中两个!!的作用
- Wake up after being repeatedly upset by MQ! Hate code out this MQ manual to help the journey of autumn recruitment
- The little red book of accelerating investment, "rush to medical treatment"?
- Some suggestions on optimizing HyperMesh script performance
- Rosen's QT journey 102 listmodel
- Solve the width overflow of rich text pictures such as uniapp
- Ansa secondary development - build ansa/meta secondary development environment on pycharm
- Li Hongyi, machine learning 4. Deep learning
猜你喜欢

Using pyqt to design gui in ABAQUS

HM二次开发 - Data Names及其使用

SCI scientific paper writing Growth Camp (full version)

ABAQUS GUI interface solves the problem of Chinese garbled code (plug-in Chinese garbled code is also applicable)

ANSA二次开发 - Visual Studio Code上搭建ANSA二次开发环境

FX3开发板 及 原理图

Kubeedge releases white paper on cloud native edge computing threat model and security protection technology

5 亿用户,比微信还早四年……这个运营了 15 年的 APP 即将永久停服

Some suggestions on optimizing HyperMesh script performance

Deeply understand the fusing configuration of istio traffic management
随机推荐
魏建军骑宝马也追不上李书福
Ansa secondary development - Introduction to interface development tools
Some suggestions on optimizing HyperMesh script performance
What does it remote operation and maintenance mean? Which is the best remote operation and maintenance software?
Numpy ndarray learning < II > miscellaneous records
A program for judging the result of cyclic input
LeetCode每日一练 —— 剑指Offer 56 数组中数字出现的次数
Pop up layer prompt in the background
PHP about problems such as memory overflow timeout caused by large amount of data exporting or traversing data
CRC16数据校验支持ModelBus和XMODEM校验模式(C语言)
微信公众号获取素材列表
后台弹出layer提示
百度编辑器ueditor,编辑内容过多时,工具栏不可见,不方便编辑或上传问题
Wei Jianjun couldn't catch up with Li Shufu by riding a BMW
加速投资的小红书,“病急乱投医”?
mysql 查看事件状态语句和修改办法
“蔚来杯“2022牛客暑期多校训练营3 ACFHJ
5 亿用户,比微信还早四年……这个运营了 15 年的 APP 即将永久停服
"Wei Lai Cup" 2022 Niuke summer multi school training camp 3 j.journey 0-1 shortest path
Reentrant and non reentrant