Routerhunter is a tool used to find vulnerable routers on a network and perform various attacks on it to exploit the DNSChanger vulnerability. This vulnerability allows an attacker to change the DNS server of the router hence directing all the traffic to desired websites.
For this recipe, you will again need to clone a git repository.
We will use the following command:
git clone https://github.com/jh00nbr/RouterHunterBR.git
To execute RouterHunterBR.php
follow the given steps:
- Once the file is cloned, enter the directory.
- Run the following command:
php RouterHunterBR.php -h
The following screenshot shows the output of the preceding command:
- We can provide Routerhunter an IP range, DNS server IP's, and so on.