Created
July 6, 2014 00:41
-
-
Save segfo/a189b3383379cc5106d7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
char flag[]={"Itofrjxb2`..c.2.6031]g6b1gg0^)b11cb^^-]z"}; | |
int main(){ | |
int eax,edx,ecx; | |
int tick=0; | |
int i; | |
for(tick=0;tick<3;){ // IRQ 0 interrupt. | |
eax=tick; | |
edx=eax+1; | |
tick=edx; | |
printf("tick:%d\n",eax); | |
ecx=tick; | |
for(eax=0;eax!=0x28;eax++){ // decode flag. | |
edx=flag[eax]^tick; | |
edx++; | |
printf("%c",edx); | |
flag[eax]=(char)edx; | |
} | |
printf("\n",flag); | |
} | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment