午夜国产狂喷潮在线观看|国产AⅤ精品一区二区久久|中文字幕AV中文字幕|国产看片高清在线

    實(shí)現(xiàn)winrar密碼破解的vbs代碼
    來(lái)源:易賢網(wǎng) 閱讀:1445 次 日期:2016-07-07 14:27:43
    溫馨提示:易賢網(wǎng)小編為您整理了“實(shí)現(xiàn)winrar密碼破解的vbs代碼”,方便廣大網(wǎng)友查閱!

    用vbs實(shí)現(xiàn)的用了破解winrar密碼的代碼,需要的朋友可以參考下。

    代碼如下:

    title="WinRaR破譯(目前只做了破譯數(shù)字)"

    set WshShell = CreateObject("WScript.Shell" )

    set fso = CreateObject("scripting.filesystemobject")

    Function input()

    rar_path=InputBox("請(qǐng)輸要解密的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("密碼長(zhǎng)度最小值"&Chr(13)&Chr(10)&""&Chr(13)&Chr(10)&"例如:0",title)

    If rar_path="" Then Exit Function End If

    num2=InputBox("密碼長(zhǎng)度最大值"&Chr(13)&Chr(10)&""&Chr(13)&Chr(10)&"注意:比密碼最小值要大",title)

    If rar_path="" Then Exit Function End If

    If num2 > num1 Then

    speed=InputBox("請(qǐng)選擇解密的速度(建議選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 ("請(qǐng)注意最大值要大于最小值"&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()

    更多信息請(qǐng)查看腳本欄目
    易賢網(wǎng)手機(jī)網(wǎng)站地址:實(shí)現(xiàn)winrar密碼破解的vbs代碼
    由于各方面情況的不斷調(diào)整與變化,易賢網(wǎng)提供的所有考試信息和咨詢回復(fù)僅供參考,敬請(qǐng)考生以權(quán)威部門(mén)公布的正式信息和咨詢?yōu)闇?zhǔn)!

    2025國(guó)考·省考課程試聽(tīng)報(bào)名

    • 報(bào)班類型
    • 姓名
    • 手機(jī)號(hào)
    • 驗(yàn)證碼
    關(guān)于我們 | 聯(lián)系我們 | 人才招聘 | 網(wǎng)站聲明 | 網(wǎng)站幫助 | 非正式的簡(jiǎn)要咨詢 | 簡(jiǎn)要咨詢須知 | 新媒體/短視頻平臺(tái) | 手機(jī)站點(diǎn) | 投訴建議
    工業(yè)和信息化部備案號(hào):滇ICP備2023014141號(hào)-1 云南省教育廳備案號(hào):云教ICP備0901021 滇公網(wǎng)安備53010202001879號(hào) 人力資源服務(wù)許可證:(云)人服證字(2023)第0102001523號(hào)
    云南網(wǎng)警備案專用圖標(biāo)
    聯(lián)系電話:0871-65099533/13759567129 獲取招聘考試信息及咨詢關(guān)注公眾號(hào):hfpxwx
    咨詢QQ:1093837350(9:00—18:00)版權(quán)所有:易賢網(wǎng)
    云南網(wǎng)警報(bào)警專用圖標(biāo)