-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvips.sh
112 lines (107 loc) · 3.96 KB
/
vips.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
#!/bin/bash
cyan='\e[0;36m'
green='\e[0;34m'
okegreen='\033[92m'
lightgreen='\e[1;32m'
white='\e[1;37m'
red='\e[1;31m'
yellow='\e[1;33m'
BlueF='\e[1;34m'
http(){
read -p " Country Code : " -e country
read -p " Limit : " -e limit
A="proxybroker find --types HTTP --lvl High Anonymous --countries "$country" --limit "$limit" --outfile ./http.txt"
$A
}
https(){
read -p " Country Code: " -e country
read -p " Limit : " -e limit
B="proxybroker find --types HTTPS --lvl High Anonymous --countries "$country" --limit "$limit" --outfile ./https.txt"
$B
}
socks5(){
read -p " Country Code : " -e country
read -p " Limit : " -e limit
C="proxybroker find --types SOCKS5 --lvl High Anonymous --countries "$country" --limit "$limit" --outfile ./socks5.txt"
$C
}
socks4(){
read -p " Country Code : " -e country
read -p " Limit : " -e limit
D="proxybroker find --types SOCKS4 --lvl High Anonymous --countries "$country" --limit "$limit" --outfile ./socks4.txt"
$D
}
check(){
read -p "File : " -e check
myArray=($(cat $check))
total=${#myArray[*]}
touch tempfile
for (( i=0; i<=$(( $total -1 )); i++ ))
do
echo ${myArray[i]} > tempfile
IP=`grep -oE "\b([0-9]{1,3}\.){3}[0-9:]{1,3}\b" tempfile | sed "s~:[0-9]*~~g"`
echo $IP
if [[ "$IP" > "" ]]; then
exe='curl http://ipinfo.io/'$IP' -s'
GET=("$exe")
$GET
echo ""
fi
done
}
update(){
run=`bash setup.sh`
$run
}
clear
echo -e ""
echo -e $cyan" ██╗ ██╗██╗██████╗ ██████╗ █████╗ "
echo -e $cyan" ██║ ██║██║██╔══██╗██╔════╝██╔══██╗"
echo -e $cyan" ██║ ██║██║██████╔╝███████╗╚██████║"
echo -e $cyan" ╚██╗ ██╔╝██║██╔═══╝ ██╔═══██╗╚═══██║"
echo -e $cyan" ╚████╔╝ ██║██║ ╚██████╔╝█████╔╝"
echo -e $cyan" ╚═══╝ ╚═╝╚═╝ V.1 ╚═════╝ ╚════╝ "
echo -e $white" ████████████████████████████████████"
echo -e $white" ██ PROXYs TOOL ██"
echo -e $white" ████████████████████████████████████"
echo -e $cyan" Coded By Ray Ricardo"
echo -e $white" ____________________________________"
echo -e ""
echo -e $white" ["$red"1"$white"] "$lightgreen"Search Proxy/Socks"
echo -e $white" ["$red"2"$white"] "$lightgreen"Check Proxy/Socks"
echo -e $white" ["$red"3"$white"] "$lightgreen"Update"
echo -e ""
echo -e $white" ┌─["$cyan"VIPs69"$white"]──[~]─[menu]:"$white
read -p " └─────► " -e menu
if [[ $menu = 1 ]]; then
echo -e $white" ["$red"1"$white"] "$lightgreen"HTTP"
echo -e $white" ["$red"2"$white"] "$lightgreen"HTTPS"
echo -e $white" ["$red"3"$white"] "$lightgreen"Socks4"
echo -e $white" ["$red"4"$white"] "$lightgreen"Socks5"
echo -e $white" ┌─["$cyan"VIPs69"$white"]──[~]─[menu]:"$white
read -p " └─────► " -e menuA
if [[ $menuA = 1 ]]; then
http
echo -e $okegreen " Done!"
echo " Saved in file http.txt"
elif [[ $menuA = 2 ]]; then
https
echo -e $okegreen " Done!"
echo " Saved in file https.txt"
elif [[ $menuA = 3 ]]; then
socks4
echo -e $okegreen "Done!"
echo " Saved in file socks4.txt"
elif [[ $menuA = 4 ]]; then
socks5
echo -e $okegreen " Done!"
echo " Saved in file socks5.txt"
fi
elif [[ $menu = 2 ]]; then
check
elif [[ $menu = 3 ]]; then
update
else
echo "ERROR : Command Not Found"
fi
#grep -oE "\b([0-9]{1,3}\.){3}[0-9:]{1,3}\b" target.txt | sed "s~:[0-9]*~~g"