Kali Linux:An Ethical Hacker's Cookbook(Second Edition)
上QQ阅读APP看书,第一时间看更新

How to do it...

  1. Download/clone the repository from GitHub: https://github.com/Warflop/CloudBunny:
  1. Next, install the Python dependencies by using the pip install -r requirements.txt command.
  2. Since the tool is dependent on Shodan, Censys, and Zoomeye, we need to provide the API keys in api.conf:
  1. Now that everything is set, we can run the tool with the -h flag to see all of its features:
  1. As an example, we will run the tool to find the IP address of a domain using only Shodan. The command for the same is mentioned in the following code block:
python cloudbunny.py -u domain.com -s

The following screenshot shows the output of the preceding command:

From the preceding screenshot, we can see that we have gathered one IP address for the packtpub.com domain.