Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cyb3rmx/wh1tem0cha

Python Module for Parsing & Reverse Engineering Mach-O Executables.
https://github.com/cyb3rmx/wh1tem0cha

apple cybersecurity executable ios mach-o macho-parser macosx malware-analysis parser python3 reverse-engineering

Last synced: 3 months ago
JSON representation

Python Module for Parsing & Reverse Engineering Mach-O Executables.

Awesome Lists containing this project

README

        

# Wh1teM0cha






Python Module for Parsing & Reverse Engineering Mach-O Executables.



# Installation
- You can simply run this command.
```bash
pip3 install wh1tem0cha
```

# How to Use
> [!NOTE]
> This section contains brief information about the module.
> For more information please visit USECASES.md

## General Information About Target Binary
- Description: With this feature you can get general information from target MACH-O binary.

```python
from wh1tem0cha import Wh1teM0cha

wm = Wh1teM0cha("target_binary_file")
wm.get_binary_info()
```
![wm1](https://github.com/CYB3RMX/Wh1teM0cha/assets/42123683/42cb05f0-22d4-47fb-bf4c-ba8b1c3a36a1)

## List Segments
- Description: This method is for parsing and listing segments.

```python
from wh1tem0cha import Wh1teM0cha

wm = Wh1teM0cha("target_binary_file")
wm.get_segments()
```
![wm2](https://github.com/CYB3RMX/Wh1teM0cha/assets/42123683/065dd2ca-30be-4d6d-bdfb-8a55d6f64690)

### Get Target Segment Information
- Description: With this method you can get additional information about the target segment.

```python
from wh1tem0cha import Wh1teM0cha

wm = Wh1teM0cha("target_binary_file")
wm.segment_info("__TEXT")
```
![wm3](https://github.com/CYB3RMX/Wh1teM0cha/assets/42123683/c6022cde-975f-4f95-b813-9daf7bccb37c)

## List Sections
- Description: This method is for parsing and listing sections.

```python
from wh1tem0cha import Wh1teM0cha

wm = Wh1teM0cha("target_binary_file")
wm.get_sections()
```
![wm4](https://github.com/CYB3RMX/Wh1teM0cha/assets/42123683/474f9105-bfd4-40a4-80d9-48e55246194d)

### Get Target Section Information
- Description: With this method you can get additional information about the target section.

```python
from wh1tem0cha import Wh1teM0cha

wm = Wh1teM0cha("target_binary_file")
wm.section_info("__text")
```
![wm5](https://github.com/CYB3RMX/Wh1teM0cha/assets/42123683/15555c54-bee2-4aa8-b649-5883f8148790)