# ElfAnalyzer
## Description
This module parses and analyzes ELF file for Forensic and investigations.
Parses:
- ELF identification
- ELF headers
- Program headers
- ELF sections
- ELF symbols tables
- Comment section
- Note sections
- Dynamic section
## Requirements
This package require:
- python3
- python3 Standard Library
### Optional
- matplotlib
- EntropyAnalysis
> *Matplotlib* and *EntropyAnalysis* are not installed by *ProgramExecutableAnalyzer* because this package can be installed on server without GUI.
> You can install optinal required packages with the following command: `python3 -m pip install matplotlib EntropyAnalysis`
## Installation
```bash
python3 -m pip install ElfAnalyzer
```
```bash
git clone "https://github.com/mauricelambert/ElfAnalyzer.git"
cd "ElfAnalyzer"
python3 -m pip install .
```
## Usages
### Command line
```bash
ElfAnalyzer # Using CLI package executable
python3 -m ElfAnalyzer # Using python module
python3 ElfAnalyzer.pyz # Using python executable
ElfAnalyzer.exe # Using python Windows executable
./ElfAnalyzer.pyz ./local/ElfFile
ElfAnalyzer.exe -u https://github.com/mauricelambert/FastRC4/releases/download/v0.0.1/librc4.so
./ElfAnalyzer.pyz -v ./local/ElfFile
python3 ElfAnalyzer.pyz -c ./local/ElfFile
```
### Python script
```python
from ElfAnalyzer import *
file = open("./local/ElfFile", "rb")
elfindent, elf_headers, programs_headers, elf_sections, symbols_tables, comments, note_sections, notes, dynamics, sections = parse_elffile(file)
cli(elfindent, elf_headers, programs_headers, elf_sections, symbols_tables, comments, notes, dynamics, sections)
file.close()
```
## Links
- [Pypi](https://pypi.org/project/ElfAnalyzer)
- [Github](https://github.com/user/ElfAnalyzer)
- [Documentation](https://mauricelambert.github.io/info/python/security/ElfAnalyzer.html)
- [Python executable](https://mauricelambert.github.io/info/python/security/ElfAnalyzer.pyz)
- [Python Windows executable](https://mauricelambert.github.io/info/python/security/ElfAnalyzer.exe)
## License
Licensed under the [GPL, version 3](https://www.gnu.org/licenses/).
Raw data
{
"_id": null,
"home_page": "https://github.com/mauricelambert/ElfAnalyzer",
"name": "ElfAnalyzer",
"maintainer": "Maurice Lambert",
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "Maurice Lambert <mauricelambert434@gmail.com>",
"keywords": "forensic,investigations,ELF,analysis,ELF-parser,ELF-analyzer",
"author": "Maurice Lambert",
"author_email": "Maurice Lambert <mauricelambert434@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/b1/82/6f2d33c9406588bb0617352862f25f80a8ddc1f0347013d7e5d700295324/ElfAnalyzer-0.0.3.tar.gz",
"platform": "Windows",
"description": "# ElfAnalyzer\n\n## Description\n\nThis module parses and analyzes ELF file for Forensic and investigations.\n\nParses:\n - ELF identification\n - ELF headers\n - Program headers\n - ELF sections\n - ELF symbols tables\n - Comment section\n - Note sections\n - Dynamic section\n\n## Requirements\n\nThis package require:\n - python3\n - python3 Standard Library\n\n### Optional\n\n - matplotlib\n - EntropyAnalysis\n\n> *Matplotlib* and *EntropyAnalysis* are not installed by *ProgramExecutableAnalyzer* because this package can be installed on server without GUI.\n> You can install optinal required packages with the following command: `python3 -m pip install matplotlib EntropyAnalysis`\n\n## Installation\n\n```bash\npython3 -m pip install ElfAnalyzer\n```\n\n```bash\ngit clone \"https://github.com/mauricelambert/ElfAnalyzer.git\"\ncd \"ElfAnalyzer\"\npython3 -m pip install .\n```\n\n## Usages\n\n### Command line\n\n```bash\nElfAnalyzer # Using CLI package executable\npython3 -m ElfAnalyzer # Using python module\npython3 ElfAnalyzer.pyz # Using python executable\nElfAnalyzer.exe # Using python Windows executable\n\n./ElfAnalyzer.pyz ./local/ElfFile\nElfAnalyzer.exe -u https://github.com/mauricelambert/FastRC4/releases/download/v0.0.1/librc4.so\n./ElfAnalyzer.pyz -v ./local/ElfFile\npython3 ElfAnalyzer.pyz -c ./local/ElfFile\n```\n\n### Python script\n\n```python\nfrom ElfAnalyzer import *\n\nfile = open(\"./local/ElfFile\", \"rb\")\nelfindent, elf_headers, programs_headers, elf_sections, symbols_tables, comments, note_sections, notes, dynamics, sections = parse_elffile(file)\ncli(elfindent, elf_headers, programs_headers, elf_sections, symbols_tables, comments, notes, dynamics, sections)\nfile.close()\n```\n\n## Links\n\n - [Pypi](https://pypi.org/project/ElfAnalyzer)\n - [Github](https://github.com/user/ElfAnalyzer)\n - [Documentation](https://mauricelambert.github.io/info/python/security/ElfAnalyzer.html)\n - [Python executable](https://mauricelambert.github.io/info/python/security/ElfAnalyzer.pyz)\n - [Python Windows executable](https://mauricelambert.github.io/info/python/security/ElfAnalyzer.exe)\n\n## License\n\nLicensed under the [GPL, version 3](https://www.gnu.org/licenses/).\n",
"bugtrack_url": null,
"license": "GPL-3.0 License",
"summary": "This module parses and analyzes ELF file for Forensic and investigations.",
"version": "0.0.3",
"project_urls": {
"Documentation": "https://mauricelambert.github.io/info/python/security/ElfAnalyzer.html",
"Download": "https://mauricelambert.github.io/info/python/security/ElfAnalyzer.pyz",
"Github": "https://github.com/mauricelambert/ElfAnalyzer",
"Homepage": "https://github.com/mauricelambert/ElfAnalyzer",
"Python Executable": "https://mauricelambert.github.io/info/python/security/ElfAnalyzer.pyz",
"Windows Executable": "https://mauricelambert.github.io/info/python/security/ElfAnalyzer.exe"
},
"split_keywords": [
"forensic",
"investigations",
"elf",
"analysis",
"elf-parser",
"elf-analyzer"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "b1826f2d33c9406588bb0617352862f25f80a8ddc1f0347013d7e5d700295324",
"md5": "fc197c69307aa25b926288841ecf2ef4",
"sha256": "4a88b01d0f311b0b8b3ed0d19cc3fee2c2ae0a720699c275f1a7678a1fbfef9d"
},
"downloads": -1,
"filename": "ElfAnalyzer-0.0.3.tar.gz",
"has_sig": false,
"md5_digest": "fc197c69307aa25b926288841ecf2ef4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 30293,
"upload_time": "2023-09-05T10:37:15",
"upload_time_iso_8601": "2023-09-05T10:37:15.145882Z",
"url": "https://files.pythonhosted.org/packages/b1/82/6f2d33c9406588bb0617352862f25f80a8ddc1f0347013d7e5d700295324/ElfAnalyzer-0.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-09-05 10:37:15",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "mauricelambert",
"github_project": "ElfAnalyzer",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "elfanalyzer"
}