![Kali Linux:An Ethical Hacker's Cookbook(Second Edition)](https://wfqqreader-1252317822.image.myqcloud.com/cover/772/36698772/b_36698772.jpg)
上QQ阅读APP看书,第一时间看更新
How to do it...
- Browse to the directory where ike-scan is installed.
- Install autoconf by running the following command:
apt-get install autoconf
- Run autoreconf --install to generate a .configure file.
- Run ./configure.
- Run make to build the project.
- Run make check to verify the building stage.
- Run make install to install ike-scan.
- To scan a host for an Aggressive mode handshake, use the following command:
ike-scan x.x.x.x –M -A
The following screenshot shows the output of the preceding command:
![](https://epubservercos.yuewen.com/E581D7/19470380608818806/epubprivate/OEBPS/Images/78c7a8fa-229c-4367-8577-305febcdddcd.png?sign=1739282879-XUxwL86b6egwIY835mqzKDx3Qv30qbDE-0-61ae5f0a0bbb52ab50b3c7ffdb4f700c)
- Sometimes, we will see the response after providing a valid group name such as vpn:
ike-scan x.x.x.x –M –A id=vpn
- To view the list of all available options, we can run the following command:
ike-scan -h
The following screenshot shows the output of the preceding command:
![](https://epubservercos.yuewen.com/E581D7/19470380608818806/epubprivate/OEBPS/Images/fc4214d7-d171-4af9-acc1-2c108c4ef23f.png?sign=1739282879-yzTpbJKXWHW0TNXlvs2NFpRIZGiCWTIz-0-e19133c9cf30498a320674c44301d92f)
We can even brute force the group names using the following link: https://github.com/SpiderLabs/groupenum.
Here is the command:
./dt_group_enum.sh x.x.x.x groupnames.dic