RANDOM number corresponding to the corresponding string before break md5sum

The following are known by string variable random number RANDOM the md5sum | result of the cut-c 1-8 taken, please RANDOM cracks corresponding to the number before the strings corresponding to the md5sum?
21,029,299
00205d1c
a3da1677
1f6d12dd
script as follows:
# / bin / SH!
##################################### ##################
#ShellName: crack Random
#Author: ZKG
#Created Time: 2019-08-29
#blog Address: https://blog.51cto.com/ 1009516
################################################# ######

# Reference library system
. /Etc/init.d/functions

# Definition array
md5sumafter = (21029299 00205d1c a3da1677 1f6d12dd)

for randomnum in {0..32767}
do
randommd5sum=echo $randomnum |md5sum|cut -c 1-8
for ((i=0;i<${#md5sumafter[*]};i++))
do
if [ "${md5sumafter[i]}" == "$randommd5sum" ];then
echo -e "$randomnum\t $randommd5sum" >> /opt/shell/random.txt
echo -e "$randomnum\t $randommd5sum"
fi
done
done
action "字符串破解完成!!!" /bin/true

Guess you like

Origin blog.51cto.com/1009516/2433494