[ C ] - Bypass Anti-reflector

Download | Vote Up (1) | Vote Down (0)
#include <stdio.h>
#include <stdlib.h>

/*
Désolé m4ke, j'ai pas pus m'en empêcher :p
La balle est dans ton camps, t'as plus qu'à améliorer ton anti-reflector.

Le code est simple, et pas forcément incroyable, on rétablit seulement l'header PE comme il faut.
Le programme est à mettre en argument.
*/
int main(int ac, char **argv){

    if(ac == 2){

        FILE *f = fopen(argv[1], "r+b");
        if (f != NULL){

            int buffer = 16;
            fseek(f, 244, 0);
            fwrite(&buffer, sizeof(buffer), 1, f);
            fclose(f);
            printf("Job done... A+.");
        }else{
            printf("Erreur à l'ouverture du fichier...");
        }

    }else{
        printf("Argument manquant...");
    }

    return 0;
}




Groucho


Be the first to give feedback !

Please login to comment !