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.

Just updated your iPhone? You'll find new Apple Intelligence capabilities, sudoku puzzles, Camera Control enhancements, volume control limits, layered Voice Memo recordings, and other useful features. Find out what's new and changed on your iPhone with the iOS 18.2 update.

Related Articles

637263493835297420.jpg

How to Use Zero-Width Characters to Hide Secret Messages in Text (& Even Reveal Leaks)

636455706472146367.jpg

How to Hide DDE-Based Attacks in MS Word

Comments

No Comments Exist

Be the first, drop a comment!