pwnwriter / haylxon

⚑ Blazing-fast tool to grab screenshots of your domain list right from terminal.
https://crates.io/crates/hxn
MIT License
384 stars 16 forks source link
bug-hunting-tools hactoberfest osint pwnwriter rust rustlang screenshot-utility

Haylxon πŸ”₯πŸ¦€

SHOOT BEFORE THE BLINK || Haylxon,  A tool embodying the K1SS philosophy that allows you to take screenshots of webpages/URLs at lightning-fast speeds using chromes Headless feature, means, you'd be needing a chromium based browser for it to work.

Built from the ground up for ease of use, performance, beautiful ui and portability in mind. πŸ’–

GitHub Release Crate Release MIT LICENSE Twitter Share [![ko-fi](https://img.shields.io/badge/support-pwnwriter%20-pink?logo=kofi&logoColor=white)](https://ko-fi.com/pwnwriter) ![-----------------------------------------------------](https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/aqua.png) ## Table of contents πŸ“” * [`Features`](#features) * [`Installation`](#installation) * [`Hxn in Action`](#action) * [`Benchmarking`](#benchmarking) * [`Contribution`](#contribution) * [`Support`](#support) * [`Also see`](#see) * [`License`](#license) * [`FAQ`](#faq) ![-----------------------------------------------------](https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/aqua.png) ## Features πŸ™ - **Fast**: [`Hxn`](https://github.com/pwnwriter/haylxon) is designed to be fast, all credits goes to the [`rustlang`](https://rust-lang.org). πŸ¦€ - **Portable**: You can use [`haylxon`](https://github.com/pwnwriter/haylxon/) on both [`*nix`](https://en.wikipedia.org/wiki/Linux) & [`windows`](https://en.wikipedia.org/wiki/Microsoft_Windows). - **Ease**: This tool is designed to be very user friendly as there are very few options but does all the required works that one expects.πŸ‘¨β€πŸŽ¨ - **Simple**: As always [`Keeping It Simple and Stupid`](https://en.wikipedia.org/wiki/KISS_principle) ## Installation πŸ“©

πŸͺ„ Binary   - **Manual**: You can directly download the binary from [**releases**](https://github.com/pwnwriter/haylxon/releases) of your arch and run it. - **One liner**: Run this one liner script ```bash wget -qO- "$(curl -qfsSL "https://api.github.com/repos/pwnwriter/haylxon/releases/latest" | jq -r '.assets[].browser_download_url' | grep -Ei "$(uname -m).*$(uname -s).*musl" | grep -v "\.sha")" | tar -xzf - --strip-components=1 && ./hxn -h ```
🌼 Source   ```bash git clone --depth=1 https://github.com/pwnwriter/haylxon --branch=main cd haylxon cargo build --release ``` Then go to `release` dir and `./hxn` or move the `binary` to your any `$PATH` for instant access from anywhere.
🎠 Cargo - Using [crates.io](https://crates.io/crates/hxn) ```bash cargo install hxn ``` - Using [binstall](https://github.com/cargo-bins/cargo-binstall) ```bash cargo binstall hxn ``` > **Note** ⚠️ > This requires a working setup of rust/cargo & binstall.
🚩 METIS Linux   ```bash sudo/doas pacman -Syyy hxn ```
πŸ’’ Arch user repository   ```bash paru/yay -S haylxon-git ```
![-----------------------------------------------------](https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/aqua.png) ## Hxn in action πŸš€ ***I'm using brave browser for all the demonstration. You can use any chromium based browsers.***   -
Take screenshots of single url πŸ”—   ```bash hxn -b $(which brave) -u https://example.com ``` ![screenshot_2023-11-03_12-28-18](https://github.com/pwnwriter/haylxon/assets/90331517/e9fd87e3-a99a-4fd9-a100-dbe2d3947a58)
-
Take screenshots of multiple urls πŸ“‚   ```bash hxn -b $(which brave) -f urls.txt ``` ![screenshot_2023-11-03_12-36-09](https://github.com/pwnwriter/haylxon/assets/90331517/cb94f0ee-5546-4854-9678-62c15665611f)
-
Show fancy output βš™οΈ   ```bash hxn -b $(which brave) -f urls.txt --verbose ``` ![screenshot_2023-11-03_12-29-16](https://github.com/pwnwriter/haylxon/assets/90331517/38120572-72c5-4412-b583-02a14f88869e)
-
Read urls from stdin βš“   ```bash cat urls.txt | hxn -b $(which brave) --stdin ``` ![stdin](https://github.com/pwnwriter/haylxon/assets/90331517/db5b8542-af54-420a-8478-7bef4ef6fe0c)
-
Define x/y dimentions πŸ€   ```bash cat urls.txt | hxn -b $(which brave) -x 144 -y 400 --stdin ``` ![dimention](https://github.com/pwnwriter/haylxon/assets/90331517/c436100e-d647-40b2-9987-f52f81e09490)
-
Define your ports ✳️   ```bash hxn -b $(which brave) -f urls.txt --ports 8080,8081 ``` ![screenshot_2024-01-09_20-36-27](https://github.com/pwnwriter/haylxon/assets/90331517/2c0579ae-ca88-472a-a448-29d8accfcab6)
-
Arbitary javascript 🏺   ```bash hxn -b $(which brave) -u --javascript "javascript code here". ``` Screenshot 2024-06-20 at 13 52 00
-
hxn in termux 🐀   Install dependencies -   ```bash pkg install tur-repo -y ; pkg install chromium -y ln -s "$PREFIX/bin/chromium-browser" "$PREFIX/bin/chromium" ``` ![screenshot_2023-11-16_12-11-55](https://github.com/pwnwriter/haylxon/assets/90331517/c38bbd53-aaef-4883-baf5-adf51a768e62)
## Benchmarking ⚑ The below is a comparison between similar project [`gowitness`](https://github.com/sensepost/gowitness), tested on my [**pentium processor**](https://raw.githubusercontent.com/pwnwriter/haylxon/showcase/conf.png). ![](https://raw.githubusercontent.com/pwnwriter/haylxon/showcase/benchmark.png) ![-----------------------------------------------------](https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/aqua.png) ## Contribution 🀝 Contributions are welcome! You can suggest features, report bugs, fix issues via [issues](https://github.com/pwnwriter/haylxon/issues) or [pull requests](https://github.com/pwnwriter/haylxon/pulls). Help with code documentation and spreading the word about `HAYLXON(hxn)` is appreciated! 😎 ## Support πŸ’Œ I am a student currently attending university. I like working for *Open Source* in my free time. If you find my tool or work beneficial, please consider supporting me via [*KO-FI*](https://ko-fi.com/pwnwriter) or [*ESEWA*](https://metislinux.org/docs/donate)* (***Nepal only***), Or by leaving a star ⭐ ; I'll appreciate your action :) ## Also see πŸ‘€ - [`Kanha`](https://github.com/pwnwriter/kanha) :- A web-app pentesting suite written in rust πŸ¦€ - [`gowitness`](https://github.com/sensepost/gowitness) :- A golang, web screenshot utility using Chrome Headless ## FAQ πŸ₯Ά - How do you use `hxn`? - I use hxn to automate tasks. For example, I needed to test a website on GitHub Actions before deploying. Using hxn, I took screenshots and uploaded it to [`0x0.st`](https://0x0.st) to verify it met my requirements. - When i have a list of __sub(domains)__ to test. ## License πŸ” Licensed under the [**`MIT LICENSE`**](/LICENSE)

Copyright © 2023 - present pwnwriter xyz ☘️