12 releases (1 stable)
1.0.0 | Jun 20, 2024 |
---|---|
0.1.10 | Jan 9, 2024 |
0.1.9 | Nov 3, 2023 |
0.1.8 | Oct 17, 2023 |
0.1.3 | Mar 28, 2023 |
#79 in Operating systems
33KB
552 lines
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. 💖
Table of contents 📔
Features 🍙
- Fast:
Hxn
is designed to be fast, all credits goes to therustlang
. 🦀 - Portable: You can use
haylxon
on both*nix
&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
Installation 📩
🪄 Binary
- Manual: You can directly download the binary from releases of your arch and run it.
- One liner: Run this one liner script
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
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
🚩 METIS Linux
sudo/doas pacman -Syyy hxn
💢 Arch user repository
paru/yay -S haylxon-git
Hxn in action 🚀
I'm using brave browser for all the demonstration. You can use any chromium based browsers.
-
Take screenshots of single url 🔗
hxn -b $(which brave) -u https://example.com
-
Take screenshots of multiple urls 📂
hxn -b $(which brave) -f urls.txt
-
Show fancy output ⚙️
hxn -b $(which brave) -f urls.txt --verbose
-
Read urls from stdin ⚓
cat urls.txt | hxn -b $(which brave) --stdin
-
Define x/y dimentions 🐀
cat urls.txt | hxn -b $(which brave) -x 144 -y 400 --stdin
-
Define your ports ✳️
hxn -b $(which brave) -f urls.txt --ports 8080,8081
-
Arbitary javascript 🏺
hxn -b $(which brave) -u <url> --javascript "javascript code here".
-
Install dependencies -hxn in termux 🐤
pkg install tur-repo -y ; pkg install chromium -y ln -s "$PREFIX/bin/chromium-browser" "$PREFIX/bin/chromium"
Benchmarking ⚡
The below is a comparison between similar project gowitness
, tested on my pentium processor.
Contribution 🤝
Contributions are welcome! You can suggest features, report bugs, fix issues via issues or pull requests. 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 or ESEWA* (Nepal only), Or by leaving a star ⭐ ; I'll appreciate your action :)
Also see 👀
Kanha
:- A web-app pentesting suite written in rust 🦀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
to verify it met my requirements. - When i have a list of sub(domains) to test.
- 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
License 🔐
Licensed under the MIT LICENSE
Copyright © 2023 - present pwnwriter xyz ☘️
Dependencies
~18–36MB
~528K SLoC