• Stars
    star
    2
  • Language
    Go
  • License
    MIT License
  • Created 10 months ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

HTTP Grab

Go Reference Go Report Card

Description

http-grab is a tool for grabbing HTTP response from a list of IP addresses.

Installation

go install github.com/WangYihang/http-grab@latest

Usage

$ http-grab --h
Usage:
  http-grab [OPTIONS]

Application Options:
  -i, --input=          input file path
  -o, --output=         output file path
  -s, --status-updates= status updates file path
  -n, --num-workers=    number of workers (default: 32)
      --seed=           seed (default: 0)
      --num-shards=     number of shards (default: 1)
      --shard=          shard (default: 0)
  -p, --port=           port (default: 80)
      --path=           path (default: index.html)
      --host=           http host header
  -m, --max-tries=      max tries (default: 4)
  -t, --timeout=        timeout (default: 8)

Help Options:
  -h, --help            Show this help message
$ head input.txt
23.63.66.161
3.210.226.220
34.149.9.201
38.91.55.188
70.109.57.175
108.138.69.232
3.144.94.58
142.202.80.211
104.233.202.168
23.202.84.42
$ http-grab -i input.txt -o output.txt
...
$ head -n 1 output.txt
{
    "index": 26,
    "started_at": 1706764512210,
    "finished_at": 1706764512755,
    "num_tries": 1,
    "timeout": 8,
    "error": "",
    "ip": "34.149.112.180",
    "port": 80,
    "path": "index.html",
    "host": "34.149.112.180",
    "http": {
        "request": {
            "method": "GET",
            "url": "http://34.149.112.180:80/index.html",
            "host": "34.149.112.180",
            "remote_addr": "",
            "request_uri": "",
            "proto": "HTTP/1.1",
            "proto_major": 1,
            "proto_minor": 1,
            "header": {
                "User-Agent": [
                    "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 Edg/121.0.0.0"
                ]
            },
            "content_length": 0,
            "transfer_encoding": null,
            "close": false,
            "form": null,
            "post_form": null,
            "multipart_form": null,
            "trailer": null
        },
        "response": {
            "status": "404 Not Found",
            "status_code": 404,
            "proto": "HTTP/1.1",
            "proto_major": 1,
            "proto_minor": 1,
            "header": {
                "Content-Length": [
                    "42"
                ],
                "Content-Type": [
                    "text/plain; charset=UTF-8"
                ],
                "Date": [
                    "Thu, 01 Feb 2024 05:15:12 GMT"
                ],
                "Server": [
                    "akka-http/10.2.7"
                ],
                "Via": [
                    "1.1 google"
                ]
            },
            "raw_body": "VGhlIHJlcXVlc3RlZCByZXNvdXJjZSBjb3VsZCBub3QgYmUgZm91bmQu",
            "body": "The requested resource could not be found.",
            "content_length": 42,
            "transfer_encoding": null,
            "close": false,
            "uncompressed": false,
            "trailer": null
        }
    }
}

More Repositories

1

Platypus

🔨 A modern multiple reverse shell sessions manager written in go
Go
1,503
star
2

GitHacker

🕷️ A `.git` folder exploiting tool that is able to restore the entire Git repository, including stash, common branches and common tags.
Python
1,408
star
3

Webshell-Sniper

🔨 Manage your website via terminal
Python
419
star
4

SourceLeakHacker

🐛 A multi threads web application source leak scanner
Python
379
star
5

ccupp

基于社会工程学的弱口令密码字典生成工具
Python
340
star
6

UsbKeyboardDataHacker

USB键盘流量包取证工具 , 用于恢复用户的击键信息
Python
320
star
7

Reverse-Shell-Manager

🔨 A multiple reverse shell session/client manager via terminal
Python
237
star
8

USB-Mouse-Pcap-Visualizer

USB mouse traffic packet forensic tool, mainly used to draw mouse movements and dragging trajectories
JavaScript
233
star
9

Exploit-Framework

🔥 An Exploit framework for Web Vulnerabilities written in Python
Python
170
star
10

Apache-HTTP-Server-Module-Backdoor

👺 A Simple Backdoor For Apache HTTP Server
C
151
star
11

MIT-6.031-Readings-zh-cn

麻省理工大学-18年春季学期-软件构造(6.031)课程阅读中文版
84
star
12

awesome-web-security

📓 Some notes and impressive articles of Web Security
74
star
13

Codiad-Remote-Code-Execute-Exploit

A simple exploit to execute system command on codiad
Python
64
star
14

Find-PHP-Vulnerabilities

🐛 A plug-in of sublime 2/3 which is able to find PHP vulnerabilities
Python
56
star
15

PwnMe

二进制渗透题目汇总
Python
54
star
16

IdiomsSolitaire

成语接龙
Python
48
star
17

sqli-labs

WriteUp of sqli-labs (GitBook : https://www.gitbook.com/book/wangyihang/sqli-labs/details)
39
star
18

12306

12306网站抢票Python脚本
Python
28
star
19

WebShellCracker

WebShell密码爆破工具
Python
19
star
20

LinuxShellScript

LinuxShell编程笔记
Shell
15
star
21

SQL-Hacker

简单SQL注入工具
Python
14
star
22

XorShellcode

Shellcode异或加密工具
Python
12
star
23

Subdomain-Crawler

A program for collecting subdomains of a list of given second-level domains (SLD)
Go
12
star
24

ShellcodeSpider

Shellcode Spider of Exploit-DB
C
12
star
25

HIT-Courses-Calendar

哈尔滨工业大学教务处课表Excel转换iCal脚本
Python
10
star
26

gojob

Go(od) Job is a simple job scheduler that supports task retries, logging, and task sharding.
Go
10
star
27

Proxy-Verifier

A set of tools designed to efficiently and effectively locate publicly available proxy server resources.
Go
9
star
28

PPT-Generator

Generate PPT via a simple summary
Python
9
star
29

tplayer

一个Linux终端播放器 , 使用字符绘制图片/视频 , 并按照帧率播放
Python
8
star
30

Presentations

8
star
31

t3sec-network-flow-analysis

6
star
32

acw-sc-v2.js

`acw_sc__v2` cookie generator
HTML
5
star
33

Docker-Container-Exposer

Expose docker containers to public network
Shell
5
star
34

pickle-pickle

A arbitary python code executer via python pickle
Python
5
star
35

CrackMe

CrackMe 汇总
Python
5
star
36

Platypus-Python

Python
5
star
37

SimpleEncrypter

简单shellcode加密工具(存在 0 字节)
Python
4
star
38

Markdown-URL-to-Title

Python
4
star
39

DBLP-Spider

A spider tool for downloading the DBLP search results into local BibTeX files.
Python
4
star
40

MovieSearcher

电影资源搜索工具
Python
3
star
41

Image-LSB-Stego

Python
3
star
42

tranco-go-package

Go
2
star
43

acw-sc-v2-py

Python requests.HTTPAdapter for `acw_sc__v2`
Python
2
star
44

dns-grab

Go
2
star
45

PrintableShellcodeCreator

可打印shellcode生成工具
C
2
star
46

DBAPPSecurity-Unified-Security-Management-Python-Connector

Python Connector for DBAPPSecurity Unified Security Management | 明御®运维审计与风险控制系统(堡垒机)
Python
1
star
47

bgphenet

Go
1
star
48

acw-sc-v2-go

Go
1
star
49

ModifyHeadersForChrome

ModifyHeadersForChrome
JavaScript
1
star
50

ProcessInjector

C
1
star
51

JBrowserWithPulgins

Java实现的一个简单的Web浏览器 , 提供了插件功能 , 目前插件有下载地址分析器
Java
1
star