GithubHelp home page GithubHelp logo

captain-noob / vulnscanner Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 2.0 54 KB

vulnscanner is a web application source code vulnerability scanner. It could be used to detect if the target project contains any known vulnerabilities. One of the best ways we can do that is to help developers and security professionals improve the web application they are producing that everyone else relies on.

Python 40.23% PHP 59.77%
owasp-top-10 python php sourecode vulnerability-scanners

vulnscanner's Introduction

VULN-SCANNER

vulnscan is a web application source code vulnerability scanner (now we are developing for PHP applications). It could be used to detect if target project contain any known vulnerabilities. One of the best ways we can do that is to help developers and security professionals improve the web application they are producing that everyone else relies on.

This tool is designed to be cross-platformed. It could be compiled and run on both Windows and Linux.

php python owasp

Usage

- git clone https://github.com/captain-noob/vulnscanner.git
- cd vulnscanner/
- pip install -r requirements.txt
- python main.py

Quick Facts

Detects various security vulnerabilites:

SQLInjection, Cross-Site Scripting (XSS), Cross-Site Request Forgery(CSRF), XML eXternal Entity Injection (XXE),Command Injection etc.

Updates

- Now, this tool can identify SQL injection possibilities.
- Controll using commandline parameters 

About

- Currently, we are working on this project.
- Completed SQL Injection Module.
- Next MileStone : OS Command Injection

Working

    usage: main.py [-h] [-f FILE] [-F FOLDER]

    This is the vuln scanner

    optional arguments:
    -h, --help                      Show this help message and exit
    -f FILE,    --file FILE         Analize with a file
    -F FOLDER,  --folder FOLDER     Analize file with in a folder

Output

vulnscanner >  python .\main.py -f .\test\sqli.php
[+] : SQL injection might me possible    - Severity : High
        File : C:\Users\Roshan\Desktop\tools\vulnscanner\test\sqli.php
        Code : $news_dbg = mysql_query("SELECT id,name,image,specifications FROM ".$_GET['id']." WHERE id=".$DB_CHALL_TWO) or die(mysql_error());
        Param : $_GET[
        Param : $DB_CHALL_TWO
        Fix : Use PDO insted of direct SQL execution
        Reffer : https://cheatsheetseries.owasp.org/cheatsheets/SQL_Injection_Prevention_Cheat_Sheet.html#escaping-sqli-in-php


[+] : SQL injection might me possible    - Severity : High
        File : C:\Users\Roshan\Desktop\tools\vulnscanner\test\sqli.php
        Code : $news = mysql_query("SELECT id,name,image,specifications FROM ".$DB_CHALL_TWO." WHERE id=".$_GET['id']) or die(mysql_error());
        Param : $DB_CHALL_TWO
        Param : $_GET[
        Fix : Use PDO insted of direct SQL execution
        Reffer : https://cheatsheetseries.owasp.org/cheatsheets/SQL_Injection_Prevention_Cheat_Sheet.html#escaping-sqli-in-php


[+] : SQL injection might me possible    - Severity : High
        File : C:\Users\Roshan\Desktop\tools\vulnscanner\test\sqli.php
        Code : $news = mysql_query("SELECT name,image,id FROM ".$DB_CHALL_TWO." ORDER BY id DESC LIMIT 0,3") or die(mysql_error());
        Param : $DB_CHALL_TWO
        Fix : Use PDO insted of direct SQL execution
        Reffer : https://cheatsheetseries.owasp.org/cheatsheets/SQL_Injection_Prevention_Cheat_Sheet.html#escaping-sqli-in-php


Finished in 0.11 second(s)

Contacts

LinkedIn : https://www.linkedin.com/in/roshancp/
Twitter : https://twitter.com/captain__noob

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

vulnscanner's People

Contributors

captain-noob avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 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.