google-site-verification: googlebaca44933768a824.html Simple C SourceCode "obfuscating" [PHP] - Old Royal Hack Forum

Announcement

Collapse
No announcement yet.

Simple C SourceCode "obfuscating" [PHP]

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Simple C SourceCode "obfuscating" [PHP]

    I just mentioned this site:

    C++ Obfuscator - obfucate C and C++ code

    I didnt really get who could need this but saw the license prices, so I decided to do sth similar. Isnt really usefull at all but maybe somebody can use this.

    Input could look like this:

    Code:
    //C++ Test Obfucating
    #include <windows.h>
    #include <stdio.h>
    #include <conio.h>
    
    int main()
    {
    	char output[512],test[128];
    	strcpy(output,"Hello World");
    	printf("%s\n",output);
    	getch();
    	return 0;
    }
    Output:

    Code:
    #include <windows.h>
    #include <stdio.h>
    #include <conio.h>
    #define dummy_77465 dummy
    #define edbccdcaccefdafbbac strcpy
    #define afaffbbabdecfde printf
    #define bbfcedafdfebcb getch
    int main(){
    char output[0x6e + 0x1fa],test[0x36 + 0x5c];
    edbccdcaccefdafbbac(output,"\x48\x65\x6C\x6C\x6F\x20\x57\x6F\x72\x6C\x64");
    afaffbbabdecfde("\x25\x73\n\x00",output);
    bbfcedafdfebcb();
    return 0;}
    It's still a bit sloppy and it wont crpyt the variable names, but it may in future.

    Readme Dump

    Code:
    Sourcecode "Obfuscator"
    
    Instructions:
    
    Find the array:
    $function_names = array("strcpy","strpos","strstr","strcat","printf","getch");
    And add every function you want to be handled as a define in there.
    Copy your code in the same dir as the script. (code.c)
    Run the inc.php
    You can now see the different levels in output_x.c
    Report bugs pls :)
    Attached Files

    i search a good source code for Dods with aimbot and other stuff i know this is the same engine as counter strike source but css hacks are not work in dods.

    #2
    Re: Simple C SourceCode &quot;obfuscating&quot; [PHP]

    Update:

    -Hashes Var Names
    -Hashes Self defined functions

    Thx to kn4ck3r for regexp help

    Input:


    Code:
    //C++ Test Obfucating
    #include <windows.h>
    #include <stdio.h>
    #include <conio.h>
    
    void out_givn(char *text)
    {
        printf("%s\n",text);
    }
    
    int main()
    {
        char output[512];
        int test2 = 0;
        int test = 1;
        test = 44;
        test2 = 55;
        test2 -= test;
        strcpy(output,"Hello World");
        out_givn(output);
        if(test2 >= 0)
            printf("55-44 = %i\n",test2);
        getch();
        return 0;
    }
    Output:

    Code:
    #include <windows.h>
    #include <stdio.h>
    #include <conio.h>
    #define dummy_77465 dummy
    #define afaffbbabdecfde printf
    #define edbccdcaccefdafbbac strcpy
    #define bbfcedafdfebcb getch
    void cbfcaeaacf(char *cbecddeabcaedd){
    afaffbbabdecfde("\x25\x73\n\x00",cbecddeabcaedd);}
    
    int main(){
    char efddbfced[0x18b + 0x1ee];
    int adbbafab = 0;
    int fbcddcadeebf = 1;
    fbcddcadeebf = 44;
    adbbafab = 55;
    adbbafab -= fbcddcadeebf;
    edbccdcaccefdafbbac(efddbfced,"\x48\x65\x6C\x6C\x6F\x20\x57\x6F\x72\x6C\x64");
    cbfcaeaacf(efddbfced);
    if(adbbafab >= 0)
    afaffbbabdecfde("\x35\x35\x2D\x34\x34\x20\x3D\x20\x25\x69\n\x00",adbbafab);
    bbfcedafdfebcb();
    return 0;}
    Next: Hex Digits
    Attached Files

    i search a good source code for Dods with aimbot and other stuff i know this is the same engine as counter strike source but css hacks are not work in dods.

    Comment

    Working...
    X