mirror of
https://github.com/hashcat/hashcat.git
synced 2024-12-23 07:08:19 +00:00
test.sh fix packaged hash types
This commit is contained in:
parent
3b43bd6d03
commit
8613e2fc81
@ -2893,7 +2893,10 @@ if [ "${PACKAGE}" -eq 1 ]; then
|
||||
SED_IN_PLACE='-i ""'
|
||||
fi
|
||||
|
||||
HASH_TYPES_PACKAGED=$(echo ${HASH_TYPES} | tr '\n' ' ' | sed 's/ $//')
|
||||
|
||||
sed "${SED_IN_PLACE}" -e 's/^\(PACKAGE_FOLDER\)=""/\1="$( echo "${BASH_SOURCE[0]}" | sed \"s!test.sh\\$!!\" )"/' \
|
||||
-e "s/^\(HASH_TYPES\)=\$(.*/\1=\"${HASH_TYPES_PACKAGED}\"/" \
|
||||
-e "s/^\(HT\)=0/\1=${HT}/" \
|
||||
-e "s/^\(MODE\)=0/\1=${MODE}/" \
|
||||
-e "s/^\(ATTACK\)=0/\1=${ATTACK}/" \
|
||||
|
Loading…
Reference in New Issue
Block a user