Posts: 13
Threads: 4
Joined: Mar 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"
Posts: 385
Threads: 1
Joined: Aug 2020
hashcat -a 3 wordlist.txt ?a --stdout > newwordlist.txt
?a = ?l?u?d?s
Posts: 13
Threads: 4
Joined: Mar 2023
03-05-2023, 02:05 PM
(This post was last modified: 03-05-2023, 02:05 PM by TheAviator.)
(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
Posts: 121
Threads: 1
Joined: Apr 2022
03-05-2023, 03:00 PM
(This post was last modified: 03-05-2023, 03:17 PM by b8vr.)
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'
Posts: 13
Threads: 4
Joined: Mar 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
and looks like its
Code:
hashcat -a6 wordlist.txt ?a --stdout > newlist.txt
to append. very handy.