[![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 📩
- **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
```
🪄 Binary
```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.
🌼 Source
- Using [crates.io](https://crates.io/crates/haylxon)
```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.
🎠 Cargo
```bash
sudo/doas pacman -Syyy hxn
```
🚩 METIS Linux
```bash
paru/yay -S haylxon-git
```
💢 Arch user repository
```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 single url 🔗
```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)
Take screenshots of multiple urls 📂
```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)
Show fancy output ⚙️
```bash
cat urls.txt | hxn -b $(which brave) --stdin
```
![stdin](https://github.com/pwnwriter/haylxon/assets/90331517/db5b8542-af54-420a-8478-7bef4ef6fe0c)
Read urls from stdin ⚓
```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 x/y dimentions 🐀
```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)
Define your ports ✳️
```bash
hxn -b $(which brave) -u Arbitary javascript 🏺
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)
hxn in termux 🐤
Copyright © 2023 - present pwnwriter xyz ☘️