free code | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

free code

import string paswd = input("Insert Password to Crack: \n") def Brute(paswd): print("[+][+] Starting BruteForce...") charset = list(string.ascii_letters + string.digits + string.punctuation) result = "" x = 0 while x <= len(paswd)-1: for char in charset: pchar = paswd[x] if char == pchar: print("[+] Trying...", char) print("[+][+]Matched (",char, ")") result += char print("[+][+]Current:",result) x += 1 break else: print("[+] Trying...",char) print("[+][+] Matching Done - Password Found:", result) Brute(paswd) #Password MaxLenght is : about 10 #This is an old version, BruteForce#2 is more efficent, but this still be a great work for me, about 15 lines of code to check if a string is equal to another string, char by char.

7th Feb 2018, 4:28 PM
dragon
dragon - avatar
2 Answers
+ 17
🤔🤔🤔Y don't u make a Code in code playground write that code in this 👇 rename it...& make it public https://code.sololearn.com/cxgBfvRR6kfZ/?ref=app
7th Feb 2018, 4:44 PM
🌛DT🌜
🌛DT🌜 - avatar
+ 1
I don’t know
7th Feb 2018, 7:58 PM
dragon
dragon - avatar