Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # jangan recode gan hargai pembuatnya pusing w buat nya
- # capek tau buatnya !! udah open source ga mau belajar ..zzz
- agent=$(python3 -c "
- from fake_useragent import UserAgent
- ua = UserAgent()
- a = ua.random
- user_agent = ua.random
- print(user_agent)")
- #agent2=$(cat ua.txt | sort -R | head -1)
- GREEN=$(tput setaf 2) #HIJAU
- WHITE=$(tput setaf 7) #PUTIH
- CYAN=$(tput setaf 6)
- RED=$(tput setaf 1) #MERAH
- NORMAL=$(tput sgr0)
- gr="\e[42m"
- if [[ -z $(command -v curl && command -v grep && command -v gawk && command -v tail && command -v tput && command -v python) ]]; then
- echo -e "[sepertinya belom di install]"
- apt install python
- pip3 install fake_useragent
- fi
- function ProgressBar {
- # Process data
- let _progress=(${1}*100/${2}*100)/100
- let _done=(${_progress}*4)/10
- let _left=40-$_done
- _fill=$(printf "%${_done}s")
- _empty=$(printf "%${_left}s")
- printf "\rProgress : [${_fill// /\#}${_empty// /-}] ${_progress}%%"
- }
- # Variables
- _start=1
- _end=100
- function pisah(){
- azw=$(curl -sL "$LINK" | grep -Po '<a href="\K.*?(?=".*)' | grep "/visit/")
- ajg=$(echo -e "https://zanbooredana.com/visit$azw")
- }
- function baner(){
- echo -e "
- ${CYAN}┌┐ ┬ ┬┌─┐┌─┐┌─┐┌─┐
- ├┴┐└┬┘├─┘├─┤└─┐└─┐
- ${RED}└─┘ ┴ ┴ ┴ ┴└─┘└─┘ cod3t: by widhisec
- ---------------------------
- "
- }
- baner
- function short(){
- pisah
- hm=$(curl --location --silent "$LINK" | grep -Eo "(http|https)://[a-zA-Z0-9./?]*?")
- cok1=$(curl --silent -I "$hm" -A "$agent" --location | gawk "/set-cookie:/{print $2}" | head -1 | gawk '{ print $2 }' | cut -d "=" -f2)
- cok2=$(curl --silent -I "$hm" -A "$agent" --location | gawk "/set-cookie:/{print $2}" | tail -1 | gawk '{ print $2 }' | cut -d "=" -f2)
- g3t=$(curl --silent "$ajg" -A "$agent" --compressed \
- -H "upgrade-insecure-requests: 1" \
- -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 "cookie: __cfduid=$cok1 PHPSESSID=$cok2" | grep -Eo "(http|https)://[a-zA-Z0-9./?]*?")
- echo -e "${GREEN}TERBYPASS -> ${NORMAL}$g3t"
- }
- read -p "${CYAN}URL ${WHITE}HERE :" LINK
- #read -p "${CYAN}SOCKS5 :" socks5
- for number in $(seq ${_start} ${_end})
- do
- ProgressBar ${number} ${_end}
- done
- printf '\nFinished!\n'
- #if [[ -z $1 ]]; then
- # echo "[!! errorr"
- # exit
- #fi
- short "$LINK" "$azw"
- #done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement