updated readme
This commit is contained in:
@@ -2,10 +2,16 @@
|
|||||||
|
|
||||||
THIS IS MALWARE
|
THIS IS MALWARE
|
||||||
|
|
||||||
|
## About
|
||||||
Evilcc is chibicc plus two features: it injects a payload into code it compiles, and self replicates into chibicc when compiled.
|
Evilcc is chibicc plus two features: it injects a payload into code it compiles, and self replicates into chibicc when compiled.
|
||||||
|
|
||||||
The payload is `printf("pwned");` initially into main.
|
The payload is `printf("pwned");` initially into main.
|
||||||
|
|
||||||
|
## Compiling
|
||||||
|
gcc *.c -o ecc
|
||||||
|
./ecc *.c -o ecc
|
||||||
|
|
||||||
|
## Functions
|
||||||
Functions added are all in `tokenize.c`:
|
Functions added are all in `tokenize.c`:
|
||||||
|
|
||||||
`insert_payload_main()`: inserts a payload at the beginning of main
|
`insert_payload_main()`: inserts a payload at the beginning of main
|
||||||
|
|||||||
Reference in New Issue
Block a user