33
33
count=$( echo -n $hash | wc -m)
34
34
35
35
# 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
+
36
38
if [ " $count " -eq 32 ]; then
37
39
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)
39
40
if [ -z $hashfor ]; then
40
41
echo -e " ${r} But, no hash crack found!${n} "
41
42
else
@@ -44,7 +45,6 @@ if [ "$count" -eq 32 ]; then
44
45
fi
45
46
elif [ " $count " -eq 40 ]; then
46
47
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)
48
48
if [ -z $hashfor ]; then
49
49
echo -e " ${r} But, no hash crack found!${n} "
50
50
else
@@ -53,7 +53,6 @@ elif [ "$count" -eq 40 ]; then
53
53
fi
54
54
elif [ " $count " -eq 64 ]; then
55
55
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)
57
56
if [ -z $hashfor ]; then
58
57
echo -e " ${r} But, no hash crack found!${n} "
59
58
else
@@ -62,7 +61,6 @@ elif [ "$count" -eq 64 ]; then
62
61
fi
63
62
elif [ " $count " -eq 96 ]; then
64
63
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)
66
64
if [ -z $hashfor ]; then
67
65
echo -e " ${r} But, no hash crack found!${n} "
68
66
else
@@ -71,7 +69,6 @@ elif [ "$count" -eq 96 ]; then
71
69
fi
72
70
elif [ " $count " -eq 128 ]; then
73
71
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)
75
72
if [ -z $hashfor ]; then
76
73
echo -e " ${r} But, no hash crack found!${n} "
77
74
else
0 commit comments