Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

.NET 

How to create a portable builder/compiler for an exe

Hi,
let's say i created a software in C#, and in the code, some variables may change like an url or password. What is a proper way to create some kind of portable compiler/builder ( like in some famous RATs ) for my C# software instead of having to change variables and recompile by hand?

I read there is CodeDOM but i dont' know if it's the proper way to do that.

waiting for answers thx


Ok, found the answer i think, i'm gonna try with Mono via command line
CodeDOM is as far as I know the best way to make a builder.
All a builder is, is a program that changes the code to user input and then compiles it.
(Feb 12, 2017 05:03 PM)Ninja Wrote:  CodeDOM is as far as I know the best way to make a builder.
All a builder is, is a program that changes the code to user input and then compiles it.

Exactly:)
I have an example of CodeDOM builder in my profile.
You can take a look at it and see how it works.
just edit the things u need to edit.
dnlib/mono.cecil?
Might be reading the question wrong but it sounds like you just need to change the value of some variables at run time and not the code itself?

For the glory of humanity


Possibly Related Threads...
Thread / Author Replies Views Last Post
[.NET] by ThreshApr 8, 2018 03:15 AM 9 474 Apr 8, 2018 03:15 AM
Last Post: Washi
[C#] by Linus TorvaldsAug 21, 2017 04:32 AM 1 211 Aug 21, 2017 04:32 AM
Last Post: Dotexe
[.NET] by BinaryFoxAug 19, 2017 06:10 PM 7 315 Aug 19, 2017 06:10 PM
Last Post: DeadKube