Skip to content

Xor var before compile binary and decrypt var after run binary by decrypt function

License

Notifications You must be signed in to change notification settings

oxfemale/XorVarsMacros

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XorVarsMacros

MSVC project:
The macro example encrypts string variables before the code build process. With examples of variable extraction, decryption and encryption functions. Macros xor string, but you can remake this example into a more complex encryption option.
EXEMPLE USE:

/*
Macros make string protected in code
*/
    HideString(ProtectedString, "Nigga I done steal ya bikezz");
/*
Function get crypted string
*/
    char* CryptedVar = ProtectedString.get();
    printf("crypted: %s\r\n", CryptedVar);
/*
Function decrypt string
*/
    char* DeCryptedVar = ProtectedString.decrypt();   
    printf("decrypted: %s\r\n", DeCryptedVar);
/*
Function crypt string
*/

    char* CryptedVarAgain = ProtectedString.crypt();
    printf("crypted again: %s\r\n", CryptedVarAgain);

About

Xor var before compile binary and decrypt var after run binary by decrypt function

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published