How To Install legion on Kali Linux
Introduction
In this tutorial we learn how to install legion
on Kali Linux.
What is legion
legion is:
This package contains an open source, easy-to-use, super-extensible and semi-automated network penetration testing tool that aids in discovery, reconnaissance and exploitation of information systems.
Legion is a fork of SECFORCE’s Sparta.
There are three methods to install legion
on Kali Linux. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install legion Using apt-get
Update apt database with apt-get
using the following command.
After updating apt database, We can install legion
using apt-get
by running the following command:
Install legion Using apt
Update apt database with apt
using the following command.
After updating apt database, We can install legion
using apt
by running the following command:
Install legion Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude
using the following command.
After updating apt database, We can install legion
using aptitude
by running the following command:
How To Uninstall legion on Kali Linux
To uninstall only the legion
package we can use the following command:
Uninstall legion And Its Dependencies
To uninstall legion
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
Remove legion Configurations and Data
To remove legion
configuration and data from Kali Linux we can use the following command:
Remove legion configuration, data, and all of its dependencies
We can use the following command to remove legion
configurations, data and all of its dependencies, we can use the following command:
Dependencies
legion have the following dependencies:
- cutycapt
- ristretto
- figlet
- finger
- hping3
- hydra
- ldap-utils
- medusa
- mousepad
- nbtscan
- nfs-common
- nikto
- nmap
- python3-aiohttp
- python3-aioredis
- python3-apscheduler
- python3-colorama
- python3-impacket
- python3-pandas
- python3-pyexploitdb
- python3-pyfiglet
- python3-pyqt5
- python3-pyshodan
- python3-quamash
- python3-service-identity
- python3-six
- python3-sqlalchemy
- python3-termcolor
- rpcbind
- rwho
- smbclient
- sparta-scripts
- sqlmap
- sslscan
- wapiti
- whatweb
- x11-apps
- xauth
- xsltproc
- xvfb
- python3
References
Summary
In this tutorial we learn how to install legion
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.