title: How to hex edit an exe file safely?
body: <p>I am working on a small puzzle/wargame which involves coding <strong>Windows Forms in C#</strong>.. </p>
  
  <p>To get to a certain level I need a password which is stored in an exe. The same exe allows me send that password to a default person which is stored in a <strong>variable</strong>. The password sending is accomplished by updating the given user's data in a MySQL database.</p>
  
  <p>The challenge was that a user should hex edit the exe and change the default recipient to the user desired username. But when I <strong>hex edited</strong> the file and put the desired user name and tried to run it, it showed an error "<strong>x.exe not a valid win32 application</strong>"..</p>
  
  <p>Is there a way to safely hex edit a file without encountering this error. Or is there a way to modify the source so that, just one variable may be safely edited using a hex editor.. </p>