pyntcli 0.1.78__py3-none-any.whl → 0.1.80__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 CHANGED
@@ -1 +1 @@
1
- __version__ = "0.1.78"
1
+ __version__ = "0.1.80"
pyntcli/commands/burp.py CHANGED
@@ -289,12 +289,12 @@ class BurpCommand(sub_command.PyntSubCommand):
289
289
  json_report_path = util.get_user_report_path(full_path, "json")
290
290
 
291
291
  if html_report:
292
- with open(html_report_path, "w") as html_file:
292
+ with open(html_report_path, "w",encoding="utf-8") as html_file:
293
293
  html_file.write(html_report)
294
294
  webbrowser.open("file://{}".format(html_report_path))
295
295
 
296
296
  if json_report:
297
- with open(json_report_path, "w") as json_file:
297
+ with open(json_report_path, "w",encoding="utf-8") as json_file:
298
298
  json_file.write(json_report)
299
299
  reporter = cli_reporter.PyntReporter(json_report_path)
300
300
  reporter.print_summary()
@@ -216,7 +216,7 @@ class CommandSubCommand(sub_command.PyntSubCommand):
216
216
  json_report_path = util.get_user_report_path(full_path, "json")
217
217
 
218
218
  if html_report:
219
- with open(html_report_path, "w") as html_file:
219
+ with open(html_report_path, "w", encoding="utf-8") as html_file:
220
220
  html_file.write(html_report)
221
221
  webbrowser.open("file://{}".format(html_report_path))
222
222
 
@@ -185,12 +185,12 @@ class ListenSubCommand(sub_command.PyntSubCommand):
185
185
  json_report_path = util.get_user_report_path(full_path, "json")
186
186
 
187
187
  if html_report:
188
- with open(html_report_path, "w") as html_file:
188
+ with open(html_report_path, "w",encoding="utf-8") as html_file:
189
189
  html_file.write(html_report)
190
190
  webbrowser.open("file://{}".format(html_report_path))
191
191
 
192
192
  if json_report:
193
- with open(json_report_path, "w") as json_file:
193
+ with open(json_report_path, "w",encoding="utf-8") as json_file:
194
194
  json_file.write(json_report)
195
195
  reporter = cli_reporter.PyntReporter(json_report_path)
196
196
  reporter.print_summary()
pyntcli/commands/util.py CHANGED
@@ -66,7 +66,7 @@ def create_default_file_mounts(args):
66
66
  json_report_path = os.path.join(os.getcwd(), "pynt_results.json")
67
67
 
68
68
  mounts = []
69
- with open(html_report_path, "w"), open(json_report_path, "w"):
69
+ with open(html_report_path, "w",encoding="utf-8"), open(json_report_path, "w",encoding="utf-8"):
70
70
  mounts.append(pynt_container.create_mount(json_report_path, "/etc/pynt/results/results.json"))
71
71
  mounts.append(pynt_container.create_mount(html_report_path, "/etc/pynt/results/results.html"))
72
72
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyntcli
3
- Version: 0.1.78
3
+ Version: 0.1.80
4
4
  Summary: Command line utility to handle all of Pynt's different integrations
5
5
  Author-email: Pynt-io <support@pynt.io>
6
6
  Project-URL: Homepage, https://pynt.io
@@ -1,21 +1,21 @@
1
- pyntcli/__init__.py,sha256=cuUtSYNKagkLSJy-70gTrh1AaSFvZghs1j1tDigeINo,23
1
+ pyntcli/__init__.py,sha256=7BO6MGkPGuN-ZrZBKBek9x0F-EwGEiaELuB5k1018oE,23
2
2
  pyntcli/main.py,sha256=7ZDeG3IO04T98D2NJ1vHWVAVJVm8y719NeV2Aom7tPY,5171
3
3
  pyntcli/analytics/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  pyntcli/analytics/send.py,sha256=cKvMw4HIGJGLip5OMPqTv1AJDlKlc_Uk2Sfcl0e3QLE,2845
5
5
  pyntcli/auth/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
6
  pyntcli/auth/login.py,sha256=TljsRXbEkNI1YUrKm5mlTw4YiecYScYUsit8Z8vstss,5228
7
7
  pyntcli/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
- pyntcli/commands/burp.py,sha256=8Pi9BZ1jNjpDRaueukSEEwUl-lU-lduCVOlvwLy-5dE,10531
9
- pyntcli/commands/command.py,sha256=UvJEHv69iQ03R0pN2RCsi3my48xwSMoDBTvcnbg_XzE,9477
8
+ pyntcli/commands/burp.py,sha256=KuxeX9I0ZXSVAMHdt9OYFok79X9IK6z71-ZN-_fnrvU,10565
9
+ pyntcli/commands/command.py,sha256=0O7Za_cjT6vDkDfM0OTMPB6DLI3U1r1R7lXQydz7458,9495
10
10
  pyntcli/commands/har.py,sha256=mSCbTUnxQrKzJd-dAWoc6Tkw6tU1LDH7Ha1w2ylrrrg,3654
11
11
  pyntcli/commands/id_command.py,sha256=UBEgMIpm4vauTCsKyixltiGUolNg_OfHEJvJ_i5BpJY,943
12
- pyntcli/commands/listen.py,sha256=ZfzCM8P0TVweC42NCL24_1yK48_NvRER6Vi8_oChaT0,8450
12
+ pyntcli/commands/listen.py,sha256=JoDo3BirYf9f3Fr21qAQ7kIDmLbM5cuFzQtf8RQ_nhs,8484
13
13
  pyntcli/commands/newman.py,sha256=y0KolwMgsvoqPz2mp0QRug_qNr-ftOZbu_tN7h4bH7I,4826
14
14
  pyntcli/commands/postman.py,sha256=GWq4NJJ_9WdFiXk5rv2nTyMM27w50XLh4LKkuuWpw4I,4721
15
15
  pyntcli/commands/pynt_cmd.py,sha256=KOl9guUtesO2JcMM5nPKKkjnK6F9HV4jHHcoUk4KVhw,2825
16
16
  pyntcli/commands/root.py,sha256=GijCi8hqe8sXEo6faWimlCmT8d782yjrw1IWJT5RAMk,3320
17
17
  pyntcli/commands/sub_command.py,sha256=GF3-rE_qk2L4jGPFqHLm9SdGINmu3EakhjJTFyWjRms,374
18
- pyntcli/commands/util.py,sha256=mi9c6Ex0ftpdY0jvI5BiBD2zwJD6RhrPQ2VyfxBZlA8,2793
18
+ pyntcli/commands/util.py,sha256=NJBJk4tKzrWmilYdo-7CROH5IXKl0UQAPKaMzRZtxm8,2827
19
19
  pyntcli/log/__init__.py,sha256=cOGwOYzMoshEbZiiasBGkj6wF0SBu3Jdpl-AuakDesw,19
20
20
  pyntcli/log/log.py,sha256=cWCdWmUaAwePwdhYDcgNMEG9d9RM34sGahxBCYEdv2Y,1069
21
21
  pyntcli/pynt_docker/__init__.py,sha256=PQIOVxc7XXtMLfEX7ojgwf_Z3mmTllO3ZvzUZTPOxQY,30
@@ -35,8 +35,8 @@ pyntcli/ui/ui_thread.py,sha256=OVTbiIFMg2KgxAvHf7yy86xGm4RVS2vj_VYZkMi-SRY,4956
35
35
  tests/conftest.py,sha256=gToq5K74GtgeGQXjFvXSzMaE6axBYxAzcFG5XJPOXjI,427
36
36
  tests/auth/test_login.py,sha256=KFlzWhXBAuwdi7GXf16gCB3ya94LQG2wjcSChE149rQ,3798
37
37
  tests/store/test_cred_store.py,sha256=_7-917EtNC9eKEumO2_lt-7KuDmCwOZFaowCm7DbA_A,254
38
- pyntcli-0.1.78.dist-info/METADATA,sha256=vpYqMPa_9fAVZI0MDqFG3hacxOJcs2JEy96zrMfGX4o,463
39
- pyntcli-0.1.78.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
40
- pyntcli-0.1.78.dist-info/entry_points.txt,sha256=kcGmqAxXDttNk2EPRcqunc_LTVp61gzakz0v-GEE2SY,43
41
- pyntcli-0.1.78.dist-info/top_level.txt,sha256=u9MDStwVHB7UG8PUcODeWCul_NvzL2EzoLvSlgwLHFs,30
42
- pyntcli-0.1.78.dist-info/RECORD,,
38
+ pyntcli-0.1.80.dist-info/METADATA,sha256=vpZ6n4DcVQ0o7mAw6eubAsPDT7buPIzGBwbDDN0rbuA,463
39
+ pyntcli-0.1.80.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
40
+ pyntcli-0.1.80.dist-info/entry_points.txt,sha256=kcGmqAxXDttNk2EPRcqunc_LTVp61gzakz0v-GEE2SY,43
41
+ pyntcli-0.1.80.dist-info/top_level.txt,sha256=u9MDStwVHB7UG8PUcODeWCul_NvzL2EzoLvSlgwLHFs,30
42
+ pyntcli-0.1.80.dist-info/RECORD,,