widhisec

md5.sh

Jun 21st, 2021 (edited)
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.80 KB | None | 0 0
  1. #!/bin/bash
  2. # ZSECC0DE-CREW-ID | WIDHISEC
  3. LIMITATOR=15
  4. red='\e[1;31m'
  5. green='\e[1;32m'
  6. yellow='\e[1;33m'
  7. blue='\e[1;34m'
  8. white='\e[1;37m'
  9. dependencies=( "grep" "curl" "gawk" "sed")
  10. for i in "${dependencies[@]}";do    
  11.     command -v $i >/dev/null 2>&1 || { echo -e >&2 "${yellow}$i ${white}: belum terinstall - akan menginstallnya" && apt-get install $i -y
  12.     }
  13. done
  14. md5(){
  15.     local req=$(curl --silent "https://md5decrypt.net/en/" -H 'content-type: application/x-www-form-urlencoded' -A 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Safari/537.36' -I --socks5 166.62.81.144:61965| grep -o "set-cookie:.*" | cut -d ":" -f2 | gawk '{print $1}')
  16.     local mi=$(curl --silent 'https://md5decrypt.net/en/' --socks5 "166.62.81.144:61965" -H 'origin: https://md5decrypt.net' -H 'upgrade-insecure-requests: 1' -H 'content-type: application/x-www-form-urlencoded' -A 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Safari/537.36' -H 'accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3' -H 'referer: https://md5decrypt.net/en/' -H "cookie: ${req}")
  17.     local val=$(echo "$mi" | sed -n 's/.*value="\([^"]*\)".*/\1/p')
  18.     local nam=$(echo "$mi" | grep -i 'name' | grep -o '<input type="hidden" name=".*"' | tr -d '""'|gawk '{print $4}'|gawk -F "=" '{print $2}')
  19.     local caph=$(echo -e "$mi" | grep -i 'name' | grep -o '<input id="captcha" type="text" name=".*"' |tr -d '""'| gawk '{print $4}'|gawk -F "=" '{print $2}')
  20.     local minta=$(curl --silent 'https://md5decrypt.net/en/' --socks5 "166.62.81.144:61965" -H 'origin: https://md5decrypt.net' -H 'upgrade-insecure-requests: 1' -H 'content-type: application/x-www-form-urlencoded' -A 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Safari/537.36' -H 'accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3' -H 'referer: https://md5decrypt.net/en/' -H "cookie: ${req}" --data "hash=${hashnya}&${caph}=&${nam}=${val}&decrypt=Decrypt" --compressed)
  21.     re=$(echo "$minta" | grep -o "<b>.*</b>"|tail -1|grep -Po '(?<=>)[^<]*')
  22.     re2=$(echo "$minta" | grep -o "Found in .*"|cut -d "<" -f1)
  23.     if [[ $re2 =~ "Found" ]]; then
  24.         echo -e "cracked -> ${green}$re"
  25.         echo -e "$re2"    
  26.    else
  27.         echo -e "[${red}not found${white}]"
  28.     fi
  29.     echo -e "${white}[DONE]"
  30. }
  31. echo -e "
  32. ${yellow}+++++++++++++++++++++++++++++++++++++++++
  33. ${blue}[ md5decrypt powered by zsecc0de-crew-id ]
  34. ${yellow}=========================================
  35. "
  36. echo -ne "${white}hash :"; read ha
  37. for hashnya in $(cat $ha);do
  38.     ((thread=thread%LIMITATOR)); ((thread++==0)) && wait
  39.     md5 "$hashnya" &
  40. done
  41. wait
Add Comment
Please, Sign In to add comment