23 lines
625 B
Python
23 lines
625 B
Python
import base64
|
|
import json
|
|
|
|
node = {
|
|
"local_address": "0.0.0.0",
|
|
"local_port": 21180,
|
|
"server": "121.14.152.149",
|
|
"server_port": 10004,
|
|
"method": "aes-256-cfb",
|
|
"password": "dwz1GtF7",
|
|
"mx_head_str": "com.win64.oppc.game.common:22021709,102024080020541279",
|
|
"PluginName": None,
|
|
"PluginOption": None,
|
|
"ConfigType": 0,
|
|
}
|
|
|
|
formatted = f"MuXunProxy.exe --mx {base64.b64encode(json.dumps(node).encode(encoding='utf-8')).decode(encoding='utf-8').swapcase()} -u --no-delay --fast-open -zv"
|
|
|
|
print(formatted)
|
|
|
|
with open("output.txt", "wb") as F:
|
|
F.write(formatted.encode(encoding="UTF-8"))
|