7z压缩包爆破
7z压缩包爆破
7z-crack.sh 内容如下:
cat $2 | while read line;do if 7z e $1 -p"$line" 1>/dev/null 2>/dev/null;then echo "FOUND PASSWORD:"$line;break;fi;done
使用提供的字典进行爆破
./7z-crack.sh test.7z /usr/share/wordlists/rockyou.txt
7z-crack.sh 内容如下:
cat $2 | while read line;do if 7z e $1 -p"$line" 1>/dev/null 2>/dev/null;then echo "FOUND PASSWORD:"$line;break;fi;done
使用提供的字典进行爆破
./7z-crack.sh test.7z /usr/share/wordlists/rockyou.txt