Down to the smallest sector detail!
Project description
getblocks
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
- b3
- md5path
- sha256path
- b3path
- md5dir
- sha256dir
- b3dir
- md5name
- sha256name
- b3name
- type
- entropy
- block
- location
REQUIREMENTS
curl https://sh.rustup.rs -sSf | sh -s -- -y
source "$HOME/.cargo/env"
INSTALLATION
pip install getblocks
DEVELOPMENT
python setup.py install --user
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
getblocks-2024.5.29.tar.gz
(8.3 kB
view details)
Built Distribution
File details
Details for the file getblocks-2024.5.29.tar.gz
.
File metadata
- Download URL: getblocks-2024.5.29.tar.gz
- Upload date:
- Size: 8.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 031d9bbeecfba9ae116d5efeb7e14ef5210eee46037a0407d5c5cc2b31dd63d5 |
|
MD5 | 11f188759078e0363510ddc2d2d85de9 |
|
BLAKE2b-256 | a661cb2b81330a9c89bbc5ad154d13a4d39d9be25d305aa7718905e6ea95127b |
File details
Details for the file getblocks-2024.5.29-py3-none-any.whl
.
File metadata
- Download URL: getblocks-2024.5.29-py3-none-any.whl
- Upload date:
- Size: 9.3 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 | 3bac112aaf54207ea5b13c61051a3cad09797cd228bb3b3feffaeb97e6164fec |
|
MD5 | 888986d07ed2ebb00f658d4abed37ddc |
|
BLAKE2b-256 | 26f54e29b7a9d6283e7075065d7824bb51f95d597e6f22bc3a828c9ba9caee9a |