国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 編程 > VBScript > 正文

發老兵及海洋VBS解包工具代碼

2020-03-24 17:12:24
字體:
來源:轉載
供稿:網友
關于為什么提供打包程序和打包壓縮文件.MDB的解壓


2006.asp 海陽頂端網asp木馬2006版文件
unpack.vbs 打包文件"hytop.mdb"的解開器
2006x.exe 海陽頂端網asp木馬2006 c/s模式轉換器
2006x2.exe 海陽頂端網asp木馬2006 專用短服務器
c/s模式轉換器
2006z.exe 海陽頂端網asp木馬2006_lite版本組合器
用來自定義生成相應功能的lite版木馬
hididi.ini 2006z.exe的配置文件

問題一:
就是你們寫的小馬那個文件打包/揭開。我想知道 文件打包后,我下載下來,是.mdb后綴的,那我來怎么恢復呢,比如說是將一個文件夾打包下載后,來怎么恢復呢?

回答:
請用海洋頂端asp木馬2006正式版里的unpack.vbs文件進行解壓!
mdb的文件名必須為hytop.mdb(也就是默認的名字)



VB解包工具中有三個VB文件。分別是三種馬的解包工具
一個是海洋打包的解包工具。解HYTOP。MDB
一個是ADMIN(類似于海洋)。解PACKET。MDB
一個是老兵的解包工具。解TOMDB。TDB


注:你把VB腳本文件和MDB文件放在一個目錄里,執行VB腳本就行了。要幾分鐘時間,稍等完成提示。(沒有完成強行退出解的是不完整的包。)
unpack.vbs
復制代碼 代碼如下:
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 "所有文件釋放完畢!"

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

打包基地老兵專用解壓工具.vbs
復制代碼 代碼如下:
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 "所有文件釋放完畢!"

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

海洋解壓縮工具unpack.vbs
復制代碼 代碼如下:
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 "所有文件釋放完畢!"

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
html教程

鄭重聲明:本文版權歸原作者所有,轉載文章僅為傳播更多信息之目的,如作者信息標記有誤,請第一時間聯系我們修改或刪除,多謝。

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表

圖片精選

主站蜘蛛池模板: 石楼县| 农安县| 筠连县| 江津市| 怀柔区| 木兰县| 桃园县| 将乐县| 庄浪县| 横峰县| 通江县| 陈巴尔虎旗| 贺兰县| 木兰县| 大同县| 靖江市| 德惠市| 名山县| 金坛市| 酉阳| 正安县| 孝感市| 延吉市| 四会市| 广河县| 遂平县| 泾川县| 维西| 阿合奇县| 镇安县| 阿瓦提县| 丹东市| 吉首市| 虞城县| 灵寿县| 温泉县| 新郑市| 保山市| 寻甸| 沐川县| 伊宁县|