Giter VIP home page Giter VIP logo

networkscanner's Introduction

Description

Network Scanner scans all interfaces availble and pings on all possible ip addresses to find whether a device is active on that particular ip address. It retrieves mac address from arp table and finds manufacturer of the device using mac address.

It uses redis to store device nick names for mac addr and retrieves device nick name. If device is observed for the first time you are allowed to add nick name for that particular device.

Prerequisites

Install Python3 on your computer Install Flask using pip3 install flask set export FLASK_APP=main.py as environment variable install all packages mentioned in requirements.txt using pip3 install requirements.txt

How to run

Redis runs on port number 6379. If you wanted to run redis docker image use below commands

Redis Setup

Create docker volume for persistent storage `sudo docker volume create netscan` Run redis container using volumes `docker container run -d -p 6379:6379 --name redis-netscan --mount source=netscan,destination=/data redis`

Flask App

run flask application using `python3 -m flask run` If you are one any of linux flavour which supports systemd then user netscan.service as unit file to bring python flask application

Web Pages

> Run webpages from html directory to view results in better eye pleasing way

open your browser and enter below url for scanning all devices: http://127.0.0.1:5000/

other options will be shown on home page

Built With

Python3
Flask
Redis

networkscanner's People

Contributors

bhanu-lab avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

networkscanner's Issues

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.