Skip to content

Commit bfdf58c

Browse files
authored
code updated hashfor :(
1 parent d6d1eec commit bfdf58c

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

quicksilver.sh

+2-5
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,10 @@ done
3333
count=$(echo -n $hash | wc -m)
3434

3535
# Working Area
36+
hashfor=$(curl -s "http://hashtoolkit.com/reverse-hash/?hash=${hash}" | sed -n 219p | cut -d '>' -f 4 | cut -d "<" -f 1)
37+
3638
if [ "$count" -eq 32 ]; then
3739
echo -e "It's a ${b}MD5${n} hash"
38-
hashfor=$(curl -s "http://hashtoolkit.com/reverse-hash/?hash=${hash}" | sed -n 219p | cut -d '>' -f 4 | cut -d "<" -f 1)
3940
if [ -z $hashfor ]; then
4041
echo -e "${r}But, no hash crack found!${n}"
4142
else
@@ -44,7 +45,6 @@ if [ "$count" -eq 32 ]; then
4445
fi
4546
elif [ "$count" -eq 40 ]; then
4647
echo -e "It's a ${b}SHA1${n} hash"
47-
hashfor=$(curl -s "http://hashtoolkit.com/reverse-hash/?hash=${hash}" | sed -n 219p | cut -d '>' -f 4 | cut -d "<" -f 1)
4848
if [ -z $hashfor ]; then
4949
echo -e "${r}But, no hash crack found!${n}"
5050
else
@@ -53,7 +53,6 @@ elif [ "$count" -eq 40 ]; then
5353
fi
5454
elif [ "$count" -eq 64 ]; then
5555
echo -e "It's a ${b}SHA-256${n} hash"
56-
hashfor=$(curl -s "http://hashtoolkit.com/reverse-hash/?hash=${hash}" | sed -n 219p | cut -d '>' -f 4 | cut -d "<" -f 1)
5756
if [ -z $hashfor ]; then
5857
echo -e "${r}But, no hash crack found!${n}"
5958
else
@@ -62,7 +61,6 @@ elif [ "$count" -eq 64 ]; then
6261
fi
6362
elif [ "$count" -eq 96 ]; then
6463
echo -e "It's a ${b}SHA-384${n} hash"
65-
hashfor=$(curl -s "http://hashtoolkit.com/reverse-hash/?hash=${hash}" | sed -n 219p | cut -d '>' -f 4 | cut -d "<" -f 1)
6664
if [ -z $hashfor ]; then
6765
echo -e "${r}But, no hash crack found!${n}"
6866
else
@@ -71,7 +69,6 @@ elif [ "$count" -eq 96 ]; then
7169
fi
7270
elif [ "$count" -eq 128 ]; then
7371
echo -e "It's a ${b}SHA-512${n} hash"
74-
hashfor=$(curl -s "http://hashtoolkit.com/reverse-hash/?hash=${hash}" | sed -n 219p | cut -d '>' -f 4 | cut -d "<" -f 1)
7572
if [ -z $hashfor ]; then
7673
echo -e "${r}But, no hash crack found!${n}"
7774
else

0 commit comments

Comments
 (0)