Skip to main content

Python runas implementation

Project description

windows_tools

Collection of useful python functions around Microsoft Windows

License Percentage of issues still open Maintainability codecov windows-tests GitHub Release

windows_tools is a set of various recurrent functions amongst

  • antivirus: antivirus state and list of installed AV engines
  • bitlocker: drive encryption status and protector key retrieval
  • bitness: simple bitness identification
  • file_utils: file ownership handling, NTFS & ReFS ACL handling, file listing with permission fixes
  • impersonate: python Runas implementation
  • installed_software: list of installed software from registry, 32 and 64 bits
  • logical_disk: logical disk listing
  • office: microsoft Office version identification, works for click & run, O365 and legacy
  • powershell: powershell wrapper to identify interpreter and run scripts or commands
  • product_key: windows product key retrieval
  • registry: registry 32 and 64 bit API
  • securityprivilege: enable / disable various security privileges for user
  • server: windows server identification
  • users: user lookup for SID/PySID/username
  • virtualization: virtualization platform identification for guest
  • windows_firewall: windows firewall state retrieval
  • wmi_queries: windows WMI query wrapper, wmi timezone converters

It is compatible with Python 3.5+ and is tested on Windows only (obviously).

Setup

pip install windows_tools.<subpackage>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

windows_tools.impersonate-0.1.3.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file windows_tools.impersonate-0.1.3.tar.gz.

File metadata

  • Download URL: windows_tools.impersonate-0.1.3.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.1 CPython/3.8.6

File hashes

Hashes for windows_tools.impersonate-0.1.3.tar.gz
Algorithm Hash digest
SHA256 abf672841e12cbeec9a3f9e5353231fa5dd317a3ad9781dcc1098b0b562528b2
MD5 4cbcc1fac463dba8adfb7b3812664a0e
BLAKE2b-256 1f1ad9b211db60294d8d58c4929be00d24206bd001b98f02b7869e0c1e6f049b

See more details on using hashes here.

File details

Details for the file windows_tools.impersonate-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: windows_tools.impersonate-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.1 CPython/3.8.6

File hashes

Hashes for windows_tools.impersonate-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 09c829fcaac0511c06a5daf1c4b7e58b362c613d085ea71696427976f799932f
MD5 d29320bc9316d903c9e1819ed3ca281b
BLAKE2b-256 637ba83879b7b1d6d7b3a82a648b339cd62cf53e61a61ca2bda5b0f2c3da06a9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page