jm33-m0 / emp3r0r

Linux/Windows post-exploitation framework made by linux user
https://infosec.exchange/@jm33
MIT License
1.26k stars 232 forks source link

.exe? for linux #152

Closed JackDev-cc closed 2 years ago

JackDev-cc commented 2 years ago

Building agent on linux, selecting linux and the output is a .exe?

jm33-m0 commented 2 years ago

What's wrong with that? I mean you know how to rename the file right?

jm33-m0 commented 2 years ago

In case someone has the same question, I am adding an explanation. First of all, .exe or dot anything is just file name extension and don't mean a damn thing, they exist just to give people (or some programs) a hint of what type of file they represent. You can name a PE executable file as foo.exe or foo.bar, the PE format remains intact and can be parsed by any working PE parsers. Second, I use .exe because I included .exe in .gitignore to ignore binary file changes.

jm33-m0 commented 2 years ago

Windows teaches its users too well about file name extensions, now they think the names actually mean something, while in fact they don't.