Git Product home page Git Product logo

labsecurity's Introduction

๐Ÿ›ก๏ธ Labsecurity ๐Ÿ

Build Status License dylanmeca bug_report security_policy Python labsecurity

Labsecurity is a tool that bundles ethical hacking python scripts into a single tool with cli interface.

โš ๏ธ Warning

This project was created for educational and ethical hacking purposes. It should not be used in environments without legal authorization.

โฌ‡๏ธ 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 --help
usage: labsecurity.py [-h] -t TARGET [-p PORT] script_name

Labsecurity is a tool that bundles ethical hacking python scripts into a single tool with cli interface.

positional arguments:
  script_name           Script name to be executed

optional arguments:
  -h, --help            show this help message and exit
  -t TARGET, --target TARGET
                        Objective to use
  -p PORT, --port PORT  Port to user

๐Ÿ“š Use

To use this tool you must learn the following concept:

python3 labsecurity.py -t http://example.com scanweb.py

By using the -t parameter I specify the target which in this case is http://example.com and by putting scanweb.py at the end I specify the script to be executed. The scripts are located in the /scripts folder and can be used in the tool.

Another example would be using another script that in this case will be scanport.py:

python3 labsecurity.py -t 192.168.0.107 -p 80 scanport.py

In this case, apart from the -t parameter, the -p parameter is added to specify the port and at the end the scanport.py script is used to scan said port.

You can see the available scripts and their function with the following command:

python3 labsecurity.py show-options.py

๐Ÿ’ป What can labsecurity do?

Some examples of what this tool can do are:

  • You can get the information from the headers of a website
  • You can get the WordPress version although by investigating you can also find the Jekyll version
  • You can scan a public ip
  • Can scan ports using nmap

๐Ÿ‘ท 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.

๐Ÿ“œ License

This project is released under the MIT license. This means that the code and documentation in this project are free to use, modify, and distribute as long as you respect the license terms.

For more information about the license, see the LICENSE file included in this repository.

๐Ÿงพ Credits

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

labsecurity's People

Contributors

dependabot-preview[bot] avatar dylanmeca avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

labsecurity's Issues

AttributeError: 'interpreter' object has no attribute 'myip'

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

This is my error after run labsecurity on command terminal

Traceback (most recent call last):
File "/usr/local/bin/labsecurity", line 4, in
import('pkg_resources').run_script('labsecurity==1.7', 'labsecurity')
File "/usr/local/lib/python3.9/site-packages/pkg_resources/init.py", line 651, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/local/lib/python3.9/site-packages/pkg_resources/init.py", line 1455, in run_script
exec(script_code, namespace, namespace)
File "/usr/local/lib/python3.9/site-packages/labsecurity-1.7-py3.9.egg/EGG-INFO/scripts/labsecurity", line 6, in
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 664, in _load_unlocked
File "", line 627, in _load_backward_compatible
File "", line 259, in load_module
File "/usr/local/lib/python3.9/site-packages/labsecurity-1.7-py3.9.egg/libsecurity/init.py", line 14, in
AttributeError: 'interpreter' object has no attribute 'myip'

can you help me?

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.