pyntcli 0.1.120__py3-none-any.whl → 0.1.122__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.
- pyntcli/__init__.py +1 -1
- pyntcli/commands/command.py +1 -1
- pyntcli/commands/har.py +7 -4
- pyntcli/commands/listen.py +1 -1
- pyntcli/commands/newman.py +6 -3
- pyntcli/pynt_docker/pynt_container.py +0 -4
- {pyntcli-0.1.120.dist-info → pyntcli-0.1.122.dist-info}/METADATA +1 -1
- {pyntcli-0.1.120.dist-info → pyntcli-0.1.122.dist-info}/RECORD +11 -11
- {pyntcli-0.1.120.dist-info → pyntcli-0.1.122.dist-info}/WHEEL +1 -1
- {pyntcli-0.1.120.dist-info → pyntcli-0.1.122.dist-info}/top_level.txt +0 -1
- {pyntcli-0.1.120.dist-info → pyntcli-0.1.122.dist-info}/entry_points.txt +0 -0
pyntcli/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "0.1.
|
|
1
|
+
__version__ = "0.1.122"
|
pyntcli/commands/command.py
CHANGED
|
@@ -210,7 +210,7 @@ class CommandSubCommand(sub_command.PyntSubCommand):
|
|
|
210
210
|
|
|
211
211
|
if scan_details_url:
|
|
212
212
|
webbrowser.open(scan_details_url)
|
|
213
|
-
|
|
213
|
+
elif html_report_path and os.path.exists(html_report_path):
|
|
214
214
|
webbrowser.open("file://{}".format(html_report_path))
|
|
215
215
|
|
|
216
216
|
self.handle_json_report(args)
|
pyntcli/commands/har.py
CHANGED
|
@@ -129,8 +129,11 @@ class HarSubCommand(sub_command.PyntSubCommand):
|
|
|
129
129
|
if scan_details_url:
|
|
130
130
|
webbrowser.open(scan_details_url)
|
|
131
131
|
else:
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
132
|
+
app_provided = args.application_name or args.application_id
|
|
133
|
+
|
|
134
|
+
if app_provided:
|
|
135
|
+
ui_thread.print_verbose(ui_thread.PrinterText(
|
|
136
|
+
"Could not get report url, trying to open report file",
|
|
137
|
+
ui_thread.PrinterText.INFO
|
|
138
|
+
))
|
|
136
139
|
util.open_report_from_file()
|
pyntcli/commands/listen.py
CHANGED
|
@@ -158,7 +158,7 @@ class ListenSubCommand(sub_command.PyntSubCommand):
|
|
|
158
158
|
|
|
159
159
|
if scan_details_url:
|
|
160
160
|
webbrowser.open(scan_details_url)
|
|
161
|
-
|
|
161
|
+
elif html_report_path and os.path.exists(html_report_path):
|
|
162
162
|
webbrowser.open("file://{}".format(html_report_path))
|
|
163
163
|
|
|
164
164
|
self.handle_json_report(args)
|
pyntcli/commands/newman.py
CHANGED
|
@@ -137,8 +137,11 @@ class NewmanSubCommand(sub_command.PyntSubCommand):
|
|
|
137
137
|
if scan_details_url:
|
|
138
138
|
webbrowser.open(scan_details_url)
|
|
139
139
|
else:
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
140
|
+
app_provided = args.application_name or args.application_id
|
|
141
|
+
|
|
142
|
+
if app_provided:
|
|
143
|
+
ui_thread.print_verbose(ui_thread.PrinterText(
|
|
144
|
+
"Could not get report url, trying to open report file",
|
|
145
|
+
ui_thread.PrinterText.INFO,
|
|
143
146
|
))
|
|
144
147
|
util.open_report_from_file()
|
|
@@ -172,10 +172,6 @@ def get_docker_mounts(args: argparse.Namespace) -> list:
|
|
|
172
172
|
ca_name = os.path.basename(args.host_ca)
|
|
173
173
|
mounts.append(create_mount(os.path.abspath(args.host_ca), "/etc/pynt/{}".format(ca_name)))
|
|
174
174
|
|
|
175
|
-
if "transport_config" in args and args.transport_config:
|
|
176
|
-
tc_name = os.path.basename(args.transport_config)
|
|
177
|
-
mounts.append(create_mount(os.path.abspath(args.transport_config), "/etc/pynt/{}".format(tc_name)))
|
|
178
|
-
|
|
179
175
|
return mounts
|
|
180
176
|
|
|
181
177
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
ignoreTests/conftest.py,sha256=gToq5K74GtgeGQXjFvXSzMaE6axBYxAzcFG5XJPOXjI,427
|
|
2
2
|
ignoreTests/auth/login.py,sha256=7GeBirHTD9t6EassLYsegCw1FZHkfjvVW1Z5uybHzgM,3801
|
|
3
3
|
ignoreTests/store/cred_store.py,sha256=_7-917EtNC9eKEumO2_lt-7KuDmCwOZFaowCm7DbA_A,254
|
|
4
|
-
pyntcli/__init__.py,sha256=
|
|
4
|
+
pyntcli/__init__.py,sha256=QWC1mHeiJQwotLRamG-Gp42VXOqQ357vH8ci0o24Ing,24
|
|
5
5
|
pyntcli/main.py,sha256=RD0W2_0ogYBCXubo-YewxHYkiIXxNv6NkZOh3n1VujE,5964
|
|
6
6
|
pyntcli/analytics/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
7
|
pyntcli/analytics/send.py,sha256=0hJ0WJNFHLqyohtRr_xOg5WEXzxHrUOlcePPg-k65Hk,3846
|
|
@@ -9,11 +9,11 @@ pyntcli/auth/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
9
9
|
pyntcli/auth/login.py,sha256=qtdoCgWIPi3_YXehI7SVk_E8aDVhH39wGc87tlkazSE,5558
|
|
10
10
|
pyntcli/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
11
|
pyntcli/commands/burp.py,sha256=9kcqjC9Rgj5oZimGZuA_oO71Hn2Z3py8k5vr-eMKnUM,14317
|
|
12
|
-
pyntcli/commands/command.py,sha256=
|
|
13
|
-
pyntcli/commands/har.py,sha256=
|
|
12
|
+
pyntcli/commands/command.py,sha256=IlVYe4MSAvH5c6ytcBhgh8TufxcbC_ddiuHkvMoPEkQ,9240
|
|
13
|
+
pyntcli/commands/har.py,sha256=xjiZcx9Vp-hXHYLZB-N_chA0d-nDoZZsxJbc6g2lXrU,5270
|
|
14
14
|
pyntcli/commands/id_command.py,sha256=UBEgMIpm4vauTCsKyixltiGUolNg_OfHEJvJ_i5BpJY,943
|
|
15
|
-
pyntcli/commands/listen.py,sha256=
|
|
16
|
-
pyntcli/commands/newman.py,sha256=
|
|
15
|
+
pyntcli/commands/listen.py,sha256=YkX6ntHWf4KGiYjIzUn-HNJ8w4z8jhN7bvPnvmV0Lo0,6987
|
|
16
|
+
pyntcli/commands/newman.py,sha256=5fbDYzUTwrdeKDlhB8DN9UvnRvjwKGy69AV1_iJ0APc,5889
|
|
17
17
|
pyntcli/commands/postman.py,sha256=h3ZZoIYmP2N5WyL8LrRqvBjPJ2pvNlIoBU-bvXCO9lE,5207
|
|
18
18
|
pyntcli/commands/pynt_cmd.py,sha256=oRKgiG9i84sxkS-C5Nw4vv9mIO6zL8YfqhOUJ-XVpas,7934
|
|
19
19
|
pyntcli/commands/root.py,sha256=H3-nS41YGrFjx4_fyKo8FVH3HB5z57oiE3jSaXqAkd8,4369
|
|
@@ -25,7 +25,7 @@ pyntcli/log/__init__.py,sha256=cOGwOYzMoshEbZiiasBGkj6wF0SBu3Jdpl-AuakDesw,19
|
|
|
25
25
|
pyntcli/log/log.py,sha256=YXCvcCzuhQ5QUT2L02uQEdN_lTCzLEuet4OnLuEnjlM,112
|
|
26
26
|
pyntcli/pynt_docker/__init__.py,sha256=PQIOVxc7XXtMLfEX7ojgwf_Z3mmTllO3ZvzUZTPOxQY,30
|
|
27
27
|
pyntcli/pynt_docker/container_utils.py,sha256=DeI-uSgdcO_2rGs2dvQ5gBDNo_iKKuPIQO2D9oej5Gw,1485
|
|
28
|
-
pyntcli/pynt_docker/pynt_container.py,sha256=
|
|
28
|
+
pyntcli/pynt_docker/pynt_container.py,sha256=NhAO6LUXSM8JdaWqsXgGBMljqiFiPIerAXw5fpAeEOs,13453
|
|
29
29
|
pyntcli/saas_client/__init__.py,sha256=HPBzoC5a6F5_WkHubcjq_W4m1OQ9i0TX8QXBtJlKm1M,26
|
|
30
30
|
pyntcli/saas_client/saas_client.py,sha256=Cpf1pitVlxjW7KpchPL7Q-DgUqw6A8ldCtDlBXaPig0,1663
|
|
31
31
|
pyntcli/store/__init__.py,sha256=1fP8cEAQCF_myja3gnhHH9FEqtBiOJ-2aBmUXSKBdFA,41
|
|
@@ -42,8 +42,8 @@ pyntcli/ui/report.py,sha256=W-icPSZrGLOubXgam0LpOvHLl_aZg9Zx9qIkL8Ym5PE,1930
|
|
|
42
42
|
pyntcli/ui/ui_thread.py,sha256=XUBgLpYQjVhrilU-ofw7VSXgTiwneSdTxm61EvC3x4Q,5091
|
|
43
43
|
tests/test_utils.py,sha256=t5fTQUk1U_Js6iMxcGYGqt4C-crzOJ0CqCKtLkRtUi0,2050
|
|
44
44
|
tests/commands/test_pynt_cmd.py,sha256=J4JrEuD_qSVN76Fu6bKRjrxWSwCTXVEAzVPYdXMa0tI,8826
|
|
45
|
-
pyntcli-0.1.
|
|
46
|
-
pyntcli-0.1.
|
|
47
|
-
pyntcli-0.1.
|
|
48
|
-
pyntcli-0.1.
|
|
49
|
-
pyntcli-0.1.
|
|
45
|
+
pyntcli-0.1.122.dist-info/METADATA,sha256=yQdV7FWfFEorSivCBaUFl3goJarSqD5Dwm6M3apvU6U,427
|
|
46
|
+
pyntcli-0.1.122.dist-info/WHEEL,sha256=qELbo2s1Yzl39ZmrAibXA2jjPLUYfnVhUNTlyF1rq0Y,92
|
|
47
|
+
pyntcli-0.1.122.dist-info/entry_points.txt,sha256=kcGmqAxXDttNk2EPRcqunc_LTVp61gzakz0v-GEE2SY,43
|
|
48
|
+
pyntcli-0.1.122.dist-info/top_level.txt,sha256=8-NQ8a-eg-nTcY6rsgl8JcCu5s9mlOuZI-0vXZH4hYc,31
|
|
49
|
+
pyntcli-0.1.122.dist-info/RECORD,,
|
|
File without changes
|