How to unpack an MDB file

Source: Internet
Author: User
Tags unpack

How does an MDB file unpack? I do not know if you have contact, now on the web has an MDB format of the compression format, specifically called what is not clear. But decompression such a file, with commonly used RAR decompression software is unable to untie, then MDB file how to unpack it?

I believe you all know, MDB file is a database file, a netizen in Baidu know how to extract a question MDB file how many people reply to the MDB without decompression, access to open on it. But those who believe the real question will not be satisfied with the answer.

In fact, the MDB compressed files are often found in the packaging of Trojans, usually in this form, all the content of the site including the overall package of pictures, some hsh.mdb may be packet.mdb or other is the name of the MDB suffix. And then download to the local decompression, interested friends can download a few Trojans on the internet to try, the usual Trojan files have decompression procedures. How do I extract the

mdb file? In fact, there is a more concise approach, as follows:

Creates a new text document and saves it as a *.vbs. Program Code

Dim RS, WS, FSO, Conn, stream, ConnStr, Thefolder
Set rs = CreateObject ("ADODB". RecordSet ")
Set stream = CreateObject (" ADODB. Stream ")
Set conn = CreateObject (" ADODB. Connection ")
Set fso = CreateObject (" Scripting.FileSystemObject ")
ConnStr =" provider=microsoft.jet.oledb.4.0 ;D ATA Source=packet.mdb; "
Conn. Open connstr
Rs. Open "Filedata", Conn, 1, 1
Stream. The Open
Stream. Type = 1
on Error Resume Next
do Until Rs. Eof
Thefolder = Left (rs ("Thepath"), InStrRev (RS ("Thepath"), ""))
If FSO. FolderExists (Thefolder) = False Then
CreateFolder(Thefolder) The
End If
Stream. SetEOS ()
Stream. Write rs ("filecontent")
Stream. SaveToFile Str & RS ("Thepath"), 2
Rs. MoveNext
Loop
Rs. Close
Conn. Close
Stream. Close
Set ws = No
Set rs = Nothing
Set stream = None
Set conn = Nothing
WScript.Echo All files released !”
Sub CreateFolder (thepath)
Dim i
i = Instr (Thepath, "")
Do While i > 0
If fso. FolderExists (Left (thepath, i)) = False Then
FSO. CreateFolder (Thepath, i–1))
End If
if InStr (Mid (Thepath, i + 1), "") Then
i = i + InStr (Mid (Thepath, I + 1),
Else
i = 0
End If
Loop
End Sub

Double-click the MDB file in the same directory as the file. vbs can be

Note: The red code in the above Packe T.mdb is the name of your MDB file.
(reprint please specify the transfer from: http://www.waibiduihuan8.com/, thank you!) Cherish the fruits of others ' work, is to respect themselves!)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.