!/usr/bin/env bash
##### Hack Solustion ####
##### Script By Mr.exe  ######

#### Warna ####
cyan='\e[0;36m'
green='\e[0;34m'
okegreen='\033[92m'
Cafe="\033[0;33m"
lightgreen='\e[1;32m'
white='\e[1;37m'
red='\e[1;31m'
yellow='\e[1;33m'
BlueF='\e[1;34m'
purple="\033[0;35m"





# check internet
function checkinternet () {
while :
do
date

echo -e "Check Connection Internet"
    sleep 2
  ping -c 1 google.com > /dev/null
  if [[ "$?" != 0 ]]
  then
loadspeed
    echo -e $yellow"Checking For Internet: $red""FAILED"
    echo -e $red"The Connection is Disconnected"
    echo -e $cyan"This File Request Internet Connection"
    echo && sleep 3
    curl 'https://welcome2.wifi.id/authnew/login/check_login.php?ipc=10.176.69.130&gw_id=WAG-D7-PTR&mac=d0:37:45:42:84:7e&redirect=http://detectportal.firefox.com/success.txt&wlan=PALPLA00135/TLK-WI710531-0001:@wifi.id' -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0' -H 'Accept: application/json, text/javascript, */*; q=0.01' -H 'Accept-Language: en-US,en;q=0.5' --compressed -H 'Referer: https://welcome2.wifi.id/login/?gw_id=WAG-D7-PTR&client_mac=d0:37:45:42:84:7e&wlan=PALPLA00135/TLK-WI710531-0001:@wifi.id&sessionid=0202FFFF7801B48B-5EB4A9E4&redirect=http://detectportal.firefox.com/success.txt' -H 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8' -H 'X-Requested-With: XMLHttpRequest' -H 'Connection: keep-alive' -H 'Cookie: _ga=GA1.3.514656919.1588901352; nvg51046=b5f39485199cfaaa10512228409|2_130; _em_vt=2aae0c59-b9ad-4c5f-accc-e63886f62612-171f1e6a2b5-091aefd1; _em_dmp=1588901354117; _em_gc=ID; _em_mb=0; cto_bundle=SwuCwV9BZmhwREljdGZFUzQ4enRjZGdyUzljcnFNV1BwNFhHQVolMkJ3RCUyQk56cGFmbjlsZnhtelQ1ZE1kMDl5VSUyQjV4eXVLbVNoQ1Q2RFpXcUlCT2tQUkpHSGpXcjFNcVoyeU9keTM2bkVtZUMxMG8lMkZxajIlMkIlMkJoVklHOG9OZk9hVyUyRkRXRVQ4; _ga=GA1.2.1915335683.1588991869; _gid=GA1.2.1071001476.1589947350; SERVERID=wpwifi5; PHPSESSID=5r1vukcnr8uvnhpg4cea8hvu60; default_wifi=bpgn4mumrlq2r5djrkd5dvf1hgsvtnbs' -H 'TE: Trailers' --data 'username=982287410667493@spin2&password=apk'
  else
loadspeed
    echo -e $cyan " Checking For Internet: "$red"CONNECTED "$yellow"✔"$cyan"...!!!"
  fi
done
}





#loading
function loading () {
: '
    This is a script which creates a loading
    screen in the center of a terminal window
    of size 120x50 in order to emulate the
    progress of an intstalltion for software
    or another script.
    ** vertical and horizontal spacing can be
    modified to accomodate a different size
    terminal window
    Created by Austin Harshberger
    09-17-2018
'

# Function to format vertical space
# (for centering the prompt on the screen)
formatting_space_verticle()
{
    until [[ $i -gt 25 ]]
    do
        echo ""
        i=$((i+1))
    done
    i=0
}

# Function to format horizontal space
# (for centering the prompt on the screen)
formatting_space_horozonal()
{
    echo -e '
                   ╭━━━━━╮
                 ╭╮┃*   *┃╭╮
                 ┃╰┫▽▽▽▽┣╯┃
                 ╰━┫△△△△┣━╯
                   ┃┈┈┈┈┈┃
                   ┃┈┏━┓┈┃
                   ╰━╯ ╰━╯
'
}

# Variables
var=0
i=0
dot='.'
dot_num=0

# Change this variable to alter speed of loading
speed_of_loading=.10

until [ $var -gt 100 ]
do
    formatting_space_verticle
    formatting_space_horozonal
  
    echo $var"% complete. Loading"$dot
    echo -e $cyan "Please Wait"
    sleep $speed_of_loading
  
    var=$((var+1))
  
    if [[ $dot_num -lt 4 ]]; then
        dot_num=$((dot_num+1))
        dot+='.'
    else
        dot_num=0
        dot='.'
    fi
  
    clear
done

formatting_space_verticle
formatting_space_horozonal

echo -e $red "Loading complete."

sleep 3
clear
checkinternet
}


#loadspeed
function loadspeed () {
: '
    This is a script which creates a loading
    screen in the center of a terminal window
    of size 120x50 in order to emulate the
    progress of an intstalltion for software
    or another script.
    ** vertical and horizontal spacing can be
    modified to accomodate a different size
    terminal window
    Created by Austin Harshberger
    09-17-2018
'

# Function to format vertical space
# (for centering the prompt on the screen)
formatting_space_verticle()
{
    until [[ $i -gt 25 ]]
    do
        echo ""
        i=$((i+1))
    done
    i=0
}

# Function to format horizontal space
# (for centering the prompt on the screen)
formatting_space_horozonal()
{
    echo -e '
                   ╭━━━━━╮
                 ╭╮┃*   *┃╭╮
                 ┃╰┫▽▽▽▽┣╯┃
                 ╰━┫△△△△┣━╯
                   ┃┈┈┈┈┈┃
                   ┃┈┏━┓┈┃
                   ╰━╯ ╰━╯
Check Connection Internet...!!!
'
}

# Variables
var=0
i=0
dot='.'
dot_num=0

# Change this variable to alter speed of loading
speed_of_loading=.05

until [ $var -gt 100 ]
do
    formatting_space_verticle
    formatting_space_horozonal
  
    echo $var"% complete. Loading"$dot
    echo -e "Please Wait"
    sleep $speed_of_loading
  
    var=$((var+1))
  
    if [[ $dot_num -lt 4 ]]; then
        dot_num=$((dot_num+1))
        dot+='.'
    else
        dot_num=0
        dot='.'
    fi
    clear
  
done

formatting_space_verticle
formatting_space_horozonal

echo -e $cyan"Loading "$yellow"complete."
sleep 2
}


loading


Login Komunitas Smart Bisnis

!/usr/bin/env bash
##### Hack Solustion ####
##### Script By Mr.exe  ######

#### Warna ####
cyan='\e[0;36m'
green='\e[0;34m'
okegreen='\033[92m'
Cafe="\033[0;33m"
lightgreen='\e[1;32m'
white='\e[1;37m'
red='\e[1;31m'
yellow='\e[1;33m'
BlueF='\e[1;34m'
purple="\033[0;35m"




while :
do
date

echo -e "Check Connection Internet"
    sleep 2
  ping -c 1 google.com > /dev/null
  if [[ "$?" != 0 ]]
  then
    echo -e $yellow"Checking For Internet: $red""FAILED"
    echo -e $red"The Connection is Disconnected"
    echo -e $cyan"This File Request Internet Connection"
    echo && sleep 3
curl 'https://welcome2.wifi.id/authnew/login/check_login.php?ipc=10.176.121.173&gw_id=WAG-D7-PTR&mac=d0:37:45:42:84:7e&redirect=http://8.8.8.8/&wlan=PALPLA00135/TLK-WI710531-0001:@wifi.id' -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0' -H 'Accept: application/json, text/javascript, */*; q=0.01' -H 'Accept-Language: en-US,en;q=0.5' --compressed -H 'Referer: https://welcome2.wifi.id/login/?gw_id=WAG-D7-PTR&client_mac=d0:37:45:42:84:7e&wlan=PALPLA00135/TLK-WI710531-0001:@wifi.id&sessionid=0202FFFF7804F436-5F2B51E2&redirect=http://8.8.8.8/' -H 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8' -H 'X-Requested-With: XMLHttpRequest' -H 'Connection: keep-alive' -H 'Cookie: SERVERID=wpwifi6; default_wifi=rer5osdo2gbrmkgq6gk97rum62g4o0es; _ga=GA1.2.1225733804.1596691258; _gid=GA1.2.1812927414.1596691258' -H 'TE: Trailers' --data 'username=andrew@sianturi@komunitas.smartbisnis&password=amspro&landURL='
  else
sleep 2
echo -e "Wait"
    echo -e $cyan " Checking For Internet: "$red"CONNECTED "$yellow"✔"$cyan"...!!!"
  fi
done








Trima Kasih Atas Pengunjungannya... Jangan lupa balek lagi... :3







0 comments:

Posting Komentar

Copyright © 2012 Mr.exe / Template by : ZeroCool