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)
#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
for index in range 7454720:
test = .join(random.choice(chars) for x in range(size))
if test not in password:
line = pwlist.write(test)
Do you think this logic would work fine when it comes to cracking every possible combination of 4 letter password?
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.