PC Review


Reply
Thread Tools Rate Thread

Access 2000 Password Recovery

 
 
rajarameshvarma@gmail.com
Guest
Posts: n/a
 
      26th Jan 2007
Hi....

I am trying to recover password of my access 2000 (.mdb) file. I need
the data very urgently but i forgot the password. I have tried some
softwares but none of them is giving morthan two characters.

and i have also tried using a logic in c#.net. But this also doesnt
work. logic is....

openFileDialog1.Title = "Select MS Access File to Reveal";
openFileDialog1.Filter = "MS Access Database (*.MDB)|*.MDB";
if (openFileDialog1.ShowDialog() == DialogResult.OK)
{
//Create a file stream from the selected file.
FileInfo fi=new FileInfo(openFileDialog1.FileName);
FileStream fs=fi.OpenRead();
//Read 200 bytes into an array from the specified file. We only
need the first few hundred bytes
int nBytes=200;
byte[] ByteArray=new byte[nBytes];
int nBytesRead=fs.Read(ByteArray, 0, nBytes);
fs.Close();

//find out which version of access the file is
string version = Convert.ToChar(ByteArray[156]).ToString() +
Convert.ToChar(ByteArray[157]).ToString() +
Convert.ToChar(ByteArray[158]).ToString();
string passwordEncypted = "";
byte[] bytLock; //this is our password from the file
byte[] bytKey; //this is the key to XOR against
int len; //length of the byte array

//if it's access 2000 or greater
if (version == "4.0")
{
bytKey = new byte[]
{0xE1,0xEC,0x3A,0x9C,0xA1,0x28,0x74,0x8A,0x33,0x7B,0x92,0xDF,0x10,0x13,0xA8,0xB1,0x53,0x79,0xF5,0x7C};
len = 20;
bytLock = new byte[20];
int p = 66;
int i = 0;
while (p < 105)
{
passwordEncypted = passwordEncypted +
Convert.ToChar(ByteArray[p]).ToString();
bytLock[i] = ByteArray[p];
//bytLock[i] = ByteArray[i];
p += 2; //lose every second character if it's version 4.0 (Access
2000)
i += 1;
}
}
else //it's access 97
{
bytKey = new byte[]
{0x86,0xFB,0xEC,0x37,0x5D,0x44,0x9C,0xFA,0xC6,0x5E,0x28,0xE6,0x13};
len = 13;
bytLock = new byte[13];
int p = 66;
int i = 0;
while (p < 79)
{
passwordEncypted = passwordEncypted +
Convert.ToChar(ByteArray[p]).ToString();
bytLock[i] = ByteArray[p];
p += 1;
i += 1;
}
}

//check if there is a password set
if (System.Text.Encoding.ASCII.GetString(bytLock) ==
System.Text.Encoding.ASCII.GetString(bytKey))
MessageBox.Show("No password is set for this file.");
else
{
//xor the key and cipher together
byte[] key = new byte[len];
for (int i = 0; i < len; i++)
key[i] =(byte)(bytLock[i] ^ bytKey[i]);
string plainText =
System.Text.Encoding.ASCII.GetString(key);
//if the password is less than 13 or 20 characters long, nulls are
added to the end
//to pad out the string. Strip these off to get the original
password
//int nullStart = plainText.IndexOf(((char)0).ToString());
plainText = plainText.Substring(0,20);

//plainText = plainText.Substring(0, 10);

MessageBox.Show(plainText);
but it is also not giving the correct password.

Can any one help me in this regard..

Thanks in advance

 
Reply With Quote
 
 
 
 
=?Utf-8?B?SmVycnkgV2hpdHRsZQ==?=
Guest
Posts: n/a
 
      26th Jan 2007
If you google ACCESS PASSWORD CRACK you'll find a few companies will to crack
it for money.
--
Jerry Whittle, Microsoft Access MVP
Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder.

"(E-Mail Removed)" wrote:

> Hi....
>
> I am trying to recover password of my access 2000 (.mdb) file. I need
> the data very urgently but i forgot the password. I have tried some
> softwares but none of them is giving morthan two characters.
>
> and i have also tried using a logic in c#.net. But this also doesnt
> work. logic is....
>
> openFileDialog1.Title = "Select MS Access File to Reveal";
> openFileDialog1.Filter = "MS Access Database (*.MDB)|*.MDB";
> if (openFileDialog1.ShowDialog() == DialogResult.OK)
> {
> //Create a file stream from the selected file.
> FileInfo fi=new FileInfo(openFileDialog1.FileName);
> FileStream fs=fi.OpenRead();
> //Read 200 bytes into an array from the specified file. We only
> need the first few hundred bytes
> int nBytes=200;
> byte[] ByteArray=new byte[nBytes];
> int nBytesRead=fs.Read(ByteArray, 0, nBytes);
> fs.Close();
>
> //find out which version of access the file is
> string version = Convert.ToChar(ByteArray[156]).ToString() +
> Convert.ToChar(ByteArray[157]).ToString() +
> Convert.ToChar(ByteArray[158]).ToString();
> string passwordEncypted = "";
> byte[] bytLock; //this is our password from the file
> byte[] bytKey; //this is the key to XOR against
> int len; //length of the byte array
>
> //if it's access 2000 or greater
> if (version == "4.0")
> {
> bytKey = new byte[]
> {0xE1,0xEC,0x3A,0x9C,0xA1,0x28,0x74,0x8A,0x33,0x7B,0x92,0xDF,0x10,0x13,0xA8,0xB1,0x53,0x79,0xF5,0x7C};
> len = 20;
> bytLock = new byte[20];
> int p = 66;
> int i = 0;
> while (p < 105)
> {
> passwordEncypted = passwordEncypted +
> Convert.ToChar(ByteArray[p]).ToString();
> bytLock[i] = ByteArray[p];
> //bytLock[i] = ByteArray[i];
> p += 2; //lose every second character if it's version 4.0 (Access
> 2000)
> i += 1;
> }
> }
> else //it's access 97
> {
> bytKey = new byte[]
> {0x86,0xFB,0xEC,0x37,0x5D,0x44,0x9C,0xFA,0xC6,0x5E,0x28,0xE6,0x13};
> len = 13;
> bytLock = new byte[13];
> int p = 66;
> int i = 0;
> while (p < 79)
> {
> passwordEncypted = passwordEncypted +
> Convert.ToChar(ByteArray[p]).ToString();
> bytLock[i] = ByteArray[p];
> p += 1;
> i += 1;
> }
> }
>
> //check if there is a password set
> if (System.Text.Encoding.ASCII.GetString(bytLock) ==
> System.Text.Encoding.ASCII.GetString(bytKey))
> MessageBox.Show("No password is set for this file.");
> else
> {
> //xor the key and cipher together
> byte[] key = new byte[len];
> for (int i = 0; i < len; i++)
> key[i] =(byte)(bytLock[i] ^ bytKey[i]);
> string plainText =
> System.Text.Encoding.ASCII.GetString(key);
> //if the password is less than 13 or 20 characters long, nulls are
> added to the end
> //to pad out the string. Strip these off to get the original
> password
> //int nullStart = plainText.IndexOf(((char)0).ToString());
> plainText = plainText.Substring(0,20);
>
> //plainText = plainText.Substring(0, 10);
>
> MessageBox.Show(plainText);
> but it is also not giving the correct password.
>
> Can any one help me in this regard..
>
> Thanks in advance
>
>

 
Reply With Quote
 
Charlie Hoffpauir
Guest
Posts: n/a
 
      26th Jan 2007
On 26 Jan 2007 05:07:01 -0800, (E-Mail Removed) wrote:

>Hi....
>
>I am trying to recover password of my access 2000 (.mdb) file. I need
>the data very urgently but i forgot the password. I have tried some
>softwares but none of them is giving morthan two characters.


Have you tried Password Studio Pro? I used it and was able to recover
an unknown Access password. The software claims that Access passwords
are relative easy to crack.... and that was the case with my database.

If your database is small enough to mail, I'd be happy to try to
recover the password for you. Of course, if the information is
confidential, you wouldn't want to do that. But if not, then you can
send a copy to my Yahoo address: charliehoffp at yahoo dot com.

Charlie Hoffpauir
http://freepages.genealogy.rootsweb.com/~charlieh/
 
Reply With Quote
 
rajarameshvarma@gmail.com
Guest
Posts: n/a
 
      27th Jan 2007
Thank you very much charlie

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to recovery Recover your lost password for Microsoft Access 95/97/2000/XP/2003 database ? ccsoft2008@gmail.com Freeware 2 6th Nov 2005 01:01 AM
access 2000 password recovery software =?Utf-8?B?VGVk?= Microsoft Access Security 9 25th May 2005 09:05 PM
Prevent use of password recovery utilities on Access 2000 apm2524 Microsoft Access Security 2 10th Jan 2004 02:40 AM
Windows 2000 server password recovery Moe Elgamal Microsoft Windows 2000 Security 1 17th Sep 2003 01:07 AM
**Urgent** Windows 2000 administrator password recovery Ahmad Reza Microsoft Windows 2000 Active Directory 3 1st Aug 2003 08:58 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:14 PM.