欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

發(fā)老兵及海洋VBS解包工具代碼

 更新時間:2007年04月22日 00:00:00   投稿:mdxy-dxy  
這篇文章主要介紹了發(fā)老兵及海洋VBS解包工具代碼,,需要的朋友可以參考下

關(guān)于為什么提供打包程序和打包壓縮文件.MDB的解壓

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

問題一:  

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

回答:  

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

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

注:你把VB腳本文件和MDB文件放在一個目錄里,執(zhí)行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

到此這篇關(guān)于發(fā)老兵及海洋VBS解包工具代碼的文章就介紹到這了,更多相關(guān)VBS解包工具內(nèi)容請搜索腳本之家以前的文章或繼續(xù)瀏覽下面的相關(guān)文章希望大家以后多多支持腳本之家!

相關(guān)文章

最新評論