fcrackzip暴力破解的速度很快,
我是在ubuntu上安裝的,用命令sudo apt-get install fcrackzip
安裝以後就能夠開始破解了
首先用fcrackzip --help去查看命令的各個參數的意思,也能夠用man去查看一下
USAGE: fcrackzip
[-b|--brute-force] use brute force algorithm
[-D|--dictionary] use a dictionary
[-B|--benchmark] execute a small benchmark
[-c|--charset characterset] use characters from charset
[-h|--help] show this message
[--version] show the version of this program
[-V|--validate] sanity-check the algortihm
[-v|--verbose] be more verbose
[-p|--init-password string] use string as initial password/file
[-l|--length min-max] check password with length min to max
[-u|--use-unzip] use unzip to weed out wrong passwords
[-m|--method num] use method number "num" (see below)
[-2|--modulo r/m] only calculcate 1/m of the password
file... the zipfiles to crack
methods compiled in (* = default):
0: cpmask
1: zip1
*2: zip2, USE_MULT_TAB
上面的各個參數一看就明白了,其中的 -c是能夠指定字符的類型,好比純數字或着字母等
下面是-c 下面的具體的參數
-c, --charset characterset-specification
Select the characters to use in brute-force cracking. Must be
one of
a include all lowercase characters [a-z]
A include all uppercase characters [A-Z]
1 include the digits [0-9]
! include [!:$%&/()=?{[]}+*~#]
: the following characters upto the end of the spe-
cification string are included in the character set.
This way you can include any character except binary
null (at least under unix).
For example, a1:$% selects lowercase characters, digits and the
dollar and percent signs.
OK,如今作一個例子,首先生成一個帶有密碼的zip的包
zip -P hujhh test.zip test1.txt test2,txt
能夠看到密碼是5位的純字母
如今就用咱們的這個軟件開始破解
fcrackzip -v -b -u -c a -p aaaaa test.zip
不一會就能夠看到破解成功的信息
PASSWORD FOUND!!!!: pw == hujhh
這裏看到破解速度仍是很快的,固然,這是知道密碼的組成和位長的狀況下,嘗試的次數少,固然快,若是不知道長度,也不知道字符的組成,那麼就看運氣和速度了
說明一下上面的命令,通常的狀況下也就是用這些參數
-v 就是能夠看到更多的信息
-b 暴力破解
-u 用zip去嘗試
-c 指定字符 a 就是說明密碼是由小寫字母組成的
-p 弄一個初始化的密碼 aaaaaa 若是是純數字000000 固然這裏的長度都是6
-B 這個能夠看看機子破解的速度
這個就說明到這裏,其它的看幫助文檔就能夠了。 git