A golang tool which makes http requests and prints the address of the request along with the MD5 hash of the response.

Golang Tool

This repository is a golang tool which makes http requests to the external server and prints the address of the request along with the MD5 hash of the response.

Prerequisites

Before you start, please make sure you have Go installed in your system. If not, please use the following link to install Golang: https://golang.org/doc/install

Getting Started

Clone the git repository in your system and then cd into project root directory

$ git clone https://github.com/RashikaAggarwal/golang_tool.git
$ cd golang_tool

Build your tool by executing the following steps

$ cd tool
$ go build

Sample Outputs

This tool takes address of the http requests as command line arguments. See below examples

$ ./myhttp.exe google.com
http://google.com 99dfc598be174b2d5784295c3f115a1a
$ ./myhttp.exe google.com http://gmail.com
http://gmail.com a0211acb7663404213fbf352c2509ccb
http://google.com b54f561b0e57ec45a0bdce916c980c96

This tool also takes "parallel" input parameter(integer value) to execute the http requests in parallel. The default value of "parallel" is 10.

$ ./myhttp.exe -parallel 2 google.com http://gmail.com http://www.facebook.com
http://gmail.com c3187c303a30b0aabeba65e332c0faba
http://google.com adfc9b9e273ddf921cb59eb0c3b86549
http://www.facebook.com dc484ef3a7c6accb7491c853cad3d438

In case of failures(say incorrect address), it prints error message and gets exited.

$ ./myhttp.exe gool
Error:  Get "http://gool": dial tcp: lookup gool: no such host

This repository includes dependencies only from Go standard libraries. It also contains unit test cases which provide the industry standard code coverage.

Similar Resources

This project aims for printing HTTP requests from outside simply

HTTP Debug Server This project aims for printing HTTP requests from outside simp

Jan 29, 2022

Simple web-hook based receiver executing things via HTTP request

Updater is a simple web-hook-based receiver executing things via HTTP requests and invoking remote updates without exposing any sensitive info, like ssh keys, passwords, etc.

Dec 19, 2022

Go library that makes it easy to add automatic retries to your projects, including support for context.Context.

go-retry Go library that makes it easy to add automatic retries to your projects, including support for context.Context. Example with context.Context

Aug 15, 2022

A Go "clone" of the great and famous Requests library

GRequests A Go "clone" of the great and famous Requests library License GRequests is licensed under the Apache License, Version 2.0. See LICENSE for t

Dec 23, 2022

Sample script to request test

Multiple request test script This script running in GO if not have compiler execute this: *** Open url: https://go.dev/dl/ download GO to your OS ***

Nov 23, 2021

Docker-Project - A simplified backend that listens to POST request

This is a simplified backend that listens to POST request. Once it receives such a request it will push it to a PostgreSQL database.

Feb 5, 2022

Speak HTTP like a local. (the simple, intuitive HTTP console, golang version)

http-gonsole This is the Go port of the http-console. Speak HTTP like a local Talking to an HTTP server with curl can be fun, but most of the time it'

Jul 14, 2021

Http client call for golang http api calls

httpclient-call-go This library is used to make http calls to different API services Install Package go get

Oct 7, 2022

fhttp is a fork of net/http that provides an array of features pertaining to the fingerprint of the golang http client.

fhttp The f stands for flex. fhttp is a fork of net/http that provides an array of features pertaining to the fingerprint of the golang http client. T

Jan 1, 2023
httpreq is an http request library written with Golang to make requests and handle responses easily.

httpreq is an http request library written with Golang to make requests and handle responses easily. Install go get github.com/binalyze/http

Feb 10, 2022
Replacement of ApacheBench(ab), support for transactional requests, support for command line and package references to HTTP stress testing tool.

stress stress is an HTTP stress testing tool. Through this tool, you can do a stress test on the HTTP service and get detailed test results. It is ins

Aug 23, 2022
Return domains in CSP headers in http response

Return domains in CSP headers in http response. This might be used to uncover more domains that are affiliated with a target.

Dec 23, 2022
fastcache is an HTTP response caching package that plugs into fastglue that simplifies

fastcache fastcache is a simple response caching package that plugs into fastglue. The Cached() middleware can be wrapped around fastglue GET handlers

Apr 5, 2022
This is a simple single-host reverse proxy that intercept and save HTTP requests and responses
This is a simple single-host reverse proxy that intercept and save HTTP requests and responses

HTTP Telescope Debug HTTP requests using a reverse proxy. Description This is a simple single-host reverse proxy that intercept and save HTTP requests

Mar 20, 2022
A fantastic HTTP request libarary used in Golang.

goz A fantastic HTTP request library used in golang. Inspired by guzzle Installation go get -u github.com/idoubi/goz Documentation API documentation

Dec 21, 2022
A Go HTTP client library for creating and sending API requests
A Go HTTP client library for creating and sending API requests

Sling Sling is a Go HTTP client library for creating and sending API requests. Slings store HTTP Request properties to simplify sending requests and d

Jan 7, 2023
Gourl: Performs (multiple) HTTP requests and gathers stats

Gourl: Performs (multiple) HTTP requests and gathers stats

Mar 9, 2022
Nap is a file-based framework for automating the execution of config-driven HTTP requests and scripts.

Nap Nap is a file-based framework for automating the execution of config-driven HTTP requests and scripts. Installation Options Using go get $ go inst

Nov 17, 2022
go http api to handle phishing resources requests

go http api to handle phishing resources requests (auth check, prometheus metrics, pushing to rabbit, logging to elasticsearch)

Oct 8, 2021