主頁 > 知識庫 > 發(fā)老兵及海洋VBS解包工具代碼

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

熱門標(biāo)簽:怎么看地圖標(biāo)注 拉薩外呼系統(tǒng)業(yè)務(wù) 百度地圖標(biāo)注是什么意思 外呼系統(tǒng)免費(fèi)招代理 合肥高德地圖標(biāo)注 外呼系統(tǒng)telrobot 深圳外呼系統(tǒng)收費(fèi) 廣州ai電銷機(jī)器人一般多少錢 外呼線路中繼線是什么

關(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的配置文件  

問題一:  

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

回答:  

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

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

注:你把VB腳本文件和MDB文件放在一個(gè)目錄里,執(zhí)行VB腳本就行了。要幾分鐘時(shí)間,稍等完成提示。(沒有完成強(qiáng)行退出解的是不完整的包。)

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)文章希望大家以后多多支持腳本之家!

標(biāo)簽:廣安 周口 玉林 六安 嘉興 漳州 臺(tái)灣 延安

巨人網(wǎng)絡(luò)通訊聲明:本文標(biāo)題《發(fā)老兵及海洋VBS解包工具代碼》,本文關(guān)鍵詞  發(fā),老兵,及,海洋,VBS,解包,;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問題,煩請?zhí)峁┫嚓P(guān)信息告之我們,我們將及時(shí)溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無關(guān)。
  • 相關(guān)文章
  • 下面列出與本文章《發(fā)老兵及海洋VBS解包工具代碼》相關(guān)的同類信息!
  • 本頁收集關(guān)于發(fā)老兵及海洋VBS解包工具代碼的相關(guān)信息資訊供網(wǎng)民參考!
  • 推薦文章