hashcat Forum
Prepend character set to list - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Support (https://hashcat.net/forum/forum-3.html)
+--- Forum: hashcat (https://hashcat.net/forum/forum-45.html)
+--- Thread: Prepend character set to list (/thread-11338.html)



Prepend character set to list - TheAviator - 03-05-2023

How can i use the following charater sets to prepend each possible charater in set to my word list?
  • ?l = abcdefghijklmnopqrstuvwxyz
  • ?u = ABCDEFGHIJKLMNOPQRSTUVWXYZ
  • ?d = 0123456789
  • ?h = 0123456789abcdef
  • ?H = 0123456789ABCDEF
  • ?s = «space»!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~
  • ?a = ?l?u?d?s
  • ?b = 0x00 - 0xff

for example
Code:
hashcat -a 3 wordlist.txt ?^d --stdout > newwordlist.txt

gives ERROR "unsupported file type"


RE: Prepend character set to list - marc1n - 03-05-2023

hashcat -a 3 wordlist.txt ?a --stdout > newwordlist.txt

?a = ?l?u?d?s


RE: Prepend character set to list - TheAviator - 03-05-2023

(03-05-2023, 12:42 PM)marc1n Wrote: hashcat -a 3 wordlist.txt ?a --stdout > newwordlist.txt

?a = ?l?u?d?s

Thanks champ, but are you sure???
Because this doesnt work on windows or k@li?
i get error
Quote:?a unsupported file type

But even if it did, i think it would append (add to end) not 'prepend', thats why i was messing with the ?^d


RE: Prepend character set to list - b8vr - 03-05-2023

To prepend you should use the -a7 attack, which is a hybrid attack using a mask and a wordlist:

hashcat -a7 ?a wordlist.txt --stdout

See also https://hashcat.net/wiki/doku.php?id=hybrid_attack

If the masks is an issue for you, just try '?a'


RE: Prepend character set to list - TheAviator - 03-05-2023

(03-05-2023, 03:00 PM)b8vr Wrote: To prepend you should use the -a7 attack, which is a hybrid attack using a mask and a wordlist:

hashcat -a7 ?a wordlist.txt --stdout

See also https://hashcat.net/wiki/doku.php?id=hybrid_attack

Awesome that worked  Smile

and looks like its
Code:
hashcat -a6 wordlist.txt ?a --stdout  > newlist.txt

to append. very handy.