Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Aviksaikat/httpRex
'httpRex' is a command-line tool for checking the status code of one or multiple URLs. It can also save the output to a file.
https://github.com/Aviksaikat/httpRex
bugbounty go golang httpx
Last synced: about 1 month ago
JSON representation
'httpRex' is a command-line tool for checking the status code of one or multiple URLs. It can also save the output to a file.
- Host: GitHub
- URL: https://github.com/Aviksaikat/httpRex
- Owner: Aviksaikat
- Created: 2023-03-07T22:00:32.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-31T18:23:45.000Z (6 months ago)
- Last Synced: 2024-08-01T21:46:12.663Z (4 months ago)
- Topics: bugbounty, go, golang, httpx
- Language: Go
- Homepage: https://aviksaikat.github.io/httpRex/
- Size: 1.27 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/funding.yml
Awesome Lists containing this project
- project-awesome - Aviksaikat/httpRex - 'httpRex' is a command-line tool for checking the status code of one or multiple URLs. It can also save the output to a file. (Go)
README
# HTTPπΈοΈRexπ¦
`httpRex` is a command-line tool for checking the status code of one or multiple URLs. It can also save the output to a file.> Saikat Karmakar | 7 Mar : 2023
![](media/banner.gif)
# π Features
- Check the status code of one or multiple URLs
- Print the status code of each URL with coloured output
- Save the output to a file in either text or JSON format
- It's freaking fast# πΎ Requirements
```bash
- Go 1.19.5 or higher
```# π οΈ Installation
- Using `go install`
```bash
go install github.com/aviksaikat/httpRex@latest
```- Build from source
```bash
go build httpRex.go
./httpRex
```# π€ Usage
```bash
httpRex -h
```
This will display help for the tool. Here are all the switches it supports.![](media/help.gif)
```bash
bin/httpRex -hβββ ββββββββββββββββββββββββββββ βββββββ βββββββββββ βββ
βββ βββββββββββββββββββββββββββββββββββββββββββββββββββββ
ββββββββ βββ βββ ββββββββββββββββββββββ ββββββ
ββββββββ βββ βββ βββββββ ββββββββββββββ ββββββ
βββ βββ βββ βββ βββ βββ βββββββββββββββ βββAuthor: avik_saikat
Github: https://github.com/aviksaikat
Gitlab: https://gitlab.com/aviksaikatUsage of bin/httpRex:
--banner Print banner
--f string File containing URLs to check
--file-type string Output file type (text or json) (default "text")
--l strings URLs comma, space separated
--o string Save output to file
--status-code Print status code of each URL
--u string Single URL to check
```# Update 1.1
- **Now you can pass data from `stdin`**- `cat urls.txt | httpRex`
![](media/stdin.gif)
## Passing an url from the command line
- `httpRex --u https://google.com````bash
httpRex --u https://google.comβββ ββββββββββββββββββββββββββββ βββββββ βββββββββββ βββ
βββ βββββββββββββββββββββββββββββββββββββββββββββββββββββ
ββββββββ βββ βββ ββββββββββββββββββββββ ββββββ
ββββββββ βββ βββ βββββββ ββββββββββββββ ββββββ
βββ βββ βββ βββ βββ βββ βββββββββββββββ βββAuthor: avik_saikat
Github: https://github.com/aviksaikat
Gitlab: https://gitlab.com/aviksaikat----------------------------------------------------------------
https://google.com
```## With `--status-code` option
```bash
httpRex --u https://google.com --status-codeβββ ββββββββββββββββββββββββββββ βββββββ βββββββββββ βββ
βββ βββββββββββββββββββββββββββββββββββββββββββββββββββββ
ββββββββ βββ βββ ββββββββββββββββββββββ ββββββ
ββββββββ βββ βββ βββββββ ββββββββββββββ ββββββ
βββ βββ βββ βββ βββ βββ βββββββββββββββ βββAuthor: avik_saikat
Github: https://github.com/aviksaikat
Gitlab: https://gitlab.com/aviksaikat----------------------------------------------------------------
https://google.com [200]
```## Passing a file containing list of URLs(one per line) with status code
- `httpRex --f test --status-code`
![](media/file_use_st.gif)
```bash
βββ ββββββββββββββββββββββββββββ βββββββ βββββββββββ βββ
βββ βββββββββββββββββββββββββββββββββββββββββββββββββββββ
ββββββββ βββ βββ ββββββββββββββββββββββ ββββββ
ββββββββ βββ βββ βββββββ ββββββββββββββ ββββββ
βββ βββ βββ βββ βββ βββ βββββββββββββββ βββAuthor: avik_saikat
Github: https://github.com/aviksaikat
Gitlab: https://gitlab.com/aviksaikat----------------------------------------------------------------
http://ryot.org/as-summer-seafood-season-approaches-four-letters-for-consumers-to-remember/211641 [404]
http://ryot.org/amazon-deforestation-nasa-images-show-the-great-rain-forest-disappearing/ [404]
http://ryot.org/ask [404]
http://ryot.org/bodyteam12/css/font/BEBAS___-webfont.eot [404]
http://ryot.org/ads.txt [404]
http://ryot.org/bodyteam12/css/font/BEBAS___-webfont.svg [404]
http://ryot.org/bacha-bazi-afg [404]
http://ryot.org/argentinas-coast-guard-catches-chinese-trawlers-poaching-squid/108797 [404]
http://ryot.org/body-matching-phoenix-shooting-suspect-arthur-douglas-harmon-found-in-bushes/65554%E2%80%99 [404]
http://ryot.org/afghanistan-bomber-kills-14-including-3-americans/ [404]
http://ryot.org/admin-ajax.php [404]
http://ryot.org/bodyteam12/css/fancybox.css [404]
http://ryot.org/bodyteam12 [404]
http://ryot.org/big-easy-express-nominated-for-grammy/29882 [404]
http://ryot.org/about [404]
http://ryot.org/aleppo-clashes-spark-rise-in-refugees/ [404]
http://ryot.org/5-things-millennials-know-sen-rand-paul/936478%E2%80%99 [404]
http://ryot.org/bacha-bazi-afghanistan-pashtun-child-abuse-christian-stephen/912777%E2%80%99 [404]
http://email.ryot.org/robots.txt [200]
http://email.ryot.org/ [200]
```## Passing a file containing list of URLs(one per line)
- `httpRex --f test`![](media/file_use.gif)
```bash
httpRex --f testβββ ββββββββββββββββββββββββββββ βββββββ βββββββββββ βββ
βββ βββββββββββββββββββββββββββββββββββββββββββββββββββββ
ββββββββ βββ βββ ββββββββββββββββββββββ ββββββ
ββββββββ βββ βββ βββββββ ββββββββββββββ ββββββ
βββ βββ βββ βββ βββ βββ βββββββββββββββ βββAuthor: avik_saikat
Github: https://github.com/aviksaikat
Gitlab: https://gitlab.com/aviksaikat----------------------------------------------------------------
http://email.ryot.org/
http://email.ryot.org/robots.txt
```# βοΈ Python vs Go
## Go
![](media/go_time.png)
## Python
![](media/python_time.png)# π€ Contributing
Contributions, issues and feature requests are welcome. Feel free to check the [issues page](https://github.com/Aviksaikat/httpRex/issues) if you want to contribute.# π Show your support
Give a βοΈ if this project helped you!