mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-23 00:28:11 +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 ""'
|
SED_IN_PLACE='-i ""'
|
||||||
fi
|
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\\$!!\" )"/' \
|
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/^\(HT\)=0/\1=${HT}/" \
|
||||||
-e "s/^\(MODE\)=0/\1=${MODE}/" \
|
-e "s/^\(MODE\)=0/\1=${MODE}/" \
|
||||||
-e "s/^\(ATTACK\)=0/\1=${ATTACK}/" \
|
-e "s/^\(ATTACK\)=0/\1=${ATTACK}/" \
|
||||||
|
Loading…
Reference in New Issue
Block a user