Created
October 30, 2017 07:09
-
-
Save 20chan/a36dac1a474ea0990c65965171a0564d to your computer and use it in GitHub Desktop.
anti decompile patch for .net executable file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private void AntiReflector(string path) | |
{ | |
FileStream stream = new FileStream(path, FileMode.Open, FileAccess.Write); | |
stream.Seek(0xf4, SeekOrigin.Begin); | |
stream.WriteByte(11); | |
stream.Flush(); | |
stream.Close(); | |
MessageBox.Show("적용 완료!", "Anti-Reflector", MessageBoxButtons.OK, MessageBoxIcon.Information); | |
} | |
private void AntiAntiReflector(string path) | |
{ | |
FileStream stream = new FileStream(path, FileMode.Open, FileAccess.Write); | |
stream.Seek(0xf4, SeekOrigin.Begin); | |
stream.WriteByte(16); | |
stream.Flush(); | |
stream.Close(); | |
MessageBox.Show("적용 완료!", "Anti-Reflector", MessageBoxButtons.OK, MessageBoxIcon.Information); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment