How to do it...

Following is the recipe for using MagicTree:

  1. We can run it from the Application menu.
  2. We accept the terms and the application will open up:
  1. Next, we create a new node by going to Node | AutoCreate:
  1. In the box that opens, we type the IP address of the host we want to be added.
  2. Once the node is added, it will appear in the left-hand side pane:
  1. To run a scan on a host, we go to the Table View; at the bottom, we will see an input box titled Command:
  1. We will run an Nmap scan on the host we just added.
  2. MagicTree allows you to query the data and send it to the shell. We click on the Q* button, and it will automatically select the hosts for us:
  1. Now we just need to type the following command:
        nmap -v -Pn -A -oX $results.xml $host  

The following screenshot shows the output of the preceding command:

  1. Since hosts are already identified, we do not need to mention them here. Then, we click on Run:
  1. We will see a window that shows the scan being executed along with the output. Once the scan is complete, we can click on Import, and it will be imported into the tool.
  2. Similarly, we can run any other tool and import its report to MagicTree. We can generate a report by navigating to Report | Generate Report...:
  1. In the next window, we can browse the list of templates we would like to use to save the report:
  1. Then, we click on the Generate Report button, and we will see a report being generated: