-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmain_imports.py
More file actions
38 lines (34 loc) · 1.19 KB
/
main_imports.py
File metadata and controls
38 lines (34 loc) · 1.19 KB
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
import os
import platform
from core.res import *
from core.res import __version__
if platform.system() == "Linux":
from core.res.lin_col import *
r = lin_col.r
g = lin_col.g
y = lin_col.y
col = lin_col.col
elif platform.system() == "Windows":
from core.res.win_col import *
r = win_col.r
g = win_col.g
y = win_col.y
p = win_col.p
lr = win_col.lr
lp = win_col.lp
else:
from core.res.lin_col import *
r = lin_col.r
g = lin_col.g
y = lin_col.y
col = lin_col.col
args = arguments.args
parser = arguments.parser
exception = f'''
{"MiProxy "+__version__}
Usage: python {os.path.basename(__file__)} --generate --count [LOOP_COUNT] -o [out.ext]
python {os.path.basename(__file__)} --scrape -api [API_LINK] -o [out.ext]
python {os.path.basename(__file__)} --check -f [proxies.txt] --type [http/socks4/socks5] -t [second] -o [out.ext] -dC/-dc/-rn/-ct/-dt/-isp/-zip/-lc/-all
python {os.path.basename(__file__)} --check -u [test_url] -f [proxies.txt] --type [http/socks4/socks5] -t [second] -o [out.ext]
python {os.path.basename(__file__)} --add -f [ip_file.txt] -p [port] -o [out.ext]
'''