https://github.com/pvlbzn/ftoi
Reverse engineering tool: file to image
https://github.com/pvlbzn/ftoi
Last synced: 6 days ago
JSON representation
Reverse engineering tool: file to image
- Host: GitHub
- URL: https://github.com/pvlbzn/ftoi
- Owner: pvlbzn
- Created: 2017-06-24T22:54:47.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-06-24T23:04:34.000Z (over 8 years ago)
- Last Synced: 2025-01-11T17:51:31.005Z (9 months ago)
- Language: Go
- Homepage:
- Size: 642 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ftoi: File to Image
A little tool which can render any file as an image. Particularly useful for reverse engineering.
## Examples
Two ([one](https://github.com/pvlbzn/ftoi/blob/master/samples/img.jpg), [two](https://github.com/pvlbzn/ftoi/blob/master/samples/img.png)) the same images by content, but different by compression method: jpg and png accordingly.
```
$ ftoi samples/img.jpg
...
$ ftoi samples/img.png
...
```Will produce `out.png` file for each call.
Result for [jpg](https://github.com/pvlbzn/ftoi/blob/master/samples/jpg.png) and [png](https://github.com/pvlbzn/ftoi/blob/master/samples/png.png). So, despite that the content is visually the same, the actual bytes are not the same at all.
For example we can zoom into headers:
**JPG:**

**PNG:**

## Install
```
$ go install https://github.com/pvlbzn/ftoi
```