-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmiproxy2.py
65 lines (53 loc) · 1.29 KB
/
miproxy2.py
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
# -*- coding: utf-8 -*-
#! /usr/bin/python3
__doc__ = """\n# 1st Release : 25th April 2023 (GMT+6)
# MiProxy2 : Proxy Tool Lvl-2
# Version : 2.0
# Lisence : GPL 3.0
# Github : github.com/InferiorAK
# facebook : fb.com/InferiorAK
# Youtbe : youtube.com/@inferiorak
# twitter : twitter.com/@inferiorak
-------- Copyright (C) 2022 InferiorAK -------\n"""
import main_imports
from main_imports import *
from core import *
# Generate Random IP
if args.generate:
others.gen()
# Scrape Proxies
elif args.scrape:
if args.api:
others.scrp()
else:
print(exception)
# upgrade tool
elif args.upgrade:
others.upgrade()
# clean Cache
elif args.clean:
others.clean()
# Check Proxy
elif args.check:
if args.type == "http": # check http
httpck.http_check()
elif args.type == "socks4":
# socks4ck.socks4_check()
print("I am Still Working on This")
elif args.type == "socks5":
# socks5sc.socks5_check()
print("I am Still Working on This")
else:
print(exception)
# Add Port
elif args.add:
if args.file:
others.add_port()
else:
print(exception)
# Print Version
elif args.version:
print(f"MiProxy2 {main_imports.__version__}")
else:
print(__doc__)
parser.print_help()