Giter Site home page Giter Site logo

subanser's Introduction

SubAnser: Tool to check the website's avilability on various ports.

Overview

SubAnser is a Go program designed to check the availability of web services across multiple domains and ports. It efficiently handles concurrent requests to quickly determine the status of specified services, making it a valuable tool for administrators and web developers looking to monitor the health of their online platforms.

Features

  • Concurrent Requests: Speed up the monitoring process by checking multiple services at the same time.
  • Multiple Domain Support: Easily check the availability of services across different domains.
  • Customizable Port Checks: Specify which ports to check for each domain.
  • Timeout Settings: Modify the timeout settings to suit different network speeds.
  • Error Logging: Quickly identify and resolve issues with unreachable services.

Requirements

  • Go (Version 1.15 or higher recommended)
  • An active internet connection

Note

This tool is written for my learning purpose as previous script was created with the help of friend. I have tried recreating it in my fav lang GO. It might have errors or might give false positie if you feel their is some wrong wil recommnded it checking manually. You can change the protocols by editting manually as one can also change the inerval set in the reqHandler function which is currently set to 30 sec.

Installation

To set up SubAnswer on your machine, follow these steps:

  1. Clone the repository or download the source code and navigate to that directory:
    git clone https://yourrepository.com/subanser.git
    cd subanser
  2. For the usage
    go run main.go -f domains -p 80,443,8080

It will start making request on every domain on the given port with both protocols HTTP and HTTPS. Error's faced on particular port or domain name will be logged to a diffrent file.

example: image

subanser's People

Contributors

clevercoder91 avatar dev-mehta avatar trivedi-t avatar

Stargazers

 avatar

Forkers

trivedi-t

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.