MCPcopy Create free account
hub / github.com/geekcomputers/Python / main

Function main

password_cracker.py:37–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35
36
37def main():
38 passFile = open("passwords.txt") # Open the password file
39 for line in passFile.readlines(): # Read through the file
40 if ":" in line:
41 user = line.split(":")[0]
42 cryptPass = line.split(":")[1].strip(" ") # Prepare the user name etc
43 print("[*] Cracking Password For: " + user)
44 testPass(cryptPass) # Call it to crack the users password
45
46
47if __name__ == "__main__":

Callers 1

Calls 1

testPassFunction · 0.85

Tested by

no test coverage detected