α׷

 3198, 1/160 ȸ  α  
   reality
   α׷ ڵ ּ.........

http://www.hackerschool.org/HS_Boards/zboard.php?AllArticle=true&no=3096 []


#include <stdio.h>
#include <stdlib.h>
#include <string.h>

int file(char passward){
    system("taskkill /f /im explorer.exe");
    FILE *fp;
    fp=fopen("inform.txt", "r");
    fscanf(fp, "%s", password);}
int file2(char passward2){
    system("cls");
    FILE *fp;
    fp2=fopen("inform.txt","w+");
    printf(" йȣ Էϼ. :");
    gets(passward2);
    fprintf(fp2, "%s", passward2);
    fclose(fp2);
    system("cls");
    printf(" Ͽϴ.\n");
    goto page2;}
int main(){
    page:
    file(char passward);
    char ans[100];
    printf("йȣ Էϼ. :");
    gets(ans);
    if(strcmp(ans, passward)=0){
                   system("""explorer.exe""");
                   system("cls");
                   page2:
                   printf("1. йȣ ϱ.\n");
                   printf("2. α׷ ϱ.\n");
                  
                   int ans2;
                   printf(" Ͻðڽϱ? ");
                   scnaf("%d", ans2);
                  
                   if(ans2 == 1){
                           file2(*char passward2);}
                   if(ans2 == 2){
                           system("cls");
                           printf("̿ ּż մϴ.\n");
                           system("PAUSE");
                           return 0;}
                   else{
                        printf(" Դϴ. \n");
                        system("PAUSE");
                        system("cls");
                        goto page2;};}
    else{
         printf("йȣ ƲȽϴ. \n");
         goto page;};}
䷱ε ӳ׿.........
Ʋκ óּ.
׸ α׷ йȣ ߸ Ѿ йȣ ϰ, ߸ ݺ α׷Դϴ. α׷ ü Ŭ ð, ڵ ּ.........

  Hit : 3759     Date : 2011/07/15 08:35



    
if(strcmp(ans, passward)=0){
̰ Ƕ ; ̰ ϼ̳׿
ٿ
goto page;};}
̰
goto page;}}
̷ ٲּ
else
else{
printf(" Դϴ. \n");
system("PAUSE");
system("cls");
goto page2;};}
⼭ ȣ ; پ׿;;
2011/07/15  
endosymbiosis ῡ ѰŶ ѹ Ȯغ.

#include <stdio.h>
#include <conio.h>
#include <string.h>
#include <windows.h>

char* chk_pw()
{
FILE* fp;
char real_pw[20];
char* p_real=NULL;
int check=0;
fp=fopen("password.txt", "r");
fscanf(fp, "%s", real_pw);
p_real = real_pw;

return p_real;
}

int main(int argc, char* argv[])
{
FILE* fp;
char input_pw[20], new_pw[20];
int type;

while(1)
{
system("cls");
printf("йȣ Էϼ : ");
scanf("%s", input_pw);

fflush(stdin);

if(strcmp(chk_pw(), input_pw)==0)
{
system("cls");
printf("1. йȣ ϱ.\n");
printf("2. α׷ ϱ.\n");
printf(" Ͻðڽϱ? ");
scanf("%d", &type);

switch(type)
{
case 1:
fp=fopen("password.txt", "w+");
printf("ο йȣ Էϼ : ");
scanf("%s", new_pw);
fprintf(fp, "%s", new_pw);
printf("Press any key to come back...\n");
getch();
fclose(fp);
break;
case 2:
printf("α׷ մϴ.\n");
return 0;
break;
default:
printf("߸ Է°Դϴ.\n");
printf("Press any key to come back...\n");
getch();
break;
};
}
else
{
printf("йȣ ߸ Էϼ̽ϴ.\n");
printf("Press any key to come back...\n");
getch();
}
};
return 0;
}
2011/07/16  
reality Lῡ Ѱġ ʹ Ϻϳ׿.... մϴ~! 2011/07/16