7
2
mirror of https://github.com/guitmz/Fe2O3 synced 2024-06-16 03:48:04 +00:00
guitmz-Fe2O3/README.md

25 lines
892 B
Markdown
Raw Permalink Normal View History

2019-09-06 13:45:21 +00:00
# Linux.Fe2O3
2019-09-06 18:56:34 +00:00
This is a POC ELF prepender written in Rust. I like writting prependers on languages that I'm learning and find interesting. As for the name, `Fe2O3` is the chemical formula of Rust, I thought it was appropriate.
2019-09-06 13:45:21 +00:00
# Build
```$ cd src
$ rustc main.rs -o Linux.Fe2O3
```
Note that the Rust version used is `rustc 1.37.0 (eae3437df 2019-08-13)`, the latest at this moment.
# Binary Sample
2019-09-06 13:55:37 +00:00
A binary sample is also available at https://www.guitmz.com/Linux.Fe2O3
2019-09-06 13:45:21 +00:00
```
$ file Linux.Fe2O3
Linux.Fe2O3: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, with debug_info, not stripped
2019-09-06 13:55:37 +00:00
$ sha1sum Linux.Fe2O3
c185ab0fd9b1c8f3ddaed7079898383edbcbb7f7 Linux.Fe2O3
2019-09-06 13:45:21 +00:00
```
# Demo
[![asciicast](https://asciinema.org/a/gMwAoQozAKpX851zXE8DncDSc.png)](https://asciinema.org/a/gMwAoQozAKpX851zXE8DncDSc)