Word Mangling/Wordlist generator
#3
Yeah, what undeath said - if we're talking about typos, or misspellings that are just a single character substitution, some rules are pretty good at transposing letters. Specifically, a ruleset like this:

Code:
$ cat typo-swap.rule
*01
*12
*23
*34
*45
*56
*67
*78

... would do this:

Code:
$ echo hashcats | hashcat -r typo-swap.rule --stdout
ahshcats
hsahcats
hahscats
haschats
hashacts
hashctas
hashcast
hashcats

And rules like this for character substitutions:

Code:
$ cat typo-wrong.rule
saq
saw
sas
sax
saz


$ echo hashcat | hashcat -r typo-wrong.rule --stdout
hqshcqt
hwshcwt
hsshcst
hxshcxt
hzshczt

If it's a fast hash and you're feeling lazy, you can just throw all of the possible characters into a custom character set (-1, -2, -3, -4 syntax).

Code:
$ hashcat -m 0 -a 3 -1 'hasct' --stdout ?1?1?1?1?1?1?1 | head
sattasa
chatasa
ashaasa
tattasa
hattasa
shatasa
cattasa
aattasa
thatasa
hhatasa

$ hashcat -m 0 -a 3 -1 'hasct' --stdout ?1?1?1?1?1?1?1 | wc -l
78125

$ hashcat -m 0 -a 3 -1 'cat' --stdout hash?1?1?1
hashata
hashtat
hashcat
hashaca
hashtta
hashcca
hashaat
hashtca
hashcta
hashatt
hashtac
hashcac
hashact
hashttt
hashcct
hashaac
hashtct
hashctt
hashatc
hashtaa
hashcaa
hashacc
hashttc
hashccc
hashaaa
hashtcc
hashctc

Adjust the hard-coded characters in the mask with the wildcard ones (?1) to taste.

If the rules syntax is tricky for you, and if it's a slow hash, you might be be better off scripting something that does the mangling for you, or using a different external tool. Googling for "typo generator" has some interesting hits.
~


Messages In This Thread
Word Mangling/Wordlist generator - by Hash_noob - 01-13-2018, 06:21 PM
RE: Word Mangling/Wordlist generator - by undeath - 01-13-2018, 06:28 PM
RE: Word Mangling/Wordlist generator - by royce - 01-13-2018, 06:29 PM
RE: Word Mangling/Wordlist generator - by royce - 01-13-2018, 08:43 PM