mp64: generate total random words
#11
This is crazy stuff. Shall I add some random word generator to hashcat-utils?
Reply
#12
Indeed.
I think you should (specially if it was faster).
I find this useful when crazy bruteforces are needed like (?d?l?u=12, ?d=16, etc)
You can generate 5\10GiGs and try them, and get around 2% success. LOL
Reply
#13
crap.
Reply
#14
@undeath:: Yeah, you're right, the dictionary thing is kind of "carp".

But I found a lot of other good applications for this technique:
1- Generating fake hashes (for benchmarking...etc).
2- Generating powerful, uncrackable passwords.
3- Generating passwords-list that follows a certain, desired pattern, and maybe hashing them for benchmarking again.
4- Designing! Yes, like TheMatrix background (I've done that xD).
Reply
#15
Please add this to the accepted list @wiki
Reply
#16
AWESOME!!
Can't wait to use it. Thanks atom : D
Reply
#17
A couple other random number generators that may be good sources for those that need them:
gpg --gen-random 2

openssl rand
Reply
#18
hello ,, nice idea btw i tried this :
cat /dev/urandom | tr -cd '0-9' | fold -w15 >> /home/korsa/15.txt

to make worlist for password (min=15 max=15 -- and only numbers) but it looklike the size will be big

do you any way to make it smaller?
Reply
#19
hello nice job M@LIK this is good

iwant to know if there is any option to make pause and continue later Smile
Reply
#20
how can i create words with random lenght from 8-15 ?
like:
dfh43/T&DW
&TGdwszgdw
7gf/R3g(%
43rz3)/3z7
"$(hr3h9/§"R/zz


with fold -w8 or fold -b8 its only possible to generate 8-lenght words..


(05-05-2012, 01:17 AM)M@LIK Wrote: After more than a week of researches : P...
I believe I found the best way to do this.
Unique, pure, random words xD
All in one liner (Only for Linux) (On Windows you can use Cygwin):
Code:
cat /dev/urandom | tr -cd '[charset]' | head -c[size_of_output_in_bytes] | fold -w[string_length] | sort -u | awk "length==[string_length]"
(awk is used only to verfiy the length [optional])
(sort -u is not necessary too, you would rarely find dupes [optional])

charset = is the desired character-set:
Code:
a-z = ?l
A-Z = ?u
0-9 = ?d
\ -~ = ?s

size_of_output_in_bytes = is the maximum output size:
Code:
1024=1024 (1 kilobyte)
1024^2=1048576 (1 megabyte)
1024^3=1073741824 (1 gigabyte)
Note: size might increase due to line endings (fold).

string_length = is the desired length.


Examples:
Code:
cat /dev/urandom | tr -cd 'a-z' | head -c1048576 | fold -w8 | sort -u | awk "length==8"
This outputs 1 megabyte of 8-length words (All in lower-case).
Code:
...
dnwvbzdh
wkgnhnub
iigbbpjd
pmjnrbaw
iqfltfrm
liaakmnb
pimrhdlo
shgtkwnx
rmizhqzt
ojhukfdl
fxcsznbi
...


Code:
cat /dev/urandom | tr -cd 'a-zA-Z0-9' | head -c2048 | fold -w15 | sort -u | awk "length==15"
This outputs 2 kilobyte of 15-length words (All ?u?l?d) (very nasty xD).
Code:
...
FMQdpOPW4kUDJ8X
GfbFV093R76ksvU
GSXYlvhcHZ1zMhW
I5wdEUeAtipBSD3
i9CwDdmcPkj755t
Ic6XEEhnJKEWu9Q
IR0H8mfsliFBsRq
IzutBcjruiDspa7
J7knLbBd7QV6rdg
jfNY2c6k5i93x0p
KvK6eAWxAmSw4UD
kwqcNvpIh1KIqgt
kWvH1ZP9zp9l0wE
lFM1rCh545M88fC
...


Let's go HARDCORE!
Code:
cat /dev/urandom | tr -cd 'a-zA-Z0-9\ -~' | head -c2048 | fold -w32 | sort -u | awk "length==32"
Code:
...
-<%2p?e6E<~?Ov7M=B*hR(1-@GZO:lxn
1lP 4<^7+s-@ 60M\SfG1=2HO^mJGF;,
1N mi4XHk+/r0%8XaI7UdC$L`bi: "-G
1NACv-cdB5&ONn>/A/Gm_x+^Wdm',?tp
2!*8_>&-Ik6|\ae+kLy;RG?&>~*@Gz(0
2LnsHQ ?TTaZxj@+UB"AHCw #qIbKqid
6???[1i}vI#CrOuxY0ehK2.297]N6gh+
7w|{a0gYX;Q>sm#g@{Z! >rs>lUo$LkO
7wiH` ,8KOkeshfYv7;^Z~u(ed4PfQ&E
9q(%^2MA$JS05A9.,e-mQJ2B[E~5#|af
AE/QEyy0@I'oN.V&{a?:6*{l@;phcY^s
AF[8*%i?InMU7d,_Gf@'Lo{OD=?{|u&k
...

LOL

I must say, I'm loving the rubbish this is giving me. xD
Reply