From http://www.lwolf.cn/blog/article/code/csharp-shell%20.htm
I recently searched for C # on the Internet #ProgramI found some methods for shelling and tried it myself. It feels pretty good. The following are found on the Internet. Here we will sort it out and it will be convenient to use it in the future.
1. Reflection shelling
Create a cmd project, copy the program to the project file, and set it to "embedded resource ".
Program code stream sr = assembly. getexecutingassembly (). getmanifestresourcestream ("namespace .program .exe ");
Byte [] filebytes = new byte [Sr. Length];
Sr. Read (filebytes, 0, (INT) Sr. Length-1 );
Assembly = assembly. Load (filebytes );
Methodinfo MI = assembly. entrypoint;
Mi. Invoke (null, null );
After compiling and running this command, you cannot view it with reflector.Source code. But we can still use reflection to shell and crack it. I don't know much about it.
2. Use sixxpack
This is a tool that shells and compresses. net programs. The maximum compression ratio is 80%. After compression, the source files cannot be compiled. All information about actmp. dll can be viewed with reflector. However, someone in cnblogs recently showed a method to crack this. If you are interested, you can find it.
Search for GUAN Tian did not find the official website address, online looking for are 2.2 Chinese version, do not know if it is the latest,: http://dl.onlinedown.net/soft/56183.htm
It is quite interesting to use these two methods together, at least increasing the difficulty of cracking by others ~~~ Haha