M
M
Maxim Spiridonov2014-08-06 19:02:24
Programming
Maxim Spiridonov, 2014-08-06 19:02:24

How to compile decompiled dll?

I actually bought a server mod for the rust game a couple of days ago for 2.5k rubles called rust extendet. At first everything was fine, until it turned out that the mod is bound to the address of a specific server. (Before buying, they only asked me for the ip of the server and did not explain at all where it would be used).
A few days later, circumstances forced me to choose another host, so when I moved, I was given a new ip. To celebrate, I uploaded a backup of the server and here is a cherished warning that it is not possible to start the server modification, since the mod is not registered on this ip. Without hesitation, I wrote to the mod developer, to which I received a refusal to rebind the mod to a new ip.
I had no choice but to decompile the mod and edit the ip address binding myself. Unfortunately, I have no idea how to compile the mod back into a dll now. I tried to turn it through visual studio, but all without success, the output is a huge number of errors. How to be? What do you advise to do? Will the source codes help you somehow if I provide them?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexander Taratin, 2014-08-06
@Taraflex

Do not listen to previous answers. Yours is not native, but dotnet dll. It is easiest to rebuild it through Ildasm and Ilasm

D
Dmitry, 2014-08-06
@TrueBers

How did you manage to decompile it like that? Such instruments do not exist in nature.
Upload the dll to Olka, look for the place you edited there, and just rewrite the binary.

F
Flaker, 2014-08-06
@Flaker

You can not rewrite the binary, you can, as @TrueBers said , through "Olka" ( ollydbg ) or through IDA to find the address of the memory where the IP of the server is stored, and then, after / during the launch of the binary, inject your data (your IP) into this place .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question