Skip to content

mukeran/dinlas

Repository files navigation

Dinlas - A web scanner

Dinlas is a web scanner which can help developers find security vulnerabilities in their programs.
But you have to pay attention that this is a project for a course.

Main Developers

mukeran Personal Blog: https://blogs.mukeran.com am009 Tinywangxx

Project Layout

.
β”œβ”€β”€ dictionary
β”‚   β”œβ”€β”€ blind_sql_Payloads.txt
β”‚   β”œβ”€β”€ common_directory.txt
β”‚   β”œβ”€β”€ file_upload_payloads
β”‚   β”‚   β”œβ”€β”€ basic.jsp
β”‚   β”‚   β”œβ”€β”€ phpinfo.gif
β”‚   β”‚   β”œβ”€β”€ phpinfo.jpg
β”‚   β”‚   └── phpinfo.php
β”‚   β”œβ”€β”€ weak_password.txt
β”‚   └── weak_username.txt
β”œβ”€β”€ lib
β”‚   β”œβ”€β”€ __init__.py
β”‚   β”œβ”€β”€ core
β”‚   β”‚   β”œβ”€β”€ __init__.py
β”‚   β”‚   β”œβ”€β”€ ArgumentParser.py
β”‚   β”‚   β”œβ”€β”€ Controller.py
β”‚   β”‚   β”œβ”€β”€ Dictionary.py
β”‚   β”‚   └── Reporter.py
β”‚   β”œβ”€β”€ exceptions.py
β”‚   β”œβ”€β”€ extensions
β”‚   β”‚   β”œβ”€β”€ __init__.py
β”‚   β”‚   β”œβ”€β”€ api.py
β”‚   β”‚   β”œβ”€β”€ default.py
β”‚   β”‚   β”œβ”€β”€ dynamic.py
β”‚   β”‚   └── static.py
β”‚   β”œβ”€β”€ modules
β”‚   β”‚   β”œβ”€β”€ __init__.py
β”‚   β”‚   β”œβ”€β”€ CSRFDetector.py
β”‚   β”‚   β”œβ”€β”€ DirectorySearcher.py
β”‚   β”‚   β”œβ”€β”€ DynamicRequestFinder.py
β”‚   β”‚   β”œβ”€β”€ FileUploadDetector.py
β”‚   β”‚   β”œβ”€β”€ ReflectedXSSDetector.py
β”‚   β”‚   β”œβ”€β”€ SQLInjector.py
β”‚   β”‚   β”œβ”€β”€ SQLMapInjector
β”‚   β”‚   β”œβ”€β”€ SSTIDetector.py
β”‚   β”‚   β”œβ”€β”€ StaticRequestFinder.py
β”‚   β”‚   β”œβ”€β”€ StoredXSSDetector.py
β”‚   β”‚   └── WeakPasswordTester.py
β”‚   └── utils
β”‚       β”œβ”€β”€ __init__.py
β”‚       └── random.py
β”œβ”€β”€ templates
β”‚   └── default.jinja2
β”œβ”€β”€ dinlas.py - Main entry
β”œβ”€β”€ requirements.txt
└── README.md

Installation and First Run

When you finished downloading the release, you have to do some preparations below:

  1. Install Python 3.8 and pip 19 or above;
  2. Run pip install -r requirements.txt;
  3. Download Google Chrome and its Chrome Driver;
  4. Download browsermob-proxy;
  5. Extract browsermob-proxy and Chrome Driver into a PATH path.

Now you can run ./dinlas.py start static <your_url>.