As the title suggests, I'm going to make a custom pw list for Hydra (which I am just now learning..about time)
I have the following Python script below as a test for having 4 letter passwords (Just a quick proof of concept)
#Import libraries
import random
import string
#Initialize any settings
chars = string.digits
size = 4
password = #There is a list here. It might not show up on WHT.
pwlist = open("pwlist.txt", "rw+") #Open a file in write mode
#Loop
for index in range 7454720:
test = .join(random.choice(chars) for x in range(size))
if test not in password:
line = pwlist.write(test)
password.append(test)
Do you think this logic would work fine when it comes to cracking every possible combination of 4 letter password?
Ex:
hydra -l admin -P pwlist.txt -M serverlist.txt
I haven't even booted up Kali at all today, I'm just watching a lecture from Udemy. Any pointers would be nice.
Comments
No Comments Exist
Be the first, drop a comment!