Posts: 9
Threads: 3
Joined: Jan 2013
When trying to append $- to first dictionary, hashcat claims it's empty, prepend ^ working fine.
eg.
Code:
./oclHashcat-plus64.bin -a 1 -j $- -m 0 -o /outfile.txt /infile.txt /rockyou.dic /dic2.dic --remove
oclHashcat-plus v0.12 by atom starting...
Generated dictionary stats for /dic2.dic: 59992 bytes, 6210 words, 0 keyspace
/dic2.dic: empty file
either a bug or user error, what you think?
Posts: 2,301
Threads: 11
Joined: Jul 2010
Posts: 17
Threads: 3
Joined: Apr 2012
(02-02-2013, 02:41 PM)undeath Wrote: you need to escape
What about when there is nothing to be escaped? Thoughts?
Quote:$ ./oclHashcat-plus64.bin -m 3100 -a1 ../hashes/hash_test -j rule -k rule1 dic1 dic2
oclHashcat-plus v0.14 by atom starting...
Hashes: 2 total, 2 unique salts, 2 unique digests
Bitmaps: 8 bits, 256 entries, 0x000000ff mask, 1024 bytes
Workload: 16 loops, 8 accel
Watchdog: Temperature abort trigger set to 90c
Watchdog: Temperature retain trigger set to 80c
.......
Generated dictionary stats for dic2: 20 bytes, 5 words, 0 keyspace
dic2: empty file
$ cat rule1
]
c
u
$ cat rule
i02i13
i12i23
i22i33
i32i43
i42i53
i52i63
i62i73
i72i83
i82i93
i92iA3
iA2iB3
iA2iB3
iB2iC3
$ cat dic1
qw
we
er
rt
ty
yu
as
sd
df
fg
$ cat dic2
ioj
lkj
pqj
rej
sdj
Posts: 2,936
Threads: 12
Joined: May 2012
-j and -k do not work with rules files. they only work with single rules.
if you want to use the append rule then you need to escape it, else your shell will attempt to interpret it as a variable.
Posts: 17
Threads: 3
Joined: Apr 2012
(04-19-2013, 01:31 PM)epixoip Wrote: -j and -k do not work with rules files. they only work with single rules.
if you want to use the append rule then you need to escape it, else your shell will attempt to interpret it as a variable.
I was aware of escaping but only now I understand the *single rule* line on --help meaning "not a rules file".
Thanks.