How to Hack an EXE File
Could you edit an executable file when it has been compiled?
Yes, you could. But you could only change the String data.
How? Using the MS-DOS Text Editor. The String data is text,
but in the file will appear different. For example, if in
the application appears
About NotePad in the compiled file
will appear A b o u t N o t e P a d with an space between
each word. Before modifying the file, make a back-up of it.
If you want to modify the file, first you have to open it
using the MS-DOS Text Editor and open the file as Binary.
Then activate the Insert key and search for some text data
in the program. But, it isn't as easy as said. You have to
search it manually, 'coz the words are separated by a space
between. Then replace each word for anyone you want. Example:
N o t e P a d to M y P r o g r
BE CAREFUL: The file must weight the same than the
original; if not, it could not work.
[Even then the file may not work. For example, it might calculate
its checksum and notice that you have made changes. This is
certainly a dangerous technique. So at least make a backup
copy of the file before you mess with it.
Installing Registry Entries
Here's an easy way to set registry entries when you install
a program. First, create the entries manually on your computer.
Put them in their own subtree if possible. Use the registry
editor to export the subtree containing the entries. This
will creates a .REG file. Include this in the list of files
given to the Package and Deployment Wizard. The Wizard will
automatically offer to run the registry file on the target
system during installation and that installs the registry
Learn ASCII Code in Visual Basic immediate window
Ever want to know what the chr number is for a character?
Open the immediate window by pressing (CTRL+G) and type ?Asc("")
and press enter. The result will appear right before your
Example: the number for a double quote
?Asc("""") would come as 34.