본문 바로가기

wargame/vortex

vortex7

Vortex Level 7 → Level 8

Checksum Fun

This level requires CRC_32(argv[1], strlen(argv[1])) to be 0xe1ca95ee. You might need to extract the crc tables from the program.

Reading Material

Included file: vortex7.c
int main(int argc, char **argv)
{
        char buf[58];
        u_int32_t hi;
        if((hi = crc32(0, argv[1], strlen(argv[1]))) == 0xe1ca95ee) {
                strcpy(buf, argv[1]);
        } else {
                printf("0x%08x\n", hi);
        }
}





'wargame > vortex' 카테고리의 다른 글

vortex6  (0) 2014.06.09
vortex5  (0) 2014.06.08
vortex4  (0) 2014.05.25
vortex3  (0) 2014.05.21
vortex2  (0) 2014.05.21