Results 1 to 6 of 6

Thread: Generate specific wordlist for brute forcing

  1. #1
    Just burned his ISO
    Join Date
    Apr 2008
    Posts
    3

    Default Generate specific wordlist for brute forcing

    If I know what the first characters of the password are and that the last few are symbols and numbers, how would I generate a wordlist? eg. the first characters are "elephant" and the last three are symbols or numbers so the wordlist would look something like this:

    elephant%61
    elephant$#1
    and so on

    Thanks in advance for any help.

  2. #2
    Moderator theprez98's Avatar
    Join Date
    Jan 2010
    Location
    Maryland
    Posts
    2,533

    Default

    Quote Originally Posted by sdrowkcab View Post
    If I know what the first characters of the password are and that the last few are symbols and numbers, how would I generate a wordlist? eg. the first characters are "elephant" and the last three are symbols or numbers so the wordlist would look something like this:

    elephant%61
    elephant$#1
    and so on

    Thanks in advance for any help.
    Use the search function.
    "\x74\x68\x65\x70\x72\x65\x7a\x39\x38";

  3. #3
    Junior Member
    Join Date
    Nov 2007
    Posts
    37

    Default

    cain and able has the ability to add numbers after the word, called a hybrid brute attack. As well as uppercase, reverse, and mixed. You might give that a shot.

  4. #4
    Just burned his ISO
    Join Date
    Apr 2008
    Posts
    3

    Default Thank you

    Thanks for cain. But I was looking for something along the lines of this:
    forums.remote-exploit.org/showthread.php?t=3979&page=2
    (perl ./wg.pl)

    I want to generate an actual file with all the combinations. This creates a file with all the combinations of these characters that is 3 characters long:
    perl ./wg.pl -l 3 -u 3 -v 1234567890\!\@\#\$\%\^\&\*\(\)-\ >wordlist.txt

    The result is something like this that is 44kb:
    111
    112
    113

    And it does all the characters.

    All I want to do is put the same word at the beginning of each line. Could this be done with cat? Can someone give me some suggestions?

    Thank you

  5. #5
    Junior Member
    Join Date
    Nov 2007
    Posts
    37

    Default

    ok i suck at bash scripting, im learning tho. But i would think that a simple script would do the trick, have the prog output a word from the wordlist in an incrimenting fashion as variable A, then have the script your using to randomize the last 3 characters as variable B, then tell the program to echo AB and output to a file. I hope this helped some, its the best advice i can give.

  6. #6
    Just burned his ISO
    Join Date
    Apr 2008
    Posts
    3

    Default

    I found out how to do it! The answers is in ./wg.pl. Stupidly, I did not carefully read the options and when I did, this is what I found:

    USAGE: perl ./wg.pl options

    options are:
    -a string: prefix
    -c number: max consecutive letters (how many consecutive 'a' do you want?)
    -e : submit the output string to the operating system
    -h : help
    -l number: min length of the word
    -o number: max number of occurrencies of a letter
    -n number: max number of n-ple (AA, BBB, CCC, DDDD)
    -r number: max number of repeatitions (ABCABABBCDBCD has 5 repeatitions: 3 reps of AB and 2 of BCD)
    -t : trace on
    -u number: max length of the word
    -v string: list of valid characters (es, "01" "abcdef")
    -z string: postfix

    I only had to add the option -a to the command followed by the prefix that I wanted! eg. perl ./wg.pl -u 3 -l 3 -a elephant -v 0123456789 > words.txt

    Now I just need to play around with the repetition and occurencies of characters to make a wordlist that is as precise as possible. Lets see how long it takes to get my router's control panel password!

    Thank you all for your help!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •