![Kali Linux:An Ethical Hacker's Cookbook](https://wfqqreader-1252317822.image.myqcloud.com/cover/618/36700618/b_36700618.jpg)
上QQ阅读APP看书,第一时间看更新
How to do it...
To configure ike-scan follow the given steps:
- 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 commands:
ike-scan x.x.x.x -M -A
The following screenshot shows the output for the preceding command:
![](https://epubservercos.yuewen.com/364BC0/19470402501612306/epubprivate/OEBPS/Images/a3596059-9058-42bb-bad9-3411e3fd966e.png?sign=1738928632-suCh3qFwl0q1znBk4YTojZasoLEF4JRt-0-9df16d6d73632e87c42e607e93315abf)
- Sometimes we will see the response after providing a valid group name like (vpn):
ike-scan x.x.x.x -M -A id=vpn
The following screenshot shows the example of the preceding command:
![](https://epubservercos.yuewen.com/364BC0/19470402501612306/epubprivate/OEBPS/Images/1d66efb8-607e-4763-bbd6-adda5b42ea30.png?sign=1738928632-Ovml9LkaS7euyLoO7zUOp0rOu8GWbsth-0-19dd5ef71725df2bf3cf555bf0c3d79f)
We can even brute force the groupnames using the following script:
https://github.com/SpiderLabs/groupenum.
The command:
./dt_group_enum.sh x.x.x.x groupnames.dic
https://github.com/SpiderLabs/groupenum.
The command:
./dt_group_enum.sh x.x.x.x groupnames.dic