How to do it...

Let's do a basic query to illustrate how Recon-ng works:

  1. To start Recon-NG from Kali Linux, use the Applications menu (Applications | 01 - Information Gathering | recon-ng) or type the recon-ng command in a Terminal:
  1. We will be presented with a command-line interface. To see the modules we have available, we can issue the show modules command.

 

  1. Let's say we want to search all of the subdomains of a domain and the DNS server doesn't respond to zone transfer. We can brute force the subdomains; to do that, we first load the brute_hosts module: use recon/domains-hosts/brute_hosts.
  2. To learn the options we need to configure when using any module, we use the show options command.
  3. To assign a value to an option, we use the command set: set source zonetransfer.me.
  4. Once we have set all the options, we issue the run command to execute the module:
  1. It will take some time for the brute force to complete and it will display lots of information. Once it finishes, we can query the Recon-ng database to get the discovered hosts (show hosts):
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.141.244.201