濮阳杆衣贸易有限公司

主頁 > 知識(shí)庫 > 實(shí)現(xiàn)winrar密碼破解的vbs代碼

實(shí)現(xiàn)winrar密碼破解的vbs代碼

熱門標(biāo)簽:百度地圖標(biāo)注怎么卸載 海外美發(fā)店地圖標(biāo)注 辦理膠州400電話財(cái)稅 陜西高頻外呼回?fù)芟到y(tǒng)哪家好 打電話的外呼系統(tǒng)貴不貴 前鋒辦理400電話申請 加盟電銷機(jī)器人好的品牌 新密防封卡外呼系統(tǒng)違法嗎 外呼營銷下單系統(tǒng)
復(fù)制代碼 代碼如下:

title="WinRaR破譯(目前只做了破譯數(shù)字)"
set WshShell = CreateObject("WScript.Shell" )
set fso = CreateObject("scripting.filesystemobject")
Function input()
rar_path=InputBox("請輸要解密的rar或zip入路徑"Chr(13)Chr(10)""Chr(13)Chr(10)"例如:C:\jiemi.rar或C:\jiemi.zip",title)
If rar_path="" Then Exit Function End If
If fso.fileExists(rar_path) Then
num1=InputBox("密碼長度最小值"Chr(13)Chr(10)""Chr(13)Chr(10)"例如:0",title)
If rar_path="" Then Exit Function End If
num2=InputBox("密碼長度最大值"Chr(13)Chr(10)""Chr(13)Chr(10)"注意:比密碼最小值要大",title)
If rar_path="" Then Exit Function End If
If num2 > num1 Then
speed=InputBox("請選擇解密的速度(建議選3)"Chr(13)Chr(10)"密碼范圍短則建議選選小于3(默認(rèn)為3)"Chr(13)Chr(10)""Chr(13)Chr(10)"1:一倍速度"Chr(13)Chr(10)""Chr(13)Chr(10)"2:二倍速度"Chr(13)Chr(10)""Chr(13)Chr(10)"3:三倍速度"Chr(13)Chr(10)""Chr(13)Chr(10)"4:四倍速度"Chr(13)Chr(10)""Chr(13)Chr(10)"5:五倍速度",title)
code num1,num2,rar_path,speed '重要函數(shù)調(diào)用
Else
msg2=MsgBox ("請注意最大值要大于最小值"Chr(13)Chr(10)""Chr(13)Chr(10)"是否重新輸入",1,title)
If msg2=1 Then input() End If
End If
Else
msg1=MsgBox ("您輸入的路徑不正確"Chr(13)Chr(10)""Chr(13)Chr(10)"是否重新輸入",1,title)
If msg1=1 Then input() End If
End If
End Function
Function code(num1,num2,rar_path,speed)
Select Case speed
Case "1"
import 1,num1,num2,rar_path
Case "2"
import 2,num1,num2,rar_path
Case "3"
import 3,num1,num2,rar_path
Case "4"
import 4,num1,num2,rar_path
Case "5"
import 5,num1,num2,rar_path
End Select
End Function
Function import(number,num1,num2,rar_path)
On Error Resume Next
Dim cipher(100),count(100),Result(100)
pathname=fso.getbasename(rar_path)
winrar="C:\PROGRA~1\WinRAR\WinRAR.exe"
For i=1 To number
If i = 1 Then count(i) = num1 Else count(i) = (Int(num2*(i-1)/number)+1) End If
Next
For counter = num1 To Int(num2/number)
For j=1 To number
cipher(j)=Array(count(j))
Result(j)=WshShell.Run (winrar" e -inul -p"cipher(j)(0)" "rar_path" "pathname"\",1,true)
if Result(j) = 0 Then
MsgBox "★密碼破解成功★"Chr(13)Chr(10)""Chr(13)Chr(10)"密碼:"cipher(j)(0),,title
wscript.quit
end If
count(j)=count(j)+1
Next
Next
End Function
input()

作者:lixvqing

標(biāo)簽:梅州 河南 四平 阜陽 牡丹江 咸陽 伊春 武威

巨人網(wǎng)絡(luò)通訊聲明:本文標(biāo)題《實(shí)現(xiàn)winrar密碼破解的vbs代碼》,本文關(guān)鍵詞  實(shí)現(xiàn),winrar,密碼破解,的,;如發(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)文章
  • 下面列出與本文章《實(shí)現(xiàn)winrar密碼破解的vbs代碼》相關(guān)的同類信息!
  • 本頁收集關(guān)于實(shí)現(xiàn)winrar密碼破解的vbs代碼的相關(guān)信息資訊供網(wǎng)民參考!
  • 推薦文章
    台中市| 博爱县| 萨迦县| 枝江市| 雅安市| 伊宁市| 兴文县| 武陟县| 偏关县| 洪泽县| 菏泽市| 宜春市| 宜兰县| 云和县| 定结县| 阳曲县| 汶上县| 左贡县| 连南| 长治县| 彰武县| 永济市| 饶河县| 邳州市| 宜兴市| 大同县| 永善县| 内黄县| 婺源县| 玉田县| 信宜市| 余姚市| 沙雅县| 荆门市| 白水县| 高密市| 台东市| 安吉县| 宝应县| 林周县| 互助|