Access������--
ËùÊô·ÖÀࣺ ϵͳ°²È« ×÷Õߣº ¸üÐÂÈÕÆÚ£º2003-11-17 11:31:05 ÔĶÁ´ÎÊý£º2101

ÆƽâAccess(*.mdb)Ä¿Ç°ËùÓа汾µÄÃÜÂë


¹ØÓÚAccess97µÄÃÜÂëÆƽ⣬ÔںܶàµÄÍøÕ¾ºÍÔÓÖ¾É϶¼Óйý½éÉÜ¡£ÔÚÕâÀïÎÒ¼òµ¥Öظ´Ò»Ï¡£

ÔÚmdbÎļþµÚ0x42×Ö½Ú´¦µÄ13¸ö×Ö½Ú·Ö±ðÓë0x86,0xfb,0xec,0x37,0x5d,0x44,0x9c,0xfa,0xc6,0x5e,0x28,0xe6,0x13Òì»òºó¼´¿ÉµÃµ½Êý¾Ý¿âµÄÃÜÂë¡£µ«ÔÚAccess 2000ºÍ2002µÄ°æ±¾ÀïÃÜÔ¿²»ÔÙÊǹ̶¨µÄ13¸ö×Ö½Ú.¶øÇÒ¼ÓÃܵķ½Ê½Ò²ÓÐÁ˱仯¡£

¾­¹ýccrunÓÃÒ»ÏÂÎçµÄʱ¼äÑо¿£¬ÖÕÓÚ½«Access2000µÄ¼ÓÃÜ·½Ê½¸ãÇå³þÁË¡£ºÙºÙ¡£Ôڴ˽«Å¼µÄÐĵ÷¢²¼¡£Ï£Íû¶Ô´ó¼ÒÓÐÓã¬Èç¹ûÄú·¢ÏÖÎÒµÄÀí½âÓÐÎó£¬ÇëÀ´ÐŸæÖ®ÎÒÃÇ¡£ÐÅÏ䣺[email protected] °æȨËäÈ»ÓÐûÓж¼Ã»¹Øϵ£¬²»¹ýÈç¹ûÄúҪתÔØ£¬Çë×¢Ã÷³ö´¦£¬²¢±£Ö¤ÎĵµµÄÍêÕûÐÔ¡£Ð»Ð»¡£

ÎÒÓõķÖÎö¹¤¾ßÊÇUltraEdit32 v10.00£¬±à³Ì¹¤¾ßÊÇC++ Builder 6.0

¾­¹ýÓÃUltraEdit32·ÖÎö£¬·¢ÏÖAccess2000ºÍAccess2002µÄÊý¾Ý¿â¼ÓÃÜ·½Ê½Ïàͬ£¬ËùÒÔÒÔÏÂÖ»Õë¶ÔAccess2000µÄmdbÎļþ¡£»¹ÓоÍÊÇÎÒÓõÄÊÇ16½øÖƵÄÊý±íʾ£¬ËùÒÔÇ°Ãæ¼ÓÁË0x£¬Èç¹ûÄãÓõÄÊÇVB»òÆäËû£¬Òª×¢ÒâÊýֵŶ¡£

Ê×ÏÈÓÃAccessXP´´½¨ÁËÒ»¸ö¿ÕÃÜÂëµÄÊý¾Ý¿âÎļþdb1.mdb£¬°üº¬Ò»¸ö±í£¬ÆäÖÐÓÐÒ»¸ö×ֶΣ¬Ã»ÓÐÌîÈκÎÊý¾Ý¡£±£´æÍ˳öÈ»ºó¸´ÖÆÒ»·ÝΪdb2.mdb£¬ÒÔ¶ÀÕ¼·½Ê½´ò¿ª2.mdb£¬²¢¼ÓÉÏÃÜÂë1324567890123 ±£´æÍ˳ö¡£

ÓÃUltraEdit32´ò¿ªÕâÁ½¸öÊý¾Ý¿â£¬²¢½øÐбȽϡ£ÎұȽϵķ½·¨Ò²ºÜ¼òµ¥¡£ÔÚUltraEdit32ÖУ¬¿ìËÙµÄÀ´»Øµã»÷±»´ò¿ªÎļþµÄÑ¡Ï(¾ÍÊÇÔÚÁ½¸öÎļþ¼äÀ´»ØÇл»£¬ºÇºÇ¡£±¿°ì·¨°É)£¬·¢ÏÖ´ÓÎļþÍ·¿ªÊ¼0x42×Ö½Ú´¦·¢Éú±ä»¯¡£

db1.mdb
00000040h£ºBC 4E BE 68 EC 37 65 D7 9C FA FE CD 28 E6 2B 25 £»
00000050h£º8A 60 6C 07 7B 36 CD E1 DF B1 4F 67 13 43 F7 3C £»

00000060h£ºB1 33 0C F2 79 5B AA 26 7C 2A 4F E9 7C 99 05 13 £»
db2.mdb
00000040h£ºBC 4E 8F 68 DE 37 56 D7 A8 FA CB CD 1E E6 1C 25 £»
00000050h£ºB2 60 55 07 4B 36 FC E1 ED B1 7C 67 13 43 F7 3C £»

00000060h£ºB1 33 0C F2 79 5B AA 26 7C 2A 4F E9 7C 99 05 13 £»

ΪÁË¿´µÄÇå³þЩ£¬ÎҰѲ»Í¬µÄ×Ö½Ú¼ÓÁËÑÕÉ«¡£¿´³öÃŵÀÁË°É£¬Access97ÒÔºóµÄ°æ±¾ÀÃÜÂë×Ö½Ú²»ÔÙÊÇÁ¬Ðø´æ·Å£¬¶øÊǸôÒ»¸ö×Ö½Ú´æÒ»¸ö¡£²¢ÇÒ¾­¹ý¼ÓÃÜ¡£µ½ÓÚ½âÃܵķ½·¨Â»¹ÊÇÓÃÀÏ°ì·¨¡°Òì»ò¡±£¡0xBE ^ 0x8F = 0x31£¬ÕâÕýºÃÊÇAsciiÂë"1"Ŷ¡£ÏÂÒ»¸ö0xEC ^ 0xDE = 0x32 ÕýºÃÊÇAsciiÂë"2"£¬ºÇºÇ¡£Ò»Ö±µ½×îºóÒ»¸ö²»Í¬µÄ0x4F ^ 0x7C =0x33£¬½«È¡µÃµÄ×Ö·ûºÏ³É×Ö·û´®£¬±ãÊÇÃÜÂëÃ÷ÎÄ¡°1234567890123"£¬Ç§Íò²»ÒªÒÔΪÕâÑù¾ÍÊÕ¹¤ÁË¡£ÒòΪÕâÒ»´ÎÊÇÕýºÃÅö¶ÔÁË¡£ºÇºÇ¡£ÎÒ¸Õ¿ªÊ¼Ò²ÒÔΪ¾ÍÕâô¼òµ¥£¬ÓÚÊÇÓÃCB×öÁ˸öС³ÌÐò£¬ÊÔ׎âÁ˼¸¸ömdbÃÜÂ붼»¹ÐУ¬¿ÉÊÇÊÔµ½¶¯ÍøÂÛ̳µÄmdbÎļþʱ·¢ÏÖÈ¡³öÀ´µÄÃÜÂë²»¶Ô£¬ÔÎÁË¡£ÓÚÊÇÓÃÁíÍâÒ»¸öÈ¡mdbÃÜÂëµÄ¹¤¾ß¿´ÁËһϣ¬·¢ÏÖÈ˼ҵľͿÉÒÔÕýÈ·µÄÈ¡³öÃÜÂ룬ÊÇAccess2000µÄ¸ñʽ£¬ÓÚÊǸоõ΢Èí¼ÓÃܵķ½Ê½»¹ÊÇûÑо¿Íê¡£¼ÌÐø¹¤×÷£¬ÓÃUltraEdit32´ò¿ª¶¯ÍøÂÛ̳µÄÊý¾Ý¿âdvbbs.mdb£¬ºÍÎÒÇ°ÃæµÄ¼Ó¹ýÃܵÄÊý¾Ý¿â×ö±È½Ï£¬·¢ÏÖ²»Í¬µÄµØ·½ºÜ¶à¡£Ö»ºÃÒ»¸ö×Ö½ÚÒ»¸ö×Ö½ÚµÄÊÔ¡£¡£¡£¡£nnn´ÎÒÔºó·¢ÏÖµÚ0x62´¦µÄÕâ¸ö×Ö½ÚÆð׏ؼü×÷Óã¬ÔݳÆ֮Ϊ¼ÓÃܱêÖ¾¡£

db1.mdb //¿ÕÃÜÂë
00000040h£ºBC 4E BE 68 EC 37 65 D7 9C FA FE CD 28 E6 2B 25 £»
00000050h£º8A 60 6C 07 7B 36 CD E1 DF B1 4F 67 13 43 F7 3C £»

00000060h£ºB1 33 0C F2 79 5B AA 26 7C 2A 4F E9 7C 99 05 13 £»

db2.mdb //ÃÜÂëΪ:1234567890123
00000040h£ºBC 4E 8F 68 DE 37 56 D7 A8 FA CB CD 1E E6 1C 25 £»
00000050h£ºB2 60 55 07 4B 36 FC E1 ED B1 7C 67 13 43 F7 3C £»

00000060h£ºB1 33 0C F2 79 5B AA 26 7C 2A 4F E9 7C 99 05 13 £»

dvbbs.mdb //ÃÜÂëΪ:yemeng.net

00000040h£ºBC 4E DB 6A 89 37 14 D5 F9 FA 8C CF 4F E6 19 27 £»

00000050h£ºE4 60 15 05 0F 36 D1 E3 DF B1 53 65 13 43 EB 3E £»

00000060h£ºB1 33 10 F0 79 5B B6 24 7C 2A 4A E0 7C 99 05 13 £»

¡¡

ÔõôÊÔÄØ£¬»¹ÊÇÒì»ò¡£È¡0x42´¦¿ªÊ¼µÄ×Ö½Ú0xDBÓë¿ÕÃÜÂëÎļþµÄ0x42´¦×Ö½ÚÒì»ò£¬È¡0x62´¦µÄ¼ÓÃܱêÖ¾Óë¿ÕÃÜÂëÎļþ0x62´¦×Ö½ÚÒì»ò£¬È»ºóÔÙ°ÑÈ¡µÃµÄÁ½¸öÖµÏàÒì»ò£º

(0xDB^0xBE)^(0x10^0x0C)=0x79 ºÙºÙ¡£Õâ¸öÖµÊÇAsciiµÄ"y"£¬È»ºóÈ¡ÏÂÒ»¸ö×Ö½Ú£¨¼ÇµÃ¸ôÒ»¸ö×Ö½ÚÈ¡Ò»¸ö£©

(0x89^0xEC)^(0x10^0x0C)=0x79 ß×£¬±¾À´Õâ¸ö×Ö½ÚÓ¦¸ÃÊÇ"e"µÄ£¬Ôõô±ä³É"y"ÁË£¿ÊÔ×Ų»ÓëºóÃæµÄÁ½¸öÒì»òÖµÏàÒì»ò£¬Ö»¼ÆËã0x89^0xEC=0x65 µÃµ½"e",¹þ¡£Õâ϶ÔÁË¡£ÏÂÒ»¸ö

(0x14^0x65)^(0x10^0C)=0x6D µÃµ½"m"£¬ÏÂÒ»¸ö

(0xF9^9C)=0x65 µÃµ½"e"£¬×¢ÒâÕâÀïÖ»ÊÇÕâÁ½¸öÊýÒì»ò¡£ºóÃæµÄ´ó¼Ò¿ÉÒÔ×Ô¼ºÊÔ¡£

¡¡

ÕâÑù¾Í×ܽá³ö¹æÂÉÀ´ÁË¡£

½âÃÜʱ£¬ÏÈÈ¡³ö¼ÓÃÜÎļþ´ÓÎļþÍ·¿ªÊ¼0x62´¦µÄ×Ö½Ú£¬Óë¿ÕÃÜÂëÊý¾Ý¿âÎļþµÚ0x62´¦ÏàÒì»ò£¬µÃµ½Ò»¸ö¼ÓÃܱêÖ¾¡£

ÔÙ´Ó0x42´¦¿ªÊ¼Ã¿¸ôÒ»¸ö×Ö½ÚÈ¡Ò»¸ö×Ö½Ú£¬È¡µÃ13¸ö¼ÓÃܺóµÄÃÜÂë×Ö½Ú£¬·Ö±ðÓë¿ÕÃÜÂëÊý¾Ý¿âÎļþ0x42´¦Ã¿¸ôÒ»¸ö×Ö½ÚÈ¡µÃµÄ13¸ö×Ö½ÚÏëÒì»ò£¬µÃµ½13¸öÃÜÂë°ë³ÉÆ·¡£ÎªÊ²Ã´ËµÊÇ°ë³ÉÆ·ÄØ£¬ÒòΪ»¹Òª½«13¸ö×Ö½ÚµÄÃÜÂëÿ¸ôÒ»¸ö×Ö½Ú£¬¾ÍÓë¼ÓÃܱêÖ¾ÏàÒì»ò£¬×îºóµÃµ½µÄ13¸ö×Ö½Ú²ÅÊÇÕæÕýµÄÃÜÂë¡£µ±È»£¬Èç¹ûÖмäÓÐ0x0µÄ×Ö½Ú£¬Ôò˵Ã÷ÃÜÂëλÊý²»¹»13λ¡£Ö±½Óshow³öÀ´¾Í¿ÉÒÔÁË¡£

ÁíÍâÎÒ·¢ÏÖ¼ÓÃܱêÖ¾»áËæ×Åʱ¼ä»ò»úÆ÷²»Í¬¶ø²»Í¬£¬ËùÒÔҲûÓÐÍòÄܵģ¬²»¹ýÓÐÒ»¸ö²ÎÕյľͿÉÒÔÁË¡£ÒÔÏ´úÂëÊÇÎÒÔÚдÕâ¸ö³ÌÐòµÄʱºòÈ¡µÃµÄÊý£¬ºÍÎÒдÕâƪÎÄÕ²»ÊÇÒ»¸öʱ¼ä£¬ËùÒÔÊýÖµ²»Ò»Ñù£¬µ«×îÖÕ½âÃܵĽá¹ûÊÇÒ»ÑùµÄ¡£´ó¼Ò¿ÉÒԲο¼Ò»Ï¡£

¡¡

¶ÔÁË£¬»¹ÓиöÖØÒªµÄ¾ÍÊÇÏȵÃÅжÏÊý¾Ý¿âµÄ°æ±¾£¬ÎÒÓÃÁ˸ö¼òµ¥µÄ°ì·¨£¬È¡0x14´¦µÄ×Ö½Ú£¬Èç¹ûΪ0¾ÍÅжÏΪÊÇAccess97£¬Èç¹ûΪ1¾ÍÈÏΪÊÇAccess2000»ò2002µÄ¡£Ö»ÊÇĿǰûÓÐÑо¿³öÅжÏ2000ºÍ2002µÄ°ì·¨£¬Èç¹ûÄÄλ֪µÀµÄ»°£¬ÇëÖ¸µã¡£

¡¡

´úÂ룺

//ÕâÀﶨÒåµÄÊÇ13¸ö×Ö½Ú×÷ΪAccess2000Òì»òµÄÔ´Âë¡£ÓëÖ®Ïà¶ÔÓ¦µÄ¼ÓÃܱêÖ¾ÊÇ0x13£¬ccrunÌØ´Ë×¢Ã÷

//µ±È»Äã¿ÉÒÔÓÃÕâÒ»×飺BE EC 65 9C FE 28 2B 8A 6C 7B CD DF 4F ÓëÕâÒ»×éÏà¶ÔÓ¦µÄ¼ÓÃܱêÖ¾ÊÇ0x0c

//ºÇºÇ.³ÌÐòÓÐЩÂÒ£¬Ï£Íû´ó¼ÒÄÜ¿´µÄ¶®¡£
char PassSource2k[13]={0xa1,0xec,0x7a,0x9c,0xe1,0x28,0x34,0x8a,0x73,0x7b,0xd2,0xdf,0x50};

//Access97µÄÒì»òÔ´Âë
char PassSource97[13]={0x86,0xfb,0xec,0x37,0x5d,0x44,0x9c,0xfa,0xc6,0x5e,0x28,0xe6,0x13};

¡¡

void __fastcall TMainForm::GetMdbPass()
{
char PassStrTemp[26],Ver,EncrypFlag,t1;
int FileHandle;
String MdbPassword,MdbVersion,MdbFileName;

FileHandle=FileOpen(MdbFileName,fmOpenRead);
if(FileHandle<0)
{
ShowMessage("Îļþ´ò¿ª´íÎó£¡");
return;
}

//È¡µÃÊý¾Ý¿â°æ±¾
FileSeek(FileHandle,0x14,0);
FileRead(FileHandle,&Ver;,1);

//È¡µÃ¼ÓÃܱêÖ¾
FileSeek(FileHandle,0x62,0);
FileRead(FileHandle,&EncrypFlag;,1);

//¶ÁÈ¡¼ÓÃܺóµÄÃÜÂëµ½»º³åÇø
FileSeek(FileHandle,0x42,0);
FileRead(FileHandle,&PassStrTemp;,26);
FileClose(FileHandle);

if(Ver<1)
{
MdbVersion="Access 97";
if(int(PassStrTemp[0]^PassSource97[0])==0)
MdbPassword="ÃÜÂëΪ¿Õ!";
else
{
MdbPassword="";
for(int j=0;j<13;j++)
MdbPassword=MdbPassword+char(PassStrTemp[j]^PassSource97[j]);
}
}
else
{
MdbVersion="Access 2000 or 2002";
MdbPassword="";
for(int j=0;j<13;j++)
{
if(j%2==0)

t1=char(0x13^EncrypFlag^PassStrTemp[j*2]^PassSource2k[j]);

//ÿ¸ôÒ»¸ö×Ö½Ú¾ÍÓë¼ÓÃܱêÖ¾ÏàÒì»ò¡£ÕâÀïµÄ¼ÓÃܱê־Ϊ0x13

else

t1=char(PassStrTemp[j*2]^PassSource2k[j]);
MdbPassword=MdbPassword+t1;
}
}
if(MdbPassword[1]<0x20||MdbPassword[1]>0x7e)
MdbPassword="ÃÜÂëΪ¿Õ£¡";
EditMdbFileName->Text=MdbFileName;
EditMdbPassword->Text=MdbPassword;
EditMdbVersion->Text=MdbVersion;
}

ccrunÔ­´´£¬À´×ÔC++ Builder Ñо¿

Email:[email protected] QQ:165332

ÈçתÔØÇë×¢Ã÷³ö´¦£¬²¢±£Ö¤ÎĵµµÄÍêÕûÐÔ£¬Ð»Ð»¡£
Èç¹ûÄúÀÁµÄ×ö³ÌÐò£¬¿ÉÒÔ µã»÷ÕâÀï ÏÂÔص½¡£



--------------------------------------------------------------------------------
Ïà¹ØÎÄÕÂ

ûÓÐÏà¹ØÎÄÕÂ


ϵͳÓÅ»¯
¿Ø¼þʹÓÃ
Êý¾Ý¿âÉè¼Æ
Êý¾Ý¿âÁ¬½Ó
ϵͳ°²È«
OLE×Ô¶¯»¯
³£¼ûÎÊÌâ
ʵÓôúÂë
ÊôÐÔÏê½â
ÍøÂçÏà¹Ø
ʵÓÃAPI
¾­Ñé·ÖÏí
¾«Ñ¡½Ì³Ì
×Ö·û´¦Àí
ADPÏà¹Ø



ÎÄÕÂËÑË÷



ÖÆ×÷ά»¤£ºÀîÑ°»¶     Mail:[email protected]

¹ØÓÚ±¾Õ¾ -- ÍøÕ¾·þÎñ -- °æȨÌõ¿î -- ÁªÏµ·½·¨ -- ÍøÕ¾°ïÖú
Access°®ºÃÕß°æȨËùÓÐ Copyright 2003-2005 All Rights Reserved δ¾­Ðí¿É²»µÃµÁÁ´