magnax 1.0.7__py3-none-any.whl → 1.0.8__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- magnax/__init__.py +1 -1
- magnax/templates/base.html +2 -0
- magnax/web.py +5 -5
- {magnax-1.0.7.dist-info → magnax-1.0.8.dist-info}/METADATA +1 -1
- {magnax-1.0.7.dist-info → magnax-1.0.8.dist-info}/RECORD +9 -9
- {magnax-1.0.7.dist-info → magnax-1.0.8.dist-info}/WHEEL +0 -0
- {magnax-1.0.7.dist-info → magnax-1.0.8.dist-info}/entry_points.txt +0 -0
- {magnax-1.0.7.dist-info → magnax-1.0.8.dist-info}/licenses/LICENSE +0 -0
- {magnax-1.0.7.dist-info → magnax-1.0.8.dist-info}/top_level.txt +0 -0
magnax/__init__.py
CHANGED
magnax/templates/base.html
CHANGED
|
@@ -22,6 +22,8 @@
|
|
|
22
22
|
<link rel="stylesheet" href="./static/css/sweetalert2.min.css" />
|
|
23
23
|
<!--highlight-->
|
|
24
24
|
<link rel="stylesheet" href="./static/css/highlight.min.css">
|
|
25
|
+
<!-- MagnaX Dark Theme -->
|
|
26
|
+
<link rel="stylesheet" href="./static/css/magnax-dark-theme.css">
|
|
25
27
|
|
|
26
28
|
{% block css %}
|
|
27
29
|
{% endblock %}
|
magnax/web.py
CHANGED
|
@@ -85,7 +85,7 @@ def listen(port):
|
|
|
85
85
|
if conn:
|
|
86
86
|
pid = conn[0].pid
|
|
87
87
|
logger.warning('Port {} is used by process {}'.format(port, pid))
|
|
88
|
-
logger.info('you can start
|
|
88
|
+
logger.info('you can start magnax : python -m magnax --host={ip} --port={port}')
|
|
89
89
|
return False
|
|
90
90
|
return True
|
|
91
91
|
|
|
@@ -98,9 +98,9 @@ def status(host: str, port: int):
|
|
|
98
98
|
def open_url(host: str, port: int):
|
|
99
99
|
flag = True
|
|
100
100
|
while flag:
|
|
101
|
-
logger.info('start
|
|
101
|
+
logger.info('start magnax service')
|
|
102
102
|
f = Figlet(font="slant", width=300)
|
|
103
|
-
print(f.renderText("
|
|
103
|
+
print(f.renderText("MAGNAX {}".format(__version__)))
|
|
104
104
|
flag = status(host, port)
|
|
105
105
|
try:
|
|
106
106
|
webbrowser.open('http://{}:{}/?platform=Android&lan=en'.format(host, port), new=2)
|
|
@@ -192,7 +192,7 @@ def _run_with_sudo_linux(cmd_args):
|
|
|
192
192
|
try:
|
|
193
193
|
# Try zenity (GNOME)
|
|
194
194
|
result = subprocess.run(
|
|
195
|
-
['zenity', '--password', '--title=
|
|
195
|
+
['zenity', '--password', '--title=MagnaX - iOS tunneld'],
|
|
196
196
|
capture_output=True,
|
|
197
197
|
text=True,
|
|
198
198
|
timeout=60
|
|
@@ -338,7 +338,7 @@ def main(host=ip(), port=50003):
|
|
|
338
338
|
pool.close()
|
|
339
339
|
pool.join()
|
|
340
340
|
except KeyboardInterrupt:
|
|
341
|
-
logger.info('stop
|
|
341
|
+
logger.info('stop magnax success')
|
|
342
342
|
sys.exit()
|
|
343
343
|
except Exception as e:
|
|
344
344
|
logger.exception(e)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
magnax/__init__.py,sha256=
|
|
1
|
+
magnax/__init__.py,sha256=s-amh7cn2nsrg5V0DxZ4bF8UFkStEodQ9MmuHKYEYyQ,49
|
|
2
2
|
magnax/__main__.py,sha256=68w-kiT6T5K21OeMstIIjL1TnZAyH1POhuwA4deKXa0,553
|
|
3
3
|
magnax/debug.py,sha256=9qiGqFyLOMgoC8gAfsU8Id0dysp3aKzKPwemIg1cx8U,1877
|
|
4
|
-
magnax/web.py,sha256=
|
|
4
|
+
magnax/web.py,sha256=IQj24QNgJ7I2YbnU4yu8KGojJfHEYyygqf7ZFYIiL8M,10679
|
|
5
5
|
magnax/public/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
6
6
|
magnax/public/adb.py,sha256=71usHLFn9mlh7V-xgHHMyiTvGzeFJgcSE5ObkP_2LDk,2709
|
|
7
7
|
magnax/public/android_fps.py,sha256=2OA49N6TG10-MlBUQk68rX0nBxfUjpx1Uv_tcnuVATw,34547
|
|
@@ -72,16 +72,16 @@ magnax/templates/404.html,sha256=aDPuisMTuUmS2HNstT04NtLNQmMpTCfublcBQFp4flY,776
|
|
|
72
72
|
magnax/templates/analysis.html,sha256=ciy7iAvC8iOU0R4lqoRi8pnRVAF9Acx1Ht1NAU6mwig,101507
|
|
73
73
|
magnax/templates/analysis_compare.html,sha256=zJ1kOOkxS6JmWf5W1DiJWH4UbzGe_6qs3HhZW6qxy1I,43224
|
|
74
74
|
magnax/templates/analysis_pk.html,sha256=czi3D3Ep6ZJRFxP-SAecNJtAHYoLDTRv8ZoL6xjVX1g,38461
|
|
75
|
-
magnax/templates/base.html,sha256=
|
|
75
|
+
magnax/templates/base.html,sha256=LhYbouAekXIpN3vm0OW_xDtpCGb3pSbBOY3n6E_AX5k,31660
|
|
76
76
|
magnax/templates/index.html,sha256=YlMiz2JxluRwPgxpgAbAFRu7C_j4iveaOsD02zizbEs,163760
|
|
77
77
|
magnax/templates/pk.html,sha256=PrOkJpwpi-fSCb67yAZHiE3UhGt12YqcxM-bQnEuZ7Y,56531
|
|
78
78
|
magnax/templates/report.html,sha256=ISMyWoD9G7Wk3pSy0veKLO-6w9ZaTG9XKnlnIo4Z2xU,36915
|
|
79
79
|
magnax/view/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
80
80
|
magnax/view/apis.py,sha256=hxHug7ffXkqYUsIzGs1HT2E-2yyfd8uvyH8F15mp6u4,41235
|
|
81
81
|
magnax/view/pages.py,sha256=xG1aGdAGFyWvyR_ebV7UFqlimBc9jEt2aLQmwDoti1s,4899
|
|
82
|
-
magnax-1.0.
|
|
83
|
-
magnax-1.0.
|
|
84
|
-
magnax-1.0.
|
|
85
|
-
magnax-1.0.
|
|
86
|
-
magnax-1.0.
|
|
87
|
-
magnax-1.0.
|
|
82
|
+
magnax-1.0.8.dist-info/licenses/LICENSE,sha256=09YEeCofSxCb1Asz9e5gZrgIIQqhy0LrIBCpgvQbqqI,1090
|
|
83
|
+
magnax-1.0.8.dist-info/METADATA,sha256=1itZJy5qW4yaFOFcnqD-U0CQyMbKyZSwo7LHJaP7-hk,8859
|
|
84
|
+
magnax-1.0.8.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
85
|
+
magnax-1.0.8.dist-info/entry_points.txt,sha256=L3KQqjbXBQQldfi_ZN5Katb4JyXPSmHAmjkjbFWt4XY,48
|
|
86
|
+
magnax-1.0.8.dist-info/top_level.txt,sha256=45TCGtmk8yUZsPPXDk3AgiZgDTxv2E9YDv9CHIk7NmU,7
|
|
87
|
+
magnax-1.0.8.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|