Giter Site home page Giter Site logo

low-hanging's Introduction

low-hanging

low-hanging aims to be lightweight and extensible horizontal vulnerability scanner.

Just pass list of domains/IPs and low-hanging will check for easily detectable vulnerabilities with low false positive rate.

Made to be easily extensible. Adding more checks is just few lines of code with features like JS rendering in your possession thanks to requests-html.

Inspired by https://github.com/tomnomnom/meg, but made to be easily pluggable into your fully automated workflow.

Usage

$ docker run s14ve/low-hanging --help
Usage: low_hanging.py [OPTIONS]

Options:
  -i, --input TEXT       Path to file with list of domains/IPs separated by
                         newline.
  -t, --threads INTEGER  Number of threads with which you want to run.
  -o, --output TEXT      Output files to file in json format.
  --help                 Show this message and exit.

Adding Modules

Adding modules is quite simple, yet it requires some manual work with imports. This will get improved in the future. For now, bear with me and check example commit.

  • Return url in case of detected vulnerability
  • You don't have to handle exceptions, they'll just get swallowed

Example Module

from low_hanging.base_worker import BaseWorker


class DjangoDebug(BaseWorker):
    name = "django_debug"
    references = ["https://stackoverflow.com/questions/14470601/debug-true-django"]
    def run(self):
        path = self.random_string()
        r = self.scrape(path)  # wrapper for self.session.request(method, urljoin(self.domain, path), timeout=5)
        if "DEBUG" in r.text:
            return r.url  # If successful, return the URL for which the exploit is valid

low-hanging's People

Contributors

janmasarik avatar

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.