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

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:

主站蜘蛛池模板: 泸定县| 阳曲县| 辉南县| 聂荣县| 洞口县| 新化县| 大关县| 黄石市| 浙江省| 河津市| 富锦市| 清镇市| 崇礼县| 茂名市| 太仆寺旗| 莎车县| 崇礼县| 珲春市| 新营市| 佛教| 桃源县| 额敏县| 台州市| 浦江县| 宝清县| 桑植县| 宣化县| 晋州市| 灵寿县| 绿春县| 万宁市| 阳高县| 阿图什市| 泽库县| 襄城县| 南通市| 垫江县| 同江市| 金门县| 九龙城区| 济阳县|