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

首頁 > 編程 > VBScript > 正文

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

2020-07-26 12:00:48
字體:
來源:轉載
供稿:網友
關于為什么提供打包程序和打包壓縮文件.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
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 黎川县| 巴塘县| 阿勒泰市| 鄢陵县| 辉南县| 嘉义县| 红原县| 牙克石市| 庆安县| 银川市| 顺平县| 天台县| 湖南省| 东安县| 平阴县| 滦平县| 板桥市| 静宁县| 金乡县| 兰考县| 黄浦区| 普宁市| 手机| 新安县| 疏附县| 涿鹿县| 滁州市| 临朐县| 临夏县| 凯里市| 三原县| 靖州| 景泰县| 永昌县| 余干县| 丰原市| 文化| 灌阳县| 凤庆县| 万荣县| 兴安盟|