DO NOT DEAL WITH THIS MEMBER
I need advice on how to alter an exe to contain hostnames, ports and other parameters.
I need this process done with either php or c++. Would love to see examples of both langs.
Thank you in advance.
There are different ways to do that
1. Ship code and compiler with the panel and compile them into the executable on build
(Requires cross compilation if host and Target is doesn't match)
2. Append your settings to the end of stub binary file, with some kind of seperator. In the stub at runtime read the end of the stub file and parse the settings. (Just open stub in binary mode and append string)
3. Write settings into resource section of the stub. (Requires winapi I guess)
4. Define static memory with template data in source code of stub for settings. Open stud In binary mode and search and replace template by your settings.
No example code, I'm writing from smartphone, sorry bro.
DO NOT DEAL WITH THIS MEMBER
- create a serversided builder executable, which basically makes modification on your target exe
- serversided builder exe can use plenty ways to store data inside a file, for example: - append data after the actual EOF
- write into resources
- extra PE section
- etc.
- profit
DO NOT DEAL WITH THIS MEMBER
(Aug 19, 2020 03:50 AM)maldev0 Wrote: - create a serversided builder executable, which basically makes modification on your target exe
- serversided builder exe can use plenty ways to store data inside a file, for example: - append data after the actual EOF
- write into resources
- extra PE section
- etc.
- profit
Do you have examples or sources which help me understand better?
(Aug 19, 2020 05:20 AM)Lynx Wrote: Do you have examples or sources which help me understand better?
https://www.codeproject.com/Articles/477...on-the-fly
I've added you on Discord, lmk if you need any further help :)
Damn, we end up here in the dark places of the lineup! It's so exciting that sort of thing with people who know so well and do crazy things!
(Aug 19, 2020 11:57 AM)4Txe4y33C9zvNhMj Wrote: https://www.codeproject.com/Articles/477...on-the-fly
I've added you on Discord, lmk if you need any further help :)
Thanks for the link will read that later when the time come !
Cheers !
It's a bit odd that you ask for help with conceptualizing something like this but offer C++ development as a paid service in your signature.
(Nov 27, 2020 06:13 PM)Ayyyther Wrote: It's a bit odd that you ask for help with conceptualizing something like this but offer C++ development as a paid service in your signature.
The thread was already 3 months old, there's lot of improvement that could happen with that timespan.
Regards,
Rmdy
(Nov 27, 2020 06:57 PM)Rmdy Wrote: The thread was already 3 months old, there's lot of improvement that could happen with that timespan.
Regards,
Rmdy
Jesus, I didn't realize. I don't remember going past the first page of this category.
My apologies.
|