-
-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathREADME.md
198 lines (129 loc) · 7.67 KB
/
README.md
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
<img src="https://raw.githubusercontent.com/pwnwriter/haylxon/showcase/hxn-transparent.png" width="240" align="right">
# [`Haylxon`](https://github.com/pwnwriter/haylxon) 🔥🦀
`SHOOT BEFORE THE BLINK` || [`Haylxon`](https://github.com/pwnwriter/haylxon/), A tool embodying the [`K1SS`](https://en.wikipedia.org/wiki/KISS_principle) philosophy that allows you to take screenshots of `webpages/URLs` at lightning-fast speeds using `chromes` [`Headless`](https://en.wikipedia.org/wiki/Headless) feature, means, you'd be needing a [***`chromium based browser`***](https://en.wikipedia.org/wiki/Chromium_(web_browser)) for it to work.
Built from the ground up for ease of use, performance, beautiful ui and portability in mind. 💖
<p align="left">
<a href="https://github.com/pwnwriter/haylxon/releases"><img src="https://img.shields.io/github/v/release/pwnwriter/haylxon?style=flat&labelColor=56534b&color=c1c1b6&logo=GitHub&logoColor=white" alt="GitHub Release"></a>
<a href="https://crates.io/crates/hxn/"><img src="https://img.shields.io/crates/v/hxn?style=flat&labelColor=56534b&color=c1c1b6&logo=Rust&logoColor=white" alt="Crate Release"></a>
<a href="https://github.com/pwnwriter/haylxon/blob/main/LICENSE"><img src="https://img.shields.io/badge/License-MIT-white.svg" alt="MIT LICENSE"></a>
<a href="https://twitter.com/intent/tweet?text=Guys,%20Check%20out%20haylxon%20-%20A%20blazingly%20fast%20tool%20to%20grab%20screenshots%20of%20website%2FURL%20from%20terminal%20written%20in%20Rust!%20&url=https%3A%2F%2Fgithub.heygears.com%2Fpwnwriter%2Fhaylxon"><img alt="Twitter Share" src="https://img.shields.io/twitter/url/https/github.com/pwnwriter/haylxon.svg?style=social"></a>
[![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)
* [`License`](#license)
* [`Also see`](#see)
![-----------------------------------------------------](https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/aqua.png)
<a name="features"></a>
## 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) 💋
<a name="installation"></a>
## Installation 📩
<details> <summary><code>🪄 Binary </code></summary>
- You can directly download the [**binary**](https://github.com/pwnwriter/haylxon/releases) of your arch and run it.
</details>
<details> <summary><code>🌼 Source </code></summary>
```bash
git clone --depth=1 https://github.com/pwnwriter/haylxon --branch=main
cd haylxon
cargo build --release
```
Then go to `release` dir and `./haylxon` or move the `binary` to your any `$PATH` for instant access from anywhere.
</details>
<details> <summary><code>🎠 Cargo </code></summary>
- Using [crates.io](https://crates.io/crates/haylxon)
```bash
cargo install haylxon
```
- Using [binstall](https://github.com/cargo-bins/cargo-binstall)
```bash
cargo binstall haylxon
```
> **Note** ⚠️
> This requires a working setup of rust/cargo & binstall.
</details>
<details> <summary><code>🚩 METIS Linux </code></summary>
```bash
sudo/doas pacman -Syyy haylxon
```
</details>
![-----------------------------------------------------](https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/aqua.png)
<a name="action"></a>
## Hxn in action 🚀
- <details> <summary><code> Taking screenshots of one/many urls.🖇️ </code></summary>
- single url
***I'm using brave browser for all the demonstration. You can use any chromium based browsers.***
```bash
hxn -b $(which brave) -u https://example.com
```
![single](https://github.com/pwnwriter/haylxon/assets/90331517/6b6460f8-72dd-4197-b43f-f283a2c49727)
- a file containing multiple urls
```bash
hxn -b $(which brave) -u urls.txt
```
![many](https://github.com/pwnwriter/haylxon/assets/90331517/86f987d9-0961-4247-841e-18aee6aaf53f)
</details>
- <details> <summary><code> Silent option for automation ⚙️ </code></summary>
```bash
hxn -b $(which brave) -u https://example.com --silent
```
![silent](https://github.com/pwnwriter/haylxon/assets/90331517/80e9f15f-9087-4b9f-a1d6-3e631e795b9d)
</details>
- <details> <summary><code> Read urls from stdin ⚓ </code></summary>
```bash
cat urls.txt | hxn -b $(which brave) --stdin
```
![stdin](https://github.com/pwnwriter/haylxon/assets/90331517/db5b8542-af54-420a-8478-7bef4ef6fe0c)
</details>
- <details> <summary><code> Define x/y dimentions 🐀 </code></summary>
```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)
</details>
- <details> <summary><code> Help pls 🐤 </code></summary>
If your internet is slow, you may need to increase the timeout value for 'hxn' to work properly
```bash
cat urls.txt | hxn -b $(which brave) --timeout 60
```
![timeout_error](https://github.com/pwnwriter/haylxon/assets/90331517/96f69d9a-cfca-4af9-9987-4f336099f3f8)
</details>
<a name="benchmarking"></a>
## 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)
<a name="contribution"></a>
## Contribution 🤝
There is always scope for improvements and bugs to be fixed as contributors can make a valuable impact by addressing improvements and bugs through [**issue**](https://github.com/pwnwriter/haylxon/issues) submissions or [**pull requests**](https://github.com/pwnwriter/haylxon/pulls).
- Still, here are the ways to contribute,
- Suggest a feature
- Report a bug
- Fix something and open a pull request
- Help me document the code and more speed pleaseeeeeee.
- Spread the word [**`HAYLXON(hxn)`**](https://github.com/pwnwriter/haylxon) 😎
<a name="license"></a>
## License 🔐
As always, this project is also Licensed under the [**`MIT LICENSE`**](/LICENSE)
<a name="see"></a>
## 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
<p align="center"><img src="https://raw.githubusercontent.com/catppuccin/catppuccin/main/assets/footers/gray0_ctp_on_line.svg?sanitize=true" /></p>
<p align="center">Copyright © 2023<a href="https://pwnwriter.xyz" target="_blank"> pwnwriter xyz </a> ☘️</p>