Decoding Award BIOS Flash Access Code

helper script

This finds the entry point of the unlock function. Written in [http://www.minimalinux.org/arena/ Arena].

fd = fopen(argv[1], "r");
if (fd == null)
        return;

for ( i = 0; i < 4096; i++) {
        paragraph = fread(fd, 16);

        line = strstr(paragraph, "$@AWDFLASH");
        if( (!is_void(line)) && (line == 0) )
        {
                pa = cstring(paragraph);
                lo = mgetchar(pa, 12) & 0xff;
                hi = mgetchar(pa, 13) & 0xff;
                printf("0x%02x%02x\n", hi, lo);
        }
}

Award_Flash_Decoding (last edited 2007-12-10 16:52:23 by JonathanKollasch)