boku7 / BokuLoader

A proof-of-concept Cobalt Strike Reflective Loader which aims to recreate, integrate, and enhance Cobalt Strike's evasion features!
MIT License
1.25k stars 244 forks source link

find .text section by name + add Makefile #5

Closed S4ntiagoP closed 2 years ago

S4ntiagoP commented 2 years ago

Hey man, awesome project!

I just made a small change so that the .text section is found by name, it is no longer assumed that it is the first section.
Also, I added a Makefile, which not only compiles but also strips the resulting object file. It only reduces its size by 500 bytes but it is something 😛

Hope you find it useful.

boku7 commented 2 years ago

This looks awesome, thank you for contributing!! Will test tomorrow and accept the pull request if it works!