Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

Wordlist Method Program


ghost's Avatar
0 0

Heya, I didn't really know where to post this, so if its in the worng place PLZ move/tell me.

Im trying to make a program in which creates a list that is all of the possibilities of "a" to "ZZZZZZZZZZZZZZZZZZZZ" (20 cap Zs).

I cant, however, grasp the method on what I should do. Any help/examples?

Ive already tried this using PHP, didn't quite work (http://www.knightsguild.org/test.php)

And using LibertyBASIC, didn't work either.

I was thinking of using an array or sumthin? My mind has been screwed up, so dont flame me for being the idiot I sometimes am B)

thx!

Intocksify


richohealey's Avatar
Python Ninja
0 0

why bother? just use a cracker with burete forcing and save the HD space


ghost's Avatar
0 0

Well, I have to agree about just using a brute-force instead of creating a wordlist… However, if you want to create a wordlist of all the possibilities from 1 to 20 characters, you'd need a decent amount of recursion.

I did one a while back in VBScript and I was lazy about it, so there's prob a better way to do it. However, it followed this logic:

Uppercase letters are ASCII Chr(65) - Chr(90) Lowercase letters are ASCII Chr(97) - Chr(122)

For every letter, you'd do a For loop from 65 to 122, and the loops would be nested. Meaning:

For a = 65 to 122 For b = 65 to 122 etc…

In the first loop, you'd set your string variable equal to the character equivalent of the number a. Every loop after that, you'd set your string variable equal to that string variable plus (added to the string, not added numerically) the character equivalent of whichever number you're currently looping. Finally, every time you modify the string variable you're using, you'll write that string to your text file.

Yeah, it's long and there's prob an easier way to do it. This should get you started, tho.


ghost's Avatar
0 0

156944216979660795365582.451612903 Terabytes for 1-20 characters alphabet upper and lower case,

my math appears to be very flawed and it's probably nowhere near that high, but it'd still be several terabytes at least