mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-25 17:38:23 +00:00
More cleanup
This commit is contained in:
parent
0bf4e3c34a
commit
88284108b3
@ -2033,7 +2033,7 @@ static void append_0x02_4x4 (u32 w0[4], u32 w1[4], u32 w2[4], u32 w3[4], const u
|
||||
}
|
||||
|
||||
// before: append_0x02_8
|
||||
static void append_0x02_8 (u32 w0[4], u32 w1[4], u32 w2[4], u32 w3[4], u32 w4[4], u32 w5[4], u32 w6[4], u32 w7[4], const u32 offset)
|
||||
static void append_0x02_8x4 (u32 w0[4], u32 w1[4], u32 w2[4], u32 w3[4], u32 w4[4], u32 w5[4], u32 w6[4], u32 w7[4], const u32 offset)
|
||||
{
|
||||
switch (offset)
|
||||
{
|
||||
|
@ -1,2 +0,0 @@
|
||||
cudaHashcat64.exe -t 32 -a 7 example0.hash ?a?a?a?a example.dict
|
||||
pause
|
@ -1 +0,0 @@
|
||||
./cudaHashcat64.bin -t 32 -a 7 example0.hash ?a?a?a?a example.dict
|
@ -1,2 +0,0 @@
|
||||
type example.dict | cudaHashcat64.exe -m 400 example400.hash
|
||||
pause
|
@ -1 +0,0 @@
|
||||
cat example.dict | ./cudaHashcat64.bin -m 400 example400.hash
|
@ -1,2 +0,0 @@
|
||||
cudaHashcat64.exe -m 500 example500.hash example.dict
|
||||
pause
|
@ -1 +0,0 @@
|
||||
./cudaHashcat64.bin -m 500 example500.hash example.dict
|
@ -197,14 +197,6 @@ $ make linux
|
||||
```sh
|
||||
$ make windows
|
||||
```
|
||||
- build only *AMD kernel* binaries
|
||||
```sh
|
||||
$ make amd_all
|
||||
```
|
||||
- build only *NVIDIA kernel* binaries
|
||||
```sh
|
||||
$ make nv_all
|
||||
```
|
||||
|
||||
=
|
||||
Enjoy your fresh **oclHashcat** binaries ;)
|
||||
|
@ -15,7 +15,7 @@ AMD users require Catalyst 14.9 or later
|
||||
- Multi-GPU (up to 128 GPUs)
|
||||
- Multi-Hash (up to 100 million hashes at once)
|
||||
- Multi-OS (Linux & Windows native binaries)
|
||||
- Multi-Platform (OpenCL & CUDA support)
|
||||
- Multi-Platform (OpenCL support)
|
||||
- Multi-Algorithm (see below)
|
||||
- Low resource utilization; you can still watch movies or play games while cracking
|
||||
- Focuses on highly iterated modern hashes
|
||||
|
@ -1,70 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
##
|
||||
## Author......: Jens Steube <jens.steube@gmail.com>
|
||||
## License.....: MIT
|
||||
##
|
||||
|
||||
export IN=$HOME/oclHashcat
|
||||
export OUT=$HOME/xy/cudaHashcat-2.01
|
||||
|
||||
rm -rf $OUT
|
||||
rm -rf $OUT.7z
|
||||
|
||||
mkdir -p $OUT $OUT/kernels $OUT/kernels/4318
|
||||
|
||||
cp $IN/cudaHashcat??.exe $OUT/
|
||||
cp $IN/cudaHashcat??.bin $OUT/
|
||||
cp $IN/hashcat.hcstat $OUT/
|
||||
|
||||
cp -r $IN/docs $OUT/
|
||||
cp -r $IN/charsets $OUT/
|
||||
cp -r $IN/masks $OUT/
|
||||
cp -r $IN/rules $OUT/
|
||||
cp -r $IN/extra $OUT/
|
||||
cp $IN/example.dict $OUT/
|
||||
cp $IN/example[0123456789]*.hash $OUT/
|
||||
cp $IN/cudaExample[0123456789]*.sh $OUT/
|
||||
cp $IN/cudaExample[0123456789]*.cmd $OUT/
|
||||
|
||||
cp -r $IN/kernels/4318/*.cubin $OUT/kernels/4318/
|
||||
|
||||
dos2unix $OUT/rules/*.rule
|
||||
dos2unix $OUT/rules/hybrid/*.rule
|
||||
dos2unix $OUT/docs/*
|
||||
dos2unix $OUT/example*
|
||||
dos2unix $OUT/*Example*.sh
|
||||
dos2unix $OUT/*Example*.cmd
|
||||
|
||||
unix2dos $OUT/masks/*.hcmask
|
||||
unix2dos $OUT/rules/*.rule
|
||||
unix2dos $OUT/rules/hybrid/*.rule
|
||||
unix2dos $OUT/docs/*
|
||||
unix2dos $OUT/example*
|
||||
unix2dos $OUT/*Example*.cmd
|
||||
|
||||
chmod 700 $OUT
|
||||
chmod 700 $OUT/kernels
|
||||
chmod 700 $OUT/kernels/4318
|
||||
chmod 600 $OUT/kernels/4318/*
|
||||
chmod 700 $OUT/rules
|
||||
chmod 600 $OUT/rules/*
|
||||
chmod 700 $OUT/docs
|
||||
chmod 600 $OUT/docs/*
|
||||
chmod 700 $OUT/charsets
|
||||
chmod 700 $OUT/charsets/*
|
||||
chmod 700 $OUT/masks
|
||||
chmod 600 $OUT/masks/*
|
||||
chmod 600 $OUT/example*
|
||||
chmod 600 $OUT/*Example*.cmd
|
||||
chmod 700 $OUT/*Example*.sh
|
||||
chmod 700 $OUT/extra
|
||||
chmod 700 $OUT/extra/tab_completion/*.sh
|
||||
chmod 700 $OUT/extra/tab_completion/install
|
||||
chmod 600 $OUT/extra/rules_optimize/*.exe
|
||||
chmod 700 $OUT/extra/rules_optimize/*.bin
|
||||
chmod 600 $OUT/*.exe
|
||||
chmod 700 $OUT/*.bin
|
||||
chmod 600 $OUT/hashcat.hcstat
|
||||
|
||||
time 7z a -t7z -m0=lzma2:d28 -mx=9 -mmt=8 -ms=on $OUT.7z $OUT
|
@ -1537,10 +1537,6 @@ OPTIONS:
|
||||
'all' => all attack modes
|
||||
(int) => attack mode integer code (default : 0)
|
||||
|
||||
-b Select binary :
|
||||
'amd' => oclHashcat64.bin (default)
|
||||
'nvidia' => cudaHashcat64.bin
|
||||
|
||||
-x Select cpu architecture :
|
||||
'32' => 32 bit architecture
|
||||
'64' => 64 bit architecture (default)
|
||||
@ -1612,18 +1608,6 @@ while getopts "t:m:a:b:hcpd:x:o:" opt; do
|
||||
fi
|
||||
;;
|
||||
|
||||
"b")
|
||||
if [ ${OPTARG} == "amd" ]; then
|
||||
BIN="oclHashcat64.bin"
|
||||
BN="amd"
|
||||
elif [ ${OPTARG} == "nvidia" ]; then
|
||||
BIN="cudaHashcat64.bin"
|
||||
BN="nvidia"
|
||||
else
|
||||
usage
|
||||
fi
|
||||
;;
|
||||
|
||||
"c")
|
||||
OPTS="${OPTS} --markov-disable"
|
||||
MARKOV="disabled"
|
||||
|
Loading…
Reference in New Issue
Block a user