Attack planning: How to avoid doubles?
#5
(02-04-2022, 02:49 AM)hamano_clevage Wrote:
(02-01-2022, 01:26 AM)Snoopy Wrote: you can use maskprocessor feed the output to any tool like md5sum, shasum whatever and build your dicts for

What would be the hashcat command line string for storing this output?

there is not option for this, you can download pregenerated files here

https://www.freerainbowtables.com/

to generate your own from a textfile you can use this little bash-script

Code:
#!/bin/bash

cat "$@" | while read -r line; do

    MD5_PW=$(printf %s "$line" | md5sum | cut -d ' ' -f1)
    echo "$MD5_PW:$line" >> md5_pw.txt
done

save this as gen-md5.sh and run it like

./gen-md5.sh input.txt

will generate a md5_pw.txt, sample output with input.txt just containing lower chars a-z, one per line

Code:
0cc175b9c0f1b6a831c399e269772661:a
92eb5ffee6ae2fec3ad71c777531578f:b
4a8a08f09d37b73795649038408b5f33:c
8277e0910d750195b448797616e091ad:d
e1671797c52e15f763380b45e841ec32:e
8fa14cdd754f91cc6554c9e71929cce7:f
b2f5ff47436671b6e533d8dc3614845d:g
2510c39011c5be704182423e3a695e91:h
865c0c0b4ab0e063e5caa3387c1a8741:i
363b122c528f54df4a0446b6bab05515:j
8ce4b16b22b58894aa86c421e8759df3:k
2db95e8e1a9267b7a1188556b2013b33:l
6f8f57715090da2632453988d9a1501b:m
7b8b965ad4bca0e41ab51de7b31363a1:n
d95679752134a2d9eb61dbd7b91c4bcc:o
83878c91171338902e0fe0fb97a8c47a:p
7694f4a66316e53c8cdd9d9954bd611d:q
4b43b0aee35624cd95b910189b3dc231:r
03c7c0ace395d80182db07ae2c30f034:s
e358efa489f58062f10dd7316b65649e:t
7b774effe4a349c6dd82ad4f4f21d34c:u
9e3669d19b675bd57058fd4664205d2a:v
f1290186a5d0b1ceab27f4e77c0c5d68:w
9dd4e461268c8034f5c8564e155c67a6:x
415290769594460e2e485922904f345d:y
fbade9e36a3f36d3d676c1b808451dd7:z

and copy this into or just rename to md5.potfile

BUT trust me, you dont want to do this on a bigger scale, generating these lists is much much much slower than just testing the input wordlist (at least with fast hashes like md5)

second, regarding brain, no there is no option to tell the brain what you already have tried, the brain was developed mainly with slow hashes in mind and very specific cracking tasks
Reply


Messages In This Thread
RE: Attack planning: How to avoid doubles? - by Snoopy - 02-04-2022, 02:26 PM