repl.it
@druceb/

Brute 3

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
def combinations():
  chars = ["q","w","e","r","t","y","u","i","o","p","a","s","d","f","g","h","j","k","l","z","x","c","v","b","n","m","Q","W","E","R","T","Y","U","I","O","P","A","S","D","F","G","H","J","K","L","Z","X","C","V","B","N","M","1","2","3","4","5","6","7","8","9","0","`","¬","!",'"',"£","$","%","^","&","*","(",")","-","_","=","+","[","{","]","}",";",":","'","@","#","~",",","<",".",">","/","?","|",""]
  brute = []
  count = 0 
  password = str(input("Password: "))
  pass__ = list(password)
  skip = True
  lenPass = len(pass__)
  hack(chars,brute,count,pass__,skip,lenPass)



def hack(chrs,brt,cnt,pas,skp,length):
  for a in range(0,96):
    brt.append(chrs[a])
    
    for b in range(0,96):
      brt.append(chrs[b])
      
      for c in range(0,96):
        brt.append(chrs[c])
        
        for d in range(0,96):
          brt.append(chrs[d])

          for e in range(0,96):
            brt.append(chrs[e])

            for f in range(0,96):
              brt.append(chrs[f])

              for g in range(0,96):
                brt.append(chrs[g])

                for h in range(0,96):
                  brt.append(chrs[h])

                  for i in range(0,96):
                    brt.append(chrs[i])

                    for j in range(0,96):
                      brt.append(chrs[j])

                      for k in range(0,96):
                        brt.append(chrs[k])

                        for l in range(0,96):
                          brt.append(chrs[l])

                          for m in range(0,96):
                            brt.append(chrs[m])

                            for n in range(0,96):
                              brt.append(chrs[n])

                              for o in range(0,96):
                                brt.append(chrs[o])

                                for p in range(0,96):
                                  brt.append(chrs[p])

                                  for q in range(0,96):
                                    brt.append(chrs[q])
                                    if brt[(16-length):16] != pas:
                                      brt.pop()
                                      cnt += 1
                                      #print(brt)
                                    else:
                                      complete(brt,length)


                                  brt.pop()       
                                brt.pop()
                              brt.pop()
                            brt.pop()
                          brt.pop()
                        brt.pop()
                      brt.pop()
                    brt.pop()
                  brt.pop()
                brt.pop()
              brt.pop() 
            brt.pop()
          brt.pop()
        brt.pop()
      brt.pop()
    brt.pop()
      
def complete(brt,length):
  brtAsString = ""
  for x in range(16-length,16):
    brtAsString += brt[x]

  print(" ")
  print("Correct Password:", brtAsString)
  print("---------------------")
  print(" ")
  combinations()
    
combinations()

Fetching token
?