HELP! Need an ODBC Spy/Sniffer prog

For everything that's not in any way related to PureBasic. General chat etc...
Straker
Enthusiast
Enthusiast
Posts: 701
Joined: Wed Apr 13, 2005 10:45 pm
Location: Idaho, USA

HELP! Need an ODBC Spy/Sniffer prog

Post by Straker »

Does anyone know? Basically I have an app that is using a ODBC database connection, but when it connects, it passes the user id and password. I have been requested by a customer to convert the contents to a different format, but I cannot connect, only thru the original front-end which doesn't display the UID/PW and offers no export functionality.

So, I have been looking for an ODBC Spy or Sniffer program that will display the UID/PW when attempting to connect from the original client.

Thanks.
Image Image
Tipperton
Addict
Addict
Posts: 1286
Joined: Thu Jun 19, 2003 7:55 pm

Post by Tipperton »

Do you know what format the original file is in?

If it's some common format, you might be able to get the file's password using something from either of these web sites:

http://www.elcomsoft.com
http://www.lostpassword.com

I also found a test drive of something called ODBC Sniffer by Mercury here:

http://www.csst-technologies.com/testdrv.htm

The page says it has some limitations but is still very useful.
Last edited by Tipperton on Fri Sep 29, 2006 1:39 am, edited 2 times in total.
Straker
Enthusiast
Enthusiast
Posts: 701
Joined: Wed Apr 13, 2005 10:45 pm
Location: Idaho, USA

Post by Straker »

[edited out] Oh yeah, and its encrypted.

So the only way is to somehow PEEK into memory when the application is performing its ODBC connection to see the connection string.
Last edited by Straker on Sat Sep 30, 2006 6:56 pm, edited 1 time in total.
Image Image
Tipperton
Addict
Addict
Posts: 1286
Joined: Thu Jun 19, 2003 7:55 pm

Post by Tipperton »

See my previous message, I added to it.

While searching I found that they are also called ODBC tracers. You might try searching for that too.
Straker
Enthusiast
Enthusiast
Posts: 701
Joined: Wed Apr 13, 2005 10:45 pm
Location: Idaho, USA

Post by Straker »

Thanks - I already downloaded it. but it doesn't work since it was written in 16-bit windows and for 16-bit ODBC.

Anyway, emergency over. I broke into it. Turns out it wasn't encrypted and I was able to change the rights for a user using a hex editor and voila!

Thanks again for your help.

Anyway, my question is still valid if anyone knows how to PEEK into memory to catch an ODBC connection string, this would be a great thing to know!
Image Image
Post Reply