Veterans and ocean VBS unpack tool code _vbs

Source: Internet
Author: User
Tags unpack
about why you provide a packaging program and package compressed files. An MDB decompression


2006.asp Haiyang Top Net ASP Trojan 2006 version file
Unpack.vbs packaged file "Hytop.mdb" Unlock device
2006x.exe Haiyang Top Net ASP Trojan 2006 C/S mode converter
2006x2.exe Haiyang Top Net ASP Trojan 2006 dedicated short server side
C/S Mode converter
2006z.exe Haiyang Top Network ASP Trojan 2006_lite version of the combo
Lite version of the Trojan horse that generates the corresponding function from the definition
Hididi.ini 2006z.exe configuration file

Question one:
That's the pony file you wrote. Pack/Uncover. I want to know when the file is packaged, I download it, it is. mdb suffix, then how can I restore it, for example, after downloading a folder, how to restore it?

Reply:
Please use the Sea top ASP Trojan 2006 official version of the Unpack.vbs file for decompression!
The file name of the MDB must be Hytop.mdb (that is, the default name)



VB Solution Kit has three VB files. It's a three-stud unpack kit.
One is the package of ocean packaging tools. Solution Hytop. Mdb
One is admin (similar to ocean). Solution packet. Mdb
One is a veteran's unpack kit. Solution Tomdb. Tdb


Note: You put VB script files and MDB files in a directory, the implementation of VB script on the line. It will take a few minutes, wait a little while to complete the hint. (An incomplete package is not completed without the forced exit solution.) )
Unpack.vbs
Copy Code code as follows:

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;Data Source=hytop.mdb;"

Conn. Open ConnStr
Rs. Open "Filedata", Conn, 1, 1
Stream. 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)
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 = Nothing
Set rs = Nothing
Set stream = Nothing
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 (Left (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

Packing Base Veterans special decompression tools. vbs
Copy Code code as follows:

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;Data Source=tomdb.mdb;"

Conn. Open ConnStr
Rs. Open "WZ", Conn, 1, 1
Stream. Open
Stream. Type = 1

On Error Resume Next

Do Until Rs. Eof
Thepath = rs ("folder") & "\"
Thefolder = Left (Thepath, InStrRev (thepath, "\"))
If FSO. FolderExists (Thefolder) = False Then
CreateFolder (Thefolder)
End If
Stream. SetEOS ()
Stream. Write RS ("body")
Stream. SaveToFile Str & thepath & RS ("file"), 2
Rs. MoveNext
Loop

Rs. Close
Conn. Close
Stream. Close
Set ws = Nothing
Set rs = Nothing
Set stream = Nothing
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 (Left (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

Ocean Decompression Tool unpack.vbs
Copy Code code as follows:

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;Data Source=packet.mdb;"

Conn. Open ConnStr
Rs. Open "Filedata", Conn, 1, 1
Stream. 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)
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 = Nothing
Set rs = Nothing
Set stream = Nothing
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 (Left (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

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.