hashcat Forum
Assistance with Unique Rule - 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: Assistance with Unique Rule (/thread-10093.html)



Assistance with Unique Rule - washington - 05-12-2021

I have a list of strings which likely contain the password inside, and not the complete string
Example dictionary
Code:
Alabama
Alaska
Arizona
Arkansas
The password could be 'alaba', 'laska', 'rizo', 'kansas' etc
I believe I need the Extract Range function but am unsure how to extract more than a single specific range
Any help would be appreciated
Thank you


RE: Assistance with Unique Rule - Snoopy - 05-12-2021

use delete rule and you can have more than one rule per line
you can use --stdoud to see how rules actually work
using your dict.txt and
r.txt
D0 D0
hashcat -a 0 dict.txt r.txt
->
abama
aska
izona
kansas

as you can see, just combine rules in a line, D0 D0 means delete postion 0 from pw = new pw -> delete postion 0 from new pw (the rules are applied in line) so D0 D0 actually translates to delete the first 2 positions
if you switch to D0 D1 in r.txt it results in

lbama
lska
rzona
ransas

explanation for Alabama
delete postion 0 from Alabama -> labama
delete postion 1 from labama -> lbama

hope this helps