Hydra Custom Pw List

Mar 4, 2016 02:34 PM
Mar 4, 2016 02:36 PM

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.

Related Articles

637587411395252764.jpg

How to Perform Advanced Man-in-the-Middle Attacks with Xerosploit

635211718118959676.jpg

How to Get Unlimited Free Trials Using a "Real" Fake Credit Card Number

Comments

No Comments Exist

Be the first, drop a comment!