A really fast http prober.

Overview

hrekt

A really fast http prober.



InstallUsageExamplesFYIContributingLicenseJoin Discord


Installation

Fresh Installs

$ cargo build -r
$ mv target/release/hrekt /bin/hrekt

Already been installed

$ cargo build -r
$ mv target/release/hrekt /<user>/.cargo/bin/

Make sure to replace <user> with your username.

Can only be compiled locally right now.

Usage

USAGE:
    hrekt [OPTIONS]

OPTIONS:
    -r, --rate <rate>
            Maximum in-flight requests per second [default: 1000]

    -c, --concurrency <concurrency>
            The amount of concurrent requests [default: 100]

    -t, --timeout <timeout>
            The delay between each request [default: 3]

    -w, --workers <workers>
            The amount of workers [default: 1]

    -p, --ports <ports>
            the ports to probe default ports are (80,443) [default: 80,443]

    -i, --title
            display the page titles

    -d, --tech-detect
            display the technology used

    -x, --path <path>
            probe the specified path [default: ]

    -b, --body-regex <body-regex>
            regex to be used to match a specific pattern in the response [default: ]

    -h, --header-regex <header-regex>
            regex to be used to match a specific pattern in the header [default: ]

    -l, --follow-redirects
            follow http redirects

    -q, --silent
            suppress output

        --help
            Print help information

    -V, --version
            Print version information

Examples

Display titles

cat subs.txt | hrekt --title

Probe ports

cat subs.txt | hrekt --ports 443,80,9200 

Display technologies

cat subs.txt | hrekt --tech-detect

Probe the response body

cat subs.txt | hrekt --body-regex 'href="\/content\/dam.*'

Probe the headers

cat subs.txt | hrekt --header-regex 'Server:.*'

Probe the path

cat subs.txt | hrekt --path /v1/api

Multiple Flags

cat subs.txt | hrekt --path /etc.clientlibs --tech-detect --title --body-regex 'href="\/content\/dam.*'

FYI

It's advisable to only use tech detection when needed, as it tends to result in slow discoveries because we use chromium based detection.


If you find any cool bugs, it would be nice if I have some sorta appreciation such as shouting me out on your Twitter, buying me a coffee or donating to my Paypal.

BuyMeACoffee PayPal

I hope you enjoy

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

Hrekt is distributed under MIT License

You might also like...
Fast and simple datetime, date, time and duration parsing for rust.

speedate Fast and simple datetime, date, time and duration parsing for rust. speedate is a lax† RFC 3339 date and time parser, in other words, it pars

A fast, iterative, correct approach to Stackblur, resulting in a very smooth and high-quality output, with no edge bleeding

A fast, iterative, correct approach to Stackblur, resulting in a very smooth and high-quality output, with no edge bleeding. This crate implements a t

Macro for fast implementing serialize methods in serde::Serializer trait

impl_serialize! This library provides a simple procedural macro for fast implementing serialize methods in serde::Serializer trait. [dependencies] imp

Now, the Host is Mine! - Super Fast Sub-domain Takeover Detection!
Now, the Host is Mine! - Super Fast Sub-domain Takeover Detection!

NtH1M - Super Fast Sub-domain Takeover Detection Notice This is a sad notice that our Internet Hero (@TheBinitGhimire) had recent demise on 26th of Ju

Simple and fast proxy checker that include protocol validation;

Open Proxies ⭐️ Leave me a start please ⭐️ it will motivate me to continue maintaining and adding futures About | Technologies | Requirements | Starti

A backend framework for building fast and flexible APIs rapidly.

Andromeda Andromeda is a backend framework for Rust, to simplify the development of the kinds of basic API services that we developers have to build s

A minimal and fast zero-copy parser for the PE32+ file format.

peview A minimal and fast zero-copy parser for the PE32+ file format. Goal This project aims to offer a more light weight and easier to use alternativ

A fast and flexible LRU map.

A fast and flexible LRU map This repository contains a fast and flexible LRU map. Blazingly fast. Up to twice as fast as the lru crate, and with less

Thread-safe clone-on-write container for fast concurrent writing and reading.

sync_cow Thread-safe clone-on-write container for fast concurrent writing and reading. SyncCow is a container for concurrent writing and reading of da

Owner
zoidsec
I'm an ethical hacker researcher and love to help people learn about computer security.
zoidsec
An API for getting questions from http://either.io implemented fully in Rust, using reqwest and some regex magic. Provides asynchronous and blocking clients respectively.

eithers_rust An API for getting questions from http://either.io implemented fully in Rust, using reqwest and some regex magic. Provides asynchronous a

null 2 Oct 24, 2021
A highly performant HTTP bittorrent tracker (WIP)

kiryuu Rewrite of kouko in Rust, for better performance! Kiryuu powers http://tracker.mywaifu.best:6969/announce Thanks Many thanks to horsie and anon

Raghu Saxena 6 Dec 15, 2022
A tiny service that downloads files over HTTP links, with resume and restart support.

Http Drogue Http Drogue is a tiny service that downloads files over HTTP from links you provide. It can restart and resume interrupted downloads. Http

Kaan Barmore-Genç 4 Feb 27, 2023
💩 Small HTTP client for the Webpurify API following the sans-io approach 🦀

?? tame-webpurify Super simple client for the WebPurify REST API What is this? An incredibly small library to interact with the https://www.webpurify.

Embark 8 May 1, 2023
Elton is a benchmark utility written in rust aimed to be used to benchmark HTTP calls.

Elton Elton is an HTTP Benchmark utility with options to be used within an HTTP interface. Installation Elton is currently available via Docker or by

Emil Priver 5 Sep 22, 2023
A fast uuid generator in Python using Rust

ruuid A fast UUID generator for Python built using Rust. Its a simple wrapper on top of Rust's UUID crate. How to use? Installation: pip3 install ruui

Rahul Nair 19 Jul 13, 2022
Automatically deploy from GitHub to Replit, lightning fast ⚡️

repl.deploy Automatically deploy from GitHub to Replit, lightning fast ⚡️ repl.deploy is split into A GitHub app, which listens for code changes and s

Khushraj Rathod 78 Dec 22, 2022
fast rust implementation of online nonnegative matrix factorization as laid out in the paper "detect and track latent factors with online nonnegative matrix factorization"

ONMF status: early work in progress. still figuring this out. code still somewhat messy. api still in flux. fast rust implementation of online nonnega

null 2 Apr 10, 2020
a super fast scientific calculator with dimensional analysis support written in Rust 🦀

larvae a super fast scientific calculator with dimensional analysis support written in Rust ?? ?? heavily inspired from insect Usage: Command mode: $

John McAvoy 2 Jan 10, 2022
A fast lean and clean modern constraint programming solver implementation (in rust)

MaxiCP-rs This project aims at implementing a fast, and clean constraint programming solver with a focus on correctness, simplicity, maintainability a

Xavier Gillard 5 Dec 10, 2022