Giter Club home page Giter Club logo

moalaaelden / nmap-scanner-django Goto Github PK

View Code? Open in Web Editor NEW

This project forked from neo1277/nmap-scanner-django

0.0 0.0 0.0 44 KB

This Django application uses nmap3 python library to scan the network with the option -A and -sV, this web application also includes the option to perform a quick scan with arping (scapy python library) and after performing the scan, it saves the data into a SQLite3 database. The scan is performed from a form and the data is shown on views that have HTML tables created with bootstrap 4.

License: MIT License

Python 77.51% HTML 22.49%

nmap-scanner-django's Introduction

Network scanner

This Django application uses nmap3 python library to scan the network with the option -A and -sV, this web application also includes the option to perform a quick scan with arping (scapy python library) and after performing the scan, it saves the data into a SQLite3 database. The scan is performed from a form and the data is shown on views that have HTML tables created with bootstrap 4.

Programming languages (frameworks, libraries)

  • Python libraries: nmap3 and scapy
  • Django (Django templates, Django models, crispy forms)

Database

  • SQLite3

Installation

  • In order to use the nmap Python library, Nmap has to be installed on your system, if you don't have Nmap installed on your system, you can find a guide here
  • Create a virtual enviroment for the django dependencies Link official documentation
  • Activate the enviroment and go to the nmap-scanner-django folder and install the Django dependencies with the following command using the requirements.txt file which has the dependencies
    • pip install -r requirements.txt

  • To create the the database and tables, on the nmap-scanner-django folder run the following commands (python or python3 depends on your configuration when the enviroment variable on the system was set up)
    • python manage.py makemigrations

    • python manage.py migrate

How to run it

  • Go to the nmap-scanner-django folder and run
    • python manage.py runserver

  • The url where the form to perform the scan is located is: network-scanner ,so the url would be http://127.0.0.1:8000/network-scanner/
  • The links that take you to the views to see the scanner history are below the form
  • To perform the scan, in the form, you have to provide a range of IPs that are going to be scanned, for example: 192.168.40.1/24
  • The IP that I used as an example is an access point, the most common is that the access point is the same local IP of your device and the last number would be 1.

nmap-scanner-django's People

Contributors

neo1277 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.