Name | pyblkinfo JSON |
Version |
0.1.8
JSON |
| download |
home_page | None |
Summary | Conceptual block device information output. |
upload_time | 2025-01-24 22:20:40 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.6 |
license | MIT License
Copyright (c) 2024 bitdruid
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
|
keywords |
bash
shell
tracking
logging
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
[](https://pypi.org/project/pyblkinfo/)

[](https://opensource.org/licenses/MIT)
[](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 only accept block devices and no images. Additionally, the script has not been extensively tested with all possible device configurations.
It uses Linux `lsblk` command to gather information about the block devices.
## Installation
`pip install pyblkinfo`
# Usage
- Run with `blkinfo <optional path>`
- Output is written to stdout
- Stores log in your home dir `blkinfo.log`
# Example log
```
Device: sda
Model: VBOX HARDDISK
Table: dos
Bytes: 107,374,182,400
Sectors: 209,715,200 - 512 bytes
┌────────┬─────────┬─────────────┬─────────────┬─────────────────┬───────┬────────────┬─────────┐
│ PART │ START │ END │ SECTORS │ BYTES │ FS │ TYPE │ LABEL │
├────────┼─────────┼─────────────┼─────────────┼─────────────────┼───────┼────────────┼─────────┤
│ sda1 │ 2,048 │ 209,712,509 │ 209,710,462 │ 107,371,756,544 │ btrfs │ 0x83 Linux │ │
└────────┴─────────┴─────────────┴─────────────┴─────────────────┴───────┴────────────┴─────────┘
```
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/09/2f/f7653304808f4b3392e9b258afca8c9c9d0bdc14e9020096078bbe3accd4/pyblkinfo-0.1.8.tar.gz",
"platform": null,
"description": "[](https://pypi.org/project/pyblkinfo/)\n\n[](https://opensource.org/licenses/MIT)\n[](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 only accept block devices and no images. Additionally, the script has not been extensively tested with all possible device configurations.\n\nIt uses Linux `lsblk` command to gather information about the block devices.\n\n## Installation\n\n`pip install pyblkinfo`\n\n# Usage\n\n- Run with `blkinfo <optional path>`\n- Output is written to stdout\n- Stores log in your home dir `blkinfo.log`\n\n# Example log\n\n```\nDevice: sda\nModel: VBOX HARDDISK\nTable: dos\nBytes: 107,374,182,400\nSectors: 209,715,200 - 512 bytes\n\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510\n\u2502 PART \u2502 START \u2502 END \u2502 SECTORS \u2502 BYTES \u2502 FS \u2502 TYPE \u2502 LABEL \u2502\n\u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524\n\u2502 sda1 \u2502 2,048 \u2502 209,712,509 \u2502 209,710,462 \u2502 107,371,756,544 \u2502 btrfs \u2502 0x83 Linux \u2502 \u2502\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518\n```\n",
"bugtrack_url": null,
"license": "MIT License\n \n Copyright (c) 2024 bitdruid\n \n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n \n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n ",
"summary": "Conceptual block device information output.",
"version": "0.1.8",
"project_urls": {
"Homepage": "https://github.com/bitdruid/forensic_concepts"
},
"split_keywords": [
"bash",
" shell",
" tracking",
" logging"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "41a72a4e1f5e9a84bab3bd160781063f0d6f68802433489b551516a7ab05440c",
"md5": "a3357efd62b0ced2c5c2dd175ef02515",
"sha256": "16e5ab43da3d2c665346981a5b30d9b1f81a1a5e33611e1c6380a77f371e8b70"
},
"downloads": -1,
"filename": "pyblkinfo-0.1.8-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a3357efd62b0ced2c5c2dd175ef02515",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 5401,
"upload_time": "2025-01-24T22:20:37",
"upload_time_iso_8601": "2025-01-24T22:20:37.257433Z",
"url": "https://files.pythonhosted.org/packages/41/a7/2a4e1f5e9a84bab3bd160781063f0d6f68802433489b551516a7ab05440c/pyblkinfo-0.1.8-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "092ff7653304808f4b3392e9b258afca8c9c9d0bdc14e9020096078bbe3accd4",
"md5": "95afcb74da2337154e56b28b7b617779",
"sha256": "8219279d87b20ca15a40bce89744d86e107554f269b14482aec9015ae9dde566"
},
"downloads": -1,
"filename": "pyblkinfo-0.1.8.tar.gz",
"has_sig": false,
"md5_digest": "95afcb74da2337154e56b28b7b617779",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 4544,
"upload_time": "2025-01-24T22:20:40",
"upload_time_iso_8601": "2025-01-24T22:20:40.589998Z",
"url": "https://files.pythonhosted.org/packages/09/2f/f7653304808f4b3392e9b258afca8c9c9d0bdc14e9020096078bbe3accd4/pyblkinfo-0.1.8.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-24 22:20:40",
"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"
}