Advertisement
ccocot

Extrap reedem code vivo selfie skin mobile legend

Nov 21st, 2017
2,336
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.68 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. # BC0DE.NET - NAONLAH.NET - WingkoColi
  4. # CODE BY CCOCOT - ccocot@bc0de.net
  5. # VIVO EXTRAP Skin Reedem Code
  6. # Change My Game Id With Your Game ID
  7.  
  8. UA=$(cat ua.txt | sort -R  | head -1)
  9.  
  10. CY='\e[36m'
  11. GR='\e[34m'
  12. OG='\e[92m'
  13. WH='\e[37m'
  14. RD='\e[31m'
  15. YL='\e[33m'
  16. BF='\e[34m'
  17. DF='\e[39m'
  18. OR='\e[33m'
  19. PP='\e[35m'
  20. B='\e[1m'
  21. CC='\e[0m'
  22.  
  23. # GANTI GAMEID GUA DENGAN GAMEID LO Y
  24. gameid='66434505'
  25.  
  26. function ekse(){
  27.     local CY='\e[36m'
  28.     local GR='\e[34m'
  29.     local OG='\e[92m'
  30.     local WH='\e[37m'
  31.     local RD='\e[31m'
  32.     local YL='\e[33m'
  33.     local BF='\e[34m'
  34.     local DF='\e[39m'
  35.     local OR='\e[33m'
  36.     local PP='\e[35m'
  37.     local B='\e[1m'
  38.     local CC='\e[0m'
  39.     local NEW_UUID1=$(cat /dev/urandom | tr -dc '0-9' | fold -w 3 | head -n 1)
  40.     local NEW_UUID2=$(cat /dev/urandom | tr -dc 'a-z' | fold -w 3 | head -n 1)
  41.     local reedemcode=$(echo ${NEW_UUID1}${NEW_UUID2}037)
  42.     local ngecurl=$(curl -k -s 'https://www.mobilelegends.com/user/vivoexchange?gameid='${1}'&cdkey='${reedemcode}'' \
  43.     -H 'accept:application/json, text/javascript, */*; q=0.01' \
  44.     -H 'user-agent: '${3}'' \
  45.     -H 'cookie:PHPSESSID=sjqvb9sbkcgvedcp8kaet93766; _ga=GA1.2.654755736.1511317123; _gid=GA1.2.1313806257.1511317123; _gat=1' \
  46.     -H 'x-requested-with:XMLHttpRequest')
  47.     local message=$(echo $ngecurl | jq -r .message)
  48.     if [[ $message == "The code cannot be redeemed any more." ]]; then
  49.         echo "${reedemcode} => ${message} (Have not been used)" >> outputvivo.txt
  50.         printf "${2}. Voucher: ${reedemcode} => ${B}${GR}${message}${CC} \n"
  51.     elif [[ $message == "Success!" ]]; then
  52.         echo "${reedemcode} => ${message} (Recently used)" >> outputvivo.txt
  53.         printf "${2}. Voucher: ${reedemcode} => ${B}${GR}${message}${CC} \n"
  54.     elif [[ $message == "null" ]]; then
  55.         echo "${reedemcode} => ${message} (Recheck)" >> outputvivo.txt
  56.         printf "${2}. Voucher: ${reedemcode} => ${B}${YL}${message}${CC} \n"
  57.     else
  58.         printf "${2}. Voucher: ${reedemcode} => ${B}${RD}${message}${CC} \n"
  59.     fi
  60. }
  61.  
  62. printf "Info: \n"
  63. printf "* GameId: ${B}${GR}${gameid}${CC} \n"
  64. printf "* Looping type: while true\n\n"
  65.  
  66. # OPTIONAL
  67. persend=4
  68. setleep=2
  69.  
  70. printf "Ratio: \n"
  71. printf "* Persend: ${persend}\n"
  72. printf "* setSleep: ${setleep}\n\n"
  73.  
  74. itung=1
  75. while [[ true ]]; do
  76.     set_kirik=$(expr $itung % $persend)
  77.     if [[ $set_kirik == 0 && $itung > 0 ]]; then
  78.         blockedTest=$(curl -s -o /dev/null -w "%{http_code}" "https://www.mobilelegends.com/user/code?country=en")
  79.         if [[ $blockedTest != "200" ]]; then
  80.             printf "Blocked Detect, Kill PID NOW !"
  81.             exit 1
  82.         fi
  83.         sleep $setleep
  84.     fi
  85.     ekse $gameid $itung $UA &
  86.     itung=$[$itung+1]
  87. done
  88. wait
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement