legion
Legion is 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.
File Explorer
Download Latest Version (.zip)- bug_report.md
- AbstractUpdateProgressObservable.py
- AbstractUpdateProgressObserver.py
- UpdateProgressObservable.py
- AbstractObservable.py
- AbstractObserver.py
- __init__.py
- isHttps.py
- __init__.py
- NmapImporter.py
- PythonImporter.py
- legionLog.py
- DefaultShell.py
- Shell.py
- __init__.py
- DefaultNmapExporter.py
- NmapExporter.py
- NmapHelpers.py
- NmapPaths.py
- __init__.py
- ToolCoordinator.py
- __init__.py
- ApplicationInfo.py
- auxiliary.py
- legionLogo.txt
- logic.py
- ModelHelpers.py
- Project.py
- ProjectManager.py
- Screenshooter.py
- settings.py
- timing.py
- .gitkeep
- NOTHING-HERE-BUT-US-CHICKENS
- __init__.py
- controller.py
- app.py
- cve.py
- host.py
- l1script.py
- nmapSession.py
- note.py
- os.py
- port.py
- process.py
- processOutput.py
- service.py
- CVERepository.py
- HostRepository.py
- NoteRepository.py
- PortRepository.py
- ProcessRepository.py
- ScriptRepository.py
- ServiceRepository.py
- __init__.py
- database.py
- filters.py
- postgresDbAdapter.py
- RepositoryContainer.py
- RepositoryFactory.py
- SqliteDbAdapter.py
- validation.py
- format
- changelog
- control
- copyright
- docs
- legion.install
- legion.links
- rules
- watch
- apt.sh
- checkXserver.sh
- detectOs.sh
- detectPython.sh
- detectScripts.sh
- fixQt.sh
- installDeps.sh
- installPythonLibs.sh
- nmap-wsl.sh
- primeExploitDb.py
- setupWsl.sh
- buildIt.sh
- buildItLocal.sh
- Dockerfile
- Dockerfile.dev
- Dockerfile.local
- runIt.sh
- Backup_of_legion.cdr
- Backup_of_legion_adj.cdr
- knife.png
- knife_tiny.png
- Legion-N_128x128.svg
- legion.cdr
- legion.ico
- legion_adj.cdr
- legion_adj.svg
- legion_medium.svg
- legion_tiny.cdr
- legion_tiny.svg
- logo.png
- logo_big.png
- logo_small.png
- zombie-horde-clipart-1.bmp
- add.png
- advanced.png
- browser-big.jpg
- cancel-delete.png
- cisco-big.jpg
- cisco-icon.png
- close.png
- closed.gif
- closetab-hover.png
- closetab-press.png
- closetab-small.png
- closetab.png
- filtered.gif
- finished.gif
- finished.png
- hp-big.jpg
- hp-icon.png
- killed.gif
- killed.png
- LegionBanner.png
- legionConsole.png
- linux-icon.png
- minus-black.png
- open.gif
- question-icon.png
- running.gif
- save.png
- screenshot-big.jpg
- search.png
- solaris-icon-big.png
- solaris-icon.png
- vmware-big.jpg
- vxworks-icon-big.png
- vxworks-icon.png
- waiting.gif
- windows-icon.png
- .gitkeep
- __init__.py
- HostExample.py
- OsExample.py
- ParserExample.py
- ScriptExample.py
- ServiceExample.py
- SessionExample.py
- __init__.py
- CVE.py
- Host.py
- OS.py
- Parser.py
- Port.py
- Script.py
- Service.py
- Session.py
- __init__.py
- shodan-api.nse
- shodan-hq.nse
- vulners.nse
- __init__.py
- dummy.py
- macvendors.py
- pyShodan.py
- exec-in-shell
- fingertool.sh
- x11screenshot.sh
- __init__.py
- test_UpdateProgressObservable.py
- __init__.py
- __init__.py
- test_isHttps.py
- __init__.py
- test_DefaultShell.py
- __init__.py
- test_DefaultNmapExporter.py
- test_NmapHelpers.py
- test_NmapPaths.py
- __init__.py
- test_ToolCoordinator.py
- __init__.py
- test_ModelHelpers.py
- test_ProjectManager.py
- test_Timing.py
- db_helpers.py
- __init__.py
- test_CVERepository.py
- test_HostRepository.py
- test_NoteRepository.py
- test_PortRepository.py
- test_ProcessRepository.py
- test_ScriptRepository.py
- test_ServiceRepository.py
- __init__.py
- test_filters.py
- test_validation.py
- malformed-nmap-report.xml
- valid-nmap-report.xml
- __init__.py
- test_Parser.py
- __init__.py
- test_QtUpdateProgressObserver.py
- __init__.py
- test_eventfilter.py
- __init__.py
- test.py
- __init__.py
- cvemodels.py
- hostmodels.py
- processmodels.py
- scriptmodels.py
- servicemodels.py
- QtUpdateProgressObserver.py
- __init__.py
- addHostDialog.py
- ancillaryDialog.py
- configDialog.py
- dialogs.py
- eventfilter.py
- gui.py
- helpDialog.py
- legion.qss
- settingsDialog.py
- view.py
- ViewHeaders.py
- ViewState.py
- __init__.py
- qtLogging.py
- db2-betterdefaultpasslist.txt
- ftp-betterdefaultpasslist.txt
- gvit_subdomain_wordlist.txt
- mssql-betterdefaultpasslist.txt
- mysql-betterdefaultpasslist.txt
- oracle-betterdefaultpasslist.txt
- postgres-betterdefaultpasslist.txt
- root-userpass.txt
- routers-userpass.txt
- snmp-default.txt
- ssh-betterdefaultpasslist.txt
- ssh-password.txt
- ssh-user.txt
- telnet-betterdefaultpasslist.txt
- tomcat-betterdefaultpasslist.txt
- vnc-betterdefaultpasslist.txt
- windows-betterdefaultpasslist.txt
- .codeclimate.yml
- .flake8
- .gitignore
- .justcloned
- .travis.yml
- buildHugeNmapTest.py
- CHANGELOG.txt
- CONTRIBUTING.md
- legion.conf
- legion.py
- LICENSE
- nmap.xsl
- precommit.sh
- primeExploitDb.py
- README.md
- requirements.txt
- startLegion.sh
- utilities.py
# Installation Guide
git clone https://github.com/Abacus-Group-RTO/legion
Downloads the entire project code from GitHub to your computer.
cd legion
Moves into the project folder you just downloaded.
2. Official Install Script
Easy Recommended- APT (Debian/Ubuntu κ³μ΄) Built into Debian/Ubuntu-based Linux distributions.
- Python 3 Python is required to use pip.
sudo apt install snapd -y
Installs directly from the APT package repository (Debian/Ubuntu-based).
sudo apt-get install -y docker.io python3-pip -y
Installs directly from the APT package repository (Debian/Ubuntu-based).
pip install --user docker-compose
Installs the package published on PyPI directly β no need to clone the source.
sudo apt-get install -y docker-ce python-pip -y
Installs directly from the APT package repository (Debian/Ubuntu-based).
Pulled directly from this repo's README.
3. Docker
Easy- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
cd legion/docker
Moves into the project folder you just downloaded.
sudo apt-get install -y docker.io python3-pip -y
Installs directly from the APT package repository (Debian/Ubuntu-based).
sudo groupadd docker
Type this command into your terminal and run it.
pip install --user docker-compose
Installs the package published on PyPI directly β no need to clone the source.
sudo usermod -aG docker $USER
Type this command into your terminal and run it.
Pulled directly from this repo's README.
4. Python
Easysudo apt-get install -y docker.io python3-pip -y
Installs directly from the APT package repository (Debian/Ubuntu-based).
pip install --user docker-compose
Installs the package published on PyPI directly β no need to clone the source.
sudo apt-get install -y docker-ce python-pip -y
Installs directly from the APT package repository (Debian/Ubuntu-based).
python -m unittest
Runs the Python script (or module).
Pulled directly from this repo's README.
