Advance

Introducing And Install MagicTree On Kali Linux

Introducing And Install MagicTree On Kali Linux

While Penetration testing report is the key deliverable in any security assessment activity, penetration testers may find the report making a time-consuming and boring process. To simplify the task of report making, you will need to use the tools available in Kali Linux. The MagicTree is a penetration tester productivity tool. Because of its tree structure and its awesome data managing and reporting is called MagicTree. It allows data consolidation, querying, external command execution, and (yeah!) report generation. This article presents Introducing And Install MagicTree On Kali Linux. To find your desired package, visit Eldernode and purchase a cheap but VIP Linux VPS.

Introducing MagicTree On Kali Linux

Kali Linux is a Linux-based Operating System, mostly used in penetration testing. There are different types of tools that are present in Kali Linux to perform different operations. One of them is the Reporting tool that is designed to develop statistics and information to help in analyzing. In this section, you will learn about the MagicTree data management and reporting tool that helps you to execute commands and export the results as a report. In case you have already used or heard, MagicTree is similar to Dradis, Faraday IDE, and Pipal.

The MagicTree is a Java program classic desktop application. it will structure the data according to the real-world object it describes. There is no server, no database, and no listening sockets. But it manages data through tree-structured nodes, which are particularly effective for managing host and network data. MagicTree stores data in a tree structure. To do this, it has several nodes to store data such as Branch node, Simple node, Text node, Data node, XML data node, Picture node, and Summarize nodes. It also allows saving queries and commands to be reused in future projects.

Recommended Article: Introducing And Install BBQSQL On Kali Linux

MagicTree Features

This tool has some unique features like data querying and command execution that allow users to extract the necessary data from the tree and feed it to command-line tools. MagicTree allows you to import XML data and has XSLT transforms for Nmap, Nikto, Nessus, Burp, OpenVAS, Qualys, and Imperva Scuba. Let’s see more of MagicTree features:

1- Automatic creation of nodes from netblock address

2- Drag and drop objects from the tree

3- Launch CLI-based tools (Nmap, Nikto, …) from MagicTree

4- Import results from other tools (Nessus, …)

5- Sort findings by severity

6- Generate reports (*.odt, *.docx)

7- Adding file attachments to nodes

8- Searching data in the tree

9- Supports running shell commands straight from the GUI, capturing command output

10- Allows querying the collected data and feeding it to shell commands

How To Install MagicTree On Kali Linux

MagicTree is pre-installed on Kali Linux and located under the “Reporting Tools” category.

You can install MagicTree by running the command below:

sudo apt-get install magictree

How to Use MagicTree on Kali Linux

MagicTree follows the tree node structure to manage the host and related data. Join us with this section to learn how to use Magic Tree.

Step 1:

To launch the Kali-Linux tools, click on “Applications” and go to “Reporting Tools”. Then, click on “MagicTree”.

 

How to use MagicTree on Kali Linux

*

How to use MagicTree on Kali Linux

 

Step 2:

Then, navigate to ”File”, ”Open”, and select the files to upload.

 

select the files to upload

*

select the files to upload

 

Step 3:

Magic Tree will map all the data into the tree node structure.

 

map all the data into the tree node structure

 

Step 4:

You will be able to see the data further on expanding individual nodes:

 

individual nodes

 

MagicTree Querying on Kali Linux

This tool allows querying the collected data and feeding it to shell commands. Select any data from the above table. There are different queries available:

Q*: Run a query that selects all nodes of the same type as the currently selected node. For example, if we select OS and click the “Q*” button, it will list all nodes with the type “OS”. Look at all nodes with OS details below.

The query ran to fetch the data is present under the “Query” field. So, you can modify the query as per your requirements:

 

modify the query

 

To list all the nodes with type “OS” and text ”Microsoft Windows 7”, you can select OS and click the “Q1” button. Here, you can see all the hosts with the same OS:

 

list all the nodes with type "OS'' and text ''Microsoft Windows 7

 

In this way, you extract the necessary data from the tree and feed it to the command-line tool.

MagicTree is to be able to run Nmap from the user interface. To do this, Right-click on the ”test data” note, go to ”Create child” and click the ”Simple node”  option.

 

run Nmap from the user interface

 

Now, enter the host details and press enter:

 

enter the host details

 

Next, click the ”Q1” query button, enter the following Nmap command in the ”Command” field and click the ”Run” button:

 

Nmap command

 

At this point, the Nmap scan has started. You can see a newly created task at the bottom left of the screen while the upper highlighted part shows the status of the task:

 

Nmap scan

 

To check the scan status, you need to click the ”Console” button and access it:

 

check the scan status

 

When the scan is finished, you will see the log and XML output under the ”task” node:

 

XML output

 

Now, click on the ”xmlData” and then click the ”Merge XML data” button to merge the result into the current tree:

 

merge the result into the current tree

 

The result of the scan is added to your desired host:

 

Kali scan result

 

Magic Tree has the option to generate the report in Word format. So, you can select a node, navigate to ”Report”, and click the ”Generate report…” option to generate the report.

 

generate the report in Kali

 

Then, browse through the available report templates, select one, and click the ”Generate Report” button:

 

available report templates

 

Navigate to a location to extract the report:

 

extract the Kali report

 

Finally, the Word report is downloaded and can be accessed:

 

MagicTree Word report

*

MagicTree Word report

Recommended Article: Introducing And How To Install Twofi On Kali Linux

Conclusion

In this article, MagicTree was introduced to you and you learned How to Install and Use it. If you are using any alternative, discuss their differences with your friends on Community.

View More Posts
Tom Veitch
Eldernode Writer
We Are Waiting for your valuable comments and you can be sure that it will be answered in the shortest possible time.

Leave a Reply

Your email address will not be published. Required fields are marked *

We are by your side every step of the way

Think about developing your online business; We will protect it compassionately

We are by your side every step of the way

+8595670151

7 days a week, 24 hours a day