mirror of
https://github.com/MatrixTM/MHDDoS.git
synced 2024-11-16 19:56:37 +08:00
Use an https method of getting the IP address
This commit is contained in:
parent
b87758bd75
commit
3ecbcd014e
2
start.py
2
start.py
|
@ -37,7 +37,7 @@ ctx.verify_mode = CERT_NONE
|
||||||
|
|
||||||
__version__ = "2.1 SNAPSHOT"
|
__version__ = "2.1 SNAPSHOT"
|
||||||
__dir__ = Path(__file__).parent
|
__dir__ = Path(__file__).parent
|
||||||
__ip__ = get('http://ip.42.pl/raw').text
|
__ip__ = get('https://api.my-ip.io/ip').text
|
||||||
|
|
||||||
|
|
||||||
def exit(*message):
|
def exit(*message):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user