輕松搞定 RAR、Zip壓縮包密碼买优!Hashcat +john the ripper 親測好用妨马!
1.hashcat :https://hashcat.net
2.john the ripper :https://www.openwall.com
注:官網(wǎng)是英文的,可以通過谷歌瀏覽器翻譯成中文
只需用到2個命令:
rar2john.exe xxxx.rar –獲取hash值
hashcat.exe -m 13000 -w 4 -a 3 16
15
8$43907bfa03430471 -o password.txt — 開始
更多的參數(shù)說明:
針對Word密碼的命令:
python office2john.py test.docx 獲取word加密文件的Hash指令(此處需要安裝python并配置環(huán)境變量)
test.docx:$office$*2013*100000*256*16*561f4dcaaac333e7c06d150f9ea5aea2*ef4e7b026217124561ecb865b324eac4*e9ef4a859f2c81581db0e27d9ce48e6451b82cd1641941e8adc10dc5600969cb 所得Hash返回結(jié)果
hashcat.exe -m 9600 -a 3 $office$*2013*100000*256*16*561f4dcaaac333e7c06d150f9ea5aea2*ef4e7b026217124561ecb865b324eac4*e9ef4a859f2c81581db0e27d9ce48e6451b82cd1641941e8adc10dc5600969cb ?d?d?d?d -o out.txt Hashcat破解對應(yīng)hash
針對PDF密碼的命令:
perl pdf2john.pl test.pdf 獲取pdf加密文件的Hash指令(此處需要安裝perl并配置環(huán)境變量)
test.pdf:$pdf$4*4*128*-3904*0*16*55f913d20e34724fd70d3004f5e43166*32*7a29310ea5dc0276d34c1bef24595d61984a08eb759eaba56bd4887a260bbcce*32*de0c200bbe6887a980dc429edbdabc40f39a368841d804afefa726b2bd7c7b24 所得Hash返回結(jié)果
hashcat.exe -m 10500 -a 3 $pdf$4*4*128*-3904*0*16*55f913d20e34724fd70d3004f5e43166*32*7a29310ea5dc0276d34c1bef24595d61984a08eb759eaba56bd4887a260bbcce*32*de0c200bbe6887a980dc429edbdabc40f39a368841d804afefa726b2bd7c7b24 ?l?l?l?l?l?l -o out.txt Hashcat破解對應(yīng)hash杀赢,此處?l對應(yīng)一個小寫字母
針對Zip密碼的命令:
zip2john.exe test.zip 獲取zip加密文件的Hash指令
test.zip/test.txt:$pkzip2$1*1*2*0*15*9*4aac42f3*0*26*0*15*4aac*470b*6fa72c2bc69e5738181cb7f406187f8084ce07cf5f*$/pkzip2$:test.txt:test.zip::test.zip 所得Hash返回結(jié)果
hashcat -a 0 -m 17210 $pkzip2$1*1*2*0*15*9*4aac42f3*0*26*0*15*4aac*470b*6fa72c2bc69e5738181cb7f406187f8084ce07cf5f*$/pkzip2$ password.txt --force
password.txt中存放密碼字典
提醒:運行John the Ripper需要安裝python和perl環(huán)境變量烘跺,如果命令出錯,請自行下載安裝python和perl
perl:http://www.activestate.com/activeperl
python:https://www.python.org