mirror of
https://github.com/hashcat/hashcat.git
synced 2024-12-23 07:08:19 +00:00
Merge pull request #49 from philsmd/pr-patch-examples
the example*.sh files should now also use the native binary
This commit is contained in:
commit
8cf367fb9e
@ -1 +1 @@
|
|||||||
./oclHashcat64.bin -t 32 -a 7 example0.hash ?a?a?a?a example.dict
|
./oclHashcat -t 32 -a 7 example0.hash ?a?a?a?a example.dict
|
||||||
|
@ -1 +1 @@
|
|||||||
cat example.dict | ./oclHashcat64.bin -m 400 example400.hash
|
cat example.dict | ./oclHashcat -m 400 example400.hash
|
||||||
|
@ -1 +1 @@
|
|||||||
./oclHashcat64.bin -m 500 example500.hash example.dict
|
./oclHashcat -m 500 example500.hash example.dict
|
||||||
|
@ -24,12 +24,20 @@ cp -r $IN/rules $OUT/
|
|||||||
cp -r $IN/extra $OUT/
|
cp -r $IN/extra $OUT/
|
||||||
cp $IN/example.dict $OUT/
|
cp $IN/example.dict $OUT/
|
||||||
cp $IN/example[0123456789]*.hash $OUT/
|
cp $IN/example[0123456789]*.hash $OUT/
|
||||||
cp $IN/example[0123456789]*.sh $OUT/
|
|
||||||
cp $IN/example[0123456789]*.cmd $OUT/
|
cp $IN/example[0123456789]*.cmd $OUT/
|
||||||
|
|
||||||
cp -r $IN/include $OUT/
|
cp -r $IN/include $OUT/
|
||||||
cp -r $IN/OpenCL $OUT/
|
cp -r $IN/OpenCL $OUT/
|
||||||
|
|
||||||
|
# since for the binary distribution we still use .bin, we need to rewrite the commands
|
||||||
|
# within the example*.sh files
|
||||||
|
|
||||||
|
for example in example[0123456789]*.sh; do
|
||||||
|
|
||||||
|
sed 's!./oclHashcat !./oclHashcat64.bin !' $IN/${example} > $OUT/${example}
|
||||||
|
|
||||||
|
done
|
||||||
|
|
||||||
dos2unix $OUT/rules/*.rule
|
dos2unix $OUT/rules/*.rule
|
||||||
dos2unix $OUT/rules/hybrid/*.rule
|
dos2unix $OUT/rules/hybrid/*.rule
|
||||||
dos2unix $OUT/docs/*
|
dos2unix $OUT/docs/*
|
||||||
|
Loading…
Reference in New Issue
Block a user