官术网_书友最值得收藏!

Cracking the PSK

  1. Adding a –P flag in the ike-scan command will show a response with the captured hash.
  2. To save the hash, we provide a filename along with the –P flag.
  3. Next, we can use psk-crack with the following command:
psk-crack –b 5 /path/to/pskkey

-b is brute force mode and length is 5.

  1. To use a dictionary-based attack, we use the following command with -d flag to input the dictionary file:
psk-crack –d /path/to/dictionary /path/to/pskkey

The following screenshot shows the output of the preceding command:

主站蜘蛛池模板: 芒康县| 开平市| 双柏县| 拉孜县| 上虞市| 贵阳市| 东乡县| 成都市| 长顺县| 景洪市| 彭州市| 肥西县| 苏尼特左旗| 青岛市| 广水市| 大安市| 开鲁县| 新晃| 镇巴县| 凭祥市| 海盐县| 监利县| 杨浦区| 汉中市| 宁远县| 嘉义县| 铅山县| 黔江区| 珲春市| 敖汉旗| 台江县| 吉木萨尔县| 潜江市| 大厂| 德清县| 南城县| 北安市| 谢通门县| 绩溪县| 浏阳市| 城口县|