当前位置:网站首页>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?
边栏推荐
- Numpy ndarray learning < II > miscellaneous records
- Headline article_ signature
- Two of C language programming!! Role of
- Leetcode topic
- KubeEdge发布云原生边缘计算威胁模型及安全防护技术白皮书
- IT远程运维是什么意思?远程运维软件哪个好?
- Geodetic coordinate system to Martian coordinate system
- PHP mb_substr 中文乱码
- Ansa secondary development - two methods of drawing the middle surface
- leetcode 题目
猜你喜欢

500million users, four years earlier than wechat... This app, which has been in operation for 15 years, will be permanently discontinued

Sort 4-heap sort and massive TOPK problem

FX3开发板 及 原理图

魏建军骑宝马也追不上李书福

使用js直传oss阿里云存储文件,解决大文件上传服务器限制

Introduction and implementation of queue (detailed explanation)

LwIP development | realize TCP server through socket

Learn ABAQUS script programming script in an hour

遭MQ连连干翻后的醒悟!含恨码出这份MQ手册助力秋招之旅

Practical development tutorial of software problem repair tracking system (Part 1)
随机推荐
UNP前六章 回射服务模型 解析
IT远程运维是什么意思?远程运维软件哪个好?
遭MQ连连干翻后的醒悟!含恨码出这份MQ手册助力秋招之旅
CRC16数据校验支持ModelBus和XMODEM校验模式(C语言)
LwIP develops | socket | TCP | keepalive heartbeat mechanism
What does it remote operation and maintenance mean? Which is the best remote operation and maintenance software?
Ansa secondary development - two methods of drawing the middle surface
2021-04-02
大地坐标系转换火星坐标系
视频号找到金钥匙,抖音模仿后来人
微软100题-天天做-第16题
flashfxp 530 User cannot log in. ftp
HyperMesh运行脚本文件的几种方法
自动打包压缩备份下载及删除 bat脚本命令
学会使用MySQL的Explain执行计划,SQL性能调优从此不再困难
排序1-插入排序与希尔排序
Ansa secondary development - build ansa secondary development environment on Visual Studio code
Using pyqt to design gui in ABAQUS
Baidu editor ueeditor, when editing too much content, the toolbar is not visible, which is not convenient for editing or uploading problems
C language exception handling mechanism: jump function jump function setjmp/sigsetjmp and longjmp/siglongjmp