Skip to content
Projets

À propos

Labsecurity is a pentesting framework that brings together tools and allows users to create, manage, and run hacking scripts from a single platform, facilitating the automation of cybersecurity testing.

Sécurité et confidentialité

Comment ces chiffres sont mesurés

Progression mesurée des étoiles

in 24h
0
in 7 days
0
in 15 days
+1
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original

LABSECURITY 2.0

Starts License

Labsecurity is a pentesting framework that brings together tools and allows users to create, manage, and run hacking scripts from a single platform, facilitating the automation of cybersecurity testing.

labsecurity

📚 Requirements

  • Python 3.10 or later.
  • For Nmap plugins, install Nmap (the system executable) and python-nmap. These are not required to start the console or to perform a simple scan using sockets.

⬇️ Installation

To install and use labsecurity, follow these steps:

  1. Make sure you have installed Python in your system.
  2. Download or clone this repository to your computer.
  3. Open a terminal and access the repository directory.
  4. Run the following command to install the necessary dependencies: pip3 install -r requirements.txt
  5. Run the following command to start labsecurity: python3 labsecurity.py
labsecurity > help
labsecurity > search scanport
labsecurity > use auxiliary/scanner/scanport
labsecurity (auxiliary/scanner/scanport) > show options
labsecurity (auxiliary/scanner/scanport) > set RHOSTS 127.0.0.1
labsecurity (auxiliary/scanner/scanport) > set RPORT 8000
labsecurity (auxiliary/scanner/scanport) > run
labsecurity (auxiliary/scanner/scanport) > back
labsecurity > exit

🔧 Create Your Own Plugin

From the console:

labsecurity > plugin create my_tool
[+] Plugin scaffold generated: plugins/auxiliary/custom/my_tool

You can also specify the type and category:

labsecurity > plugin create port_check auxiliary scanner

The generator creates the package with:

plugins/auxiliary/custom/my_tool/
  __init__.py
  manifest.json
  plugin.py

Open plugin.py and replace the TODO comment with your logic in the run(ctx) function. Adjust the manifest options and run reload if you were already using the console. Discovery occurs without executing the plugin’s code; loading takes place when you call run or a command added by a plugin.

Basic API: ctx.get(“TARGET”), ctx.info(“...”), ctx.success(“...”), ctx.warning(“...”), ctx.error(“...”), and ctx.print(“...”). Options can be of type string, integer, port, boolean, url, or choice; required, default, and description are configurable.

👷 Contributions

This project is open source and we are open to any kind of contribution. If you want to collaborate with the project, follow these steps:

  • Fork this repository.
  • Create a branch with your contribution.
  • Make a pull request to this repository.

Be sure to include a detailed description of your contribution and to follow our code standards.

🧾 Credits

This project has been developed by Dylan Meca and contributions from users.

Explorer des projets similaires

Chargement…