2022-05-05 13:22:29 +00:00
|
|
|
import os
|
|
|
|
|
2022-04-20 10:13:26 +00:00
|
|
|
# This can also be replaced with another IP address.
|
2022-04-21 13:41:07 +00:00
|
|
|
USE_SSL = True
|
2022-05-05 13:22:29 +00:00
|
|
|
REMOTE_HOST = "localhost"
|
|
|
|
REMOTE_PORT = 443
|
|
|
|
|
|
|
|
if os.getenv('MITM_REMOTE_HOST') != None:
|
|
|
|
REMOTE_HOST = os.getenv('MITM_REMOTE_HOST')
|
|
|
|
if os.getenv('MITM_REMOTE_PORT') != None:
|
|
|
|
REMOTE_PORT = int(os.getenv('MITM_REMOTE_PORT'))
|
|
|
|
if os.getenv('MITM_USE_SSL') != None:
|
|
|
|
USE_SSL = bool(os.getenv('MITM_USE_SSL'))
|
|
|
|
|
|
|
|
print('MITM Remote Host: ' + REMOTE_HOST)
|
|
|
|
print('MITM Remote Port: ' + str(REMOTE_PORT))
|
|
|
|
print('MITM Use SSL ' + str(USE_SSL))
|