![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=1738807697-oyn4KjMGgIKBeQLQxvkLCgasoIyRiO6h-0-45bea8b61a59f3556d3214b0c072b8bd)
- 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=1738807697-EW4HevUk0vEndzJ70d28Y92pYsZUvNHZ-0-fd389b92297c5961bca3c793c952ea2b)
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