Jakub Jirutka
36e51f43f7
Log to stderr when running in non-interactive mode
...
So we can use stdout for data, e.g. printing product metadata in JSON.
2023-11-22 01:26:31 +01:00
Jakub Jirutka
dfc6e2feb8
Deduplicate printing empty line after head
2023-11-22 01:26:30 +01:00
Jakub Jirutka
1e82ba0813
Add support for running in non-interactive mode
...
- Exits with non-zero exit status on errors.
- Does not hang on prompts.
- Just prints text without fancy terminal stuff.
2023-11-22 01:25:57 +01:00
CorpNewt
1ef6a579e4
More WMIC and PowerShell fun
...
If we have a valid WMIC path, first try using it to gather information - if we don't get any disks that way, or we don't have a valid WMIC path, fall back on PowerShell. This should hopefully fix the Windows 11 issues.
2023-05-25 07:49:34 -05:00
CorpNewt
054fa19306
Try WMIC first, fall back on PowerShell
2023-05-24 19:17:21 -05:00
CorpNewt
f0461cbaab
Update plist.py from pymodules
2022-10-15 15:25:16 -05:00
CorpNewt
afef3f3139
Update plist.py from pymodules
2022-09-20 18:51:38 -05:00
CorpNewt
8a8e918e3d
Update downloader.py from pymodules
2022-04-02 09:50:55 -05:00
CorpNewt
9a683e716f
Fix UAC elevation issues with space in path
2020-12-29 12:03:55 -06:00
CorpNewt
a7b5495417
Update plist.py from pymodules
2020-10-16 11:01:55 -05:00
CorpNewt
3d87cf189e
Update downloader.py from pymodules
2020-10-04 18:21:10 -05:00
CorpNewt
620061df63
Update plist.py, downloader.py from pymodules
2020-10-04 17:33:54 -05:00
Dhinak G
996d067a38
Fix gzipped results
...
Yes i sneaked size into here shh
2020-10-01 15:33:38 -04:00
Rootspring
735328fb0d
Python 3.9 compat: Python 3.9 removed the use_builtin_types parameter used in plist.py
2020-07-31 12:58:43 +05:30
C.K. Tse
fd48cc8b44
Clean up https certificate verification logic by using reasonable defaults for macOS
2020-06-07 13:59:27 +08:00
CorpNewt
58ab64c42f
Update chunk size per bentaylornz
2020-05-13 06:15:26 -05:00
CorpNewt
cce8677e57
Update utils.py, plist.py from pymodules
2020-04-29 15:35:46 -05:00
Christian Clauss
988a5d8d2c
Minor optimization ;-)
2020-04-13 10:52:00 +02:00
Christian Clauss
49e07bcb2f
xrange() was removed from Python on 1/1/2020
...
Also simplify by defining basestring and unicode in Python 3
Python porting best practice [___use feature detection instead of version detection___](https://docs.python.org/3/howto/pyporting.html#use-feature-detection-instead-of-version-detection ).
Bare exceptions: https://realpython.com/the-most-diabolical-python-antipattern
__basestring__ and __unicode__ was removed in Python 3 because all str are Unicode utf-8.
2020-04-13 10:44:05 +02:00
CorpNewt
a01c885a59
Update run.py from pymodules
2020-03-16 11:47:18 -05:00
CorpNewt
fe2aa87897
Update run.py, plist.py from pymodules
2020-03-16 11:29:48 -05:00
CorpNewt
392e80d814
Queue idling fixes
2020-03-16 10:23:56 -05:00
CorpNewt
aaf08331ff
Update utils.py
2020-02-11 21:53:28 -06:00
CorpNewt
b6dfc2dd1f
Update disk.py from pymodules
2019-09-24 14:40:15 -05:00
CorpNewt
ce6f62c388
Fix comment
2019-09-07 15:20:35 -05:00
CorpNewt
23b4c8c932
Expand get_size() function
2019-09-07 15:16:41 -05:00
CorpNewt
1d357c00cb
Update plist.py from pymodules
2019-07-02 09:51:23 -05:00
CorpNewt
789d7026a3
Add files via upload
2019-07-01 08:57:43 -05:00
CorpNewt
edbd9023d9
Delete BOOTICE_x64_v1.3.4.0.exe
2019-07-01 08:56:53 -05:00
CorpNewt
d425bcad72
Add files via upload
2019-07-01 08:53:54 -05:00
CorpNewt
6bb2546e6e
Include direct path to wmic in case of broken PATH
2019-06-12 09:55:13 -05:00
CorpNewt
f2dcbab32a
Update downloader.py from pymodules
2019-03-26 17:05:32 -05:00
CorpNewt
ec5e56551a
Update downloader.py from pymodules
2019-03-26 17:03:18 -05:00
CorpNewt
3ad4aa912c
Update downloader.py from pymodules
2019-03-26 14:18:36 -05:00
CorpNewt
ab838d4646
Update downloader.py from pymodules
2019-03-06 22:13:52 -06:00
CorpNewt
4626432be2
Update downloader.py from pymodules
2019-03-06 22:02:22 -06:00
CorpNewt
35a39972d0
Update run.py from pymodules
2019-01-23 22:55:53 -06:00
CorpNewt
20488d435b
Fix typo
2019-01-02 11:15:40 -06:00
corpnewt
fc7da4b8e5
Update downloader.py from pymodules
2018-12-27 18:11:18 -06:00
CorpNewt
fdfe3126d1
Update run.py, disk.py from pymodules
2018-12-07 13:51:28 -06:00
CorpNewt
e31b473e1e
Fix py3, remove subclass
2018-11-14 23:48:37 -06:00
CorpNewt
3e228593ed
Fix unicode xml parsing via subclass
2018-11-13 11:23:37 -06:00
CorpNewt
2e12e6f530
Bypass cStringIO for writes too
2018-11-13 09:58:23 -06:00
CorpNewt
7072baa61e
Force StringIO in lieu of cStringIO
2018-11-13 09:42:16 -06:00
CorpNewt
340ba88150
Fixes for py2 on Sierra
2018-11-09 09:30:39 -06:00
CorpNewt
9dfb846041
Fixes for some potential int casting issues
2018-10-18 12:42:27 -05:00
CorpNewt
ab22fc6afd
Use csv formatting when possible - fault tolerance
2018-10-14 19:42:58 -05:00
CorpNewt
c17eda3b85
Wrap data in plistlib.Data
2018-10-12 13:28:08 -05:00
CorpNewt
4abdf13dd7
Fix incorrect data header
2018-10-12 13:15:53 -05:00
CorpNewt
a9087e9a9f
More plist fixes
2018-10-12 12:48:26 -05:00