Name | pyblkinfo JSON |
Version |
0.1.4
JSON |
| download |
home_page | None |
Summary | Conceptual block device information output. |
upload_time | 2025-01-06 23:07:39 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.6 |
license | None |
keywords |
bash
shell
tracking
logging
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
[![PyPI](https://img.shields.io/pypi/v/pyblkinfo)](https://pypi.org/project/pyblkinfo/)
![Python Version](https://img.shields.io/badge/Python-3.6-blue)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Ubuntu](https://img.shields.io/badge/Ubuntu-orange)](https://ubuntu.com/download/desktop)
# blkinfo
This little project is just a conceptual work used for my thesis about documentation of forensic processes.
It's purpose is to output basic necessary infos about all attached block devices in a fast usable format. Forensic staff would be able to use this as a first step to document the system they are working on.
However, this project is just a CONCEPT - it shows how one step of documentation COULD be done - or moreover, what kind of output would be useful - as a small part of the overall forensic process. One limitation is that the script does not directly interact with the block devices but rather gathers information through system commands. This means it relies on the accuracy and availability of these commands. Additionally, the script has not been extensively tested with all possible device configurations.
It uses Linux `lsblk` command to gather information about block devices.
## Installation
`pip install pyblkinfo`
# Usage
- Run with `blkinfo`
- Output is written to stdout
- Stores log in your home dir `blkinfo.log`
# Example log
```
Device: sdb
Model: General UDisk
Table: dos
Size: 61,865,984 bytes
Sectors: 120,832 - Size: 512 bytes
----------------------------------------------------------------------------
Name | Label | Start Sector | End Sector | Sectors | Bytes | FS
---- | ----- | ------------ | ---------- | ------- | ---------- | ----------
sdb1 | | 2,048 | 34,815 | 32,768 | 16,777,216 | vfat FAT16
sdb2 | | 34,816 | 67,583 | 32,768 | 16,777,216 | vfat FAT16
sdb3 | | 67,584 | 120,831 | 53,248 | 27,262,976 | vfat FAT16
```
Raw data
{
"_id": null,
"home_page": null,
"name": "pyblkinfo",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": "bash, shell, tracking, logging",
"author": null,
"author_email": "bitdruid <bitdruid@outlook.com>",
"download_url": "https://files.pythonhosted.org/packages/65/bb/1cc49b08c33a878eb89bf2d49d7feeae8f2966f6006d588ba66f0692b128/pyblkinfo-0.1.4.tar.gz",
"platform": null,
"description": "[![PyPI](https://img.shields.io/pypi/v/pyblkinfo)](https://pypi.org/project/pyblkinfo/)\n![Python Version](https://img.shields.io/badge/Python-3.6-blue)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![Ubuntu](https://img.shields.io/badge/Ubuntu-orange)](https://ubuntu.com/download/desktop)\n\n# blkinfo\n\nThis little project is just a conceptual work used for my thesis about documentation of forensic processes.\n\nIt's purpose is to output basic necessary infos about all attached block devices in a fast usable format. Forensic staff would be able to use this as a first step to document the system they are working on.\n\nHowever, this project is just a CONCEPT - it shows how one step of documentation COULD be done - or moreover, what kind of output would be useful - as a small part of the overall forensic process. One limitation is that the script does not directly interact with the block devices but rather gathers information through system commands. This means it relies on the accuracy and availability of these commands. Additionally, the script has not been extensively tested with all possible device configurations.\n\nIt uses Linux `lsblk` command to gather information about block devices.\n\n## Installation\n\n`pip install pyblkinfo`\n\n# Usage\n\n- Run with `blkinfo`\n- Output is written to stdout\n- Stores log in your home dir `blkinfo.log`\n\n# Example log\n\n```\nDevice: sdb\nModel: General UDisk\nTable: dos\nSize: 61,865,984 bytes\nSectors: 120,832 - Size: 512 bytes\n----------------------------------------------------------------------------\nName | Label | Start Sector | End Sector | Sectors | Bytes | FS \n---- | ----- | ------------ | ---------- | ------- | ---------- | ----------\nsdb1 | | 2,048 | 34,815 | 32,768 | 16,777,216 | vfat FAT16\nsdb2 | | 34,816 | 67,583 | 32,768 | 16,777,216 | vfat FAT16\nsdb3 | | 67,584 | 120,831 | 53,248 | 27,262,976 | vfat FAT16\n```\n",
"bugtrack_url": null,
"license": null,
"summary": "Conceptual block device information output.",
"version": "0.1.4",
"project_urls": {
"Homepage": "https://github.com/bitdruid/forensic_concepts"
},
"split_keywords": [
"bash",
" shell",
" tracking",
" logging"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "f7f24d88ce690b480d2cb065862dc4c77e8da50f9bba5810382005c5cb0e1663",
"md5": "993b13cfec0646b58f2eecf11ef26637",
"sha256": "dadbbc33a03a73fff02cae49429476a0ce217b0b5c9ee9d0a55f33ff168e3a38"
},
"downloads": -1,
"filename": "pyblkinfo-0.1.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "993b13cfec0646b58f2eecf11ef26637",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 4056,
"upload_time": "2025-01-06T23:07:37",
"upload_time_iso_8601": "2025-01-06T23:07:37.104364Z",
"url": "https://files.pythonhosted.org/packages/f7/f2/4d88ce690b480d2cb065862dc4c77e8da50f9bba5810382005c5cb0e1663/pyblkinfo-0.1.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "65bb1cc49b08c33a878eb89bf2d49d7feeae8f2966f6006d588ba66f0692b128",
"md5": "252b6fb47d5e0037eb3099c932ca0e3f",
"sha256": "d5c8b5b510e4745c29533a165d0aca8f5a13904210f0615017f2194950596b76"
},
"downloads": -1,
"filename": "pyblkinfo-0.1.4.tar.gz",
"has_sig": false,
"md5_digest": "252b6fb47d5e0037eb3099c932ca0e3f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 3766,
"upload_time": "2025-01-06T23:07:39",
"upload_time_iso_8601": "2025-01-06T23:07:39.736062Z",
"url": "https://files.pythonhosted.org/packages/65/bb/1cc49b08c33a878eb89bf2d49d7feeae8f2966f6006d588ba66f0692b128/pyblkinfo-0.1.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-06 23:07:39",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "bitdruid",
"github_project": "forensic_concepts",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "pyblkinfo"
}