Not just gold builds anymore!
Project description
getmeta
NORMALIZATION
Clean data is mission-critical for collecting operating system artifacts, especially with user home directories.
APPLE, LINUX, & UNIX
if path[:1] == '/':
out = path.split('/')
try:
if out[1] == 'home':
out[2] = 'user'
path = '/'.join(out)
elif out[1] == 'Users':
if out[2] != 'Shared':
out[2] = 'user'
path = '/'.join(out)
except:
pass
MICROSOFT WINDOWS
elif path[1] == ':':
out = path.split('\\')
try:
if out[1] == 'Users' or out[1] == 'Documents and Settings':
if out[2] != 'Default' and out[2] != 'Public' and out[2] != 'All Users' and out[2] != 'Default User':
out[0] = 'C:'
out[2] = 'Administrator'
path = '\\'.join(out)
except:
pass
CAPTURED DATA
- ami
- path
- file
- size
- md5
- sha256
- sha3
- md5path
- sha256path
- sha3path
- md5dir
- sha256dir
- sha3dir
- md5name
- sha256name
- sha3name
- type
INSTALLATION
pip install getmeta
DEVELOPMENT
python setup.py install --user
EXECUTABLE
pip install pyinstaller
pyinstaller getmeta.py --onefile
META INFORMATION
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
getmeta-2024.5.26.tar.gz
(7.8 kB
view details)
Built Distribution
File details
Details for the file getmeta-2024.5.26.tar.gz
.
File metadata
- Download URL: getmeta-2024.5.26.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84b63fb17efbe8e736be6a49482e401762e7591a6efb7919fd4591e4e3895f34 |
|
MD5 | af807b93257b9256e31f2edb262793f6 |
|
BLAKE2b-256 | 7b2a8424075c28c743fb6d4b00c1bfe9bae1426c2d8caebe13f7e48573944a28 |
File details
Details for the file getmeta-2024.5.26-py3-none-any.whl
.
File metadata
- Download URL: getmeta-2024.5.26-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03e028e13d9ae689e060b5a85468fa0931493c44230ed34961df4446dbbcb5ea |
|
MD5 | 5949f6df2562c01102d5c6059c883c3a |
|
BLAKE2b-256 | a1f920a1f5080300ff7dd2828efd1877e61b77b9fc64df9f9ff17b8d11d6c070 |