Git Product home page Git Product logo

radar's Introduction

Radar

Radar is an application that allows to map networks. Created by :

  • Alexandre Duchesne
  • Noé Steiner

Installation

To install Radar, you will have to install Go on your computer.

Clone the repository and run the following command:

cd /path/to/radar
go get main

Usage

Radar can be used directly on your computer, or you can also use it in remote mode.

Use it on your computer

You only have to run the following command:

cd /path/to/radar
go run main.go

Then you will see multiple commands, you can directly use Scan-ports and Scan-gateway commands. The port scan is done on the provided IP.

You can also use the commands directly if you prefer.

Remote mode

To use remote mode, you will have to put Radar on a server and run the following command:

cd /path/to/radar
go run main.go

Then you will have to select "server-mode" It will launch Radar daemon on 6666 TCP port. Every scan will then be done directly from the server.

Then, you can use Radar in client mode on your computer:

cd /path/to/radar
go run main.go

Then you will have to select "client-mode" and enter the server IP address. You can then use Scan-ports and Scan-gateway commands.

Note

To run the application, you might need to give it the right to send ICMP packets. For development, we set net.ipv4.ping_group_range="0 2147483647"

Understand the code

The code is divided in multiple packages:

  • cmd
  • internal

cmd

cmd contains every callable command in the application. It is the entry point of the application. Most functions can be called without the TUI even though the TUI might be more optimized.

You will also find in this package the root view containing the main menu.

internal

internal contains every function that are used in the application. It is the core of the application.

It mostly contains helpers to scan ports and gateways, and the functions to achieve these scans.

radar's People

Contributors

limpsword avatar unshade avatar

Watchers

 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.