Can someone help me understand this code? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
- 1

Can someone help me understand this code?

I got a code here to bruteforce a password (input() for that) and would like to understand it more. 1. How exactly works the x var here? 2. Can someone explain pwchar = pw[x] ? (especially the [] around the x) 3. Some other comments on this code? 4. How could one change this code into cracking wpa-handshakes? Is there a code for that? 5. And so im asking questions here anyway: How to open folders or files on the computer with python? (i know, open() with "w,r" and shit but how exactly? Got damn confused with my own research of this question...) Thanks so far, i hope you can help professionally!

4th Sep 2017, 8:56 PM
Markus Beyer
Markus Beyer - avatar
4 Antworten
+ 2
What code are you talking about? @@
4th Sep 2017, 9:00 PM
visph
visph - avatar
0
By the looks of it, you have miles to go to reach your final destination. I recommend completing the Python course here, earn points through challenges, at least 5000. Then go on to solve more exercises at exercism.io and other similar places. Build a few web apps using flask or django. Then post the code that is bugging you and then ask these questions. Because an honest answer to your questions cannot possibly fit here. Best wishes
4th Sep 2017, 9:06 PM
Venkatesh Pitta
Venkatesh Pitta - avatar
11th Sep 2017, 11:01 AM
Markus Beyer
Markus Beyer - avatar
0
Can anybody help me now?
11th Sep 2017, 11:01 AM
Markus Beyer
Markus Beyer - avatar