pwnwriter / haylxon

⚡ Blazing-fast tool to grab screenshots of your domain list right from terminal.
https://crates.io/crates/hxn
MIT License
386 stars 16 forks source link

Add proxy flag #21

Closed SharokhAtaie closed 11 months ago

SharokhAtaie commented 11 months ago

Please add a proxy flag so that we can proxy requests to a SOCKS or something similar.

pwnwriter commented 11 months ago

Hey @SharokhAtaie,

I need to research on that. Give me some time :100:

pwnwriter commented 11 months ago

I've tried my best to implement proxy feature. I'm not getting my hands off...

Do you have any comment @MrFixThis , probably some idea to implement proxy?

SharokhAtaie commented 11 months ago

You can read this tool and find some information about proxy. https://github.com/Sh1Yo/x8

in this tool use -x flag for proxy mode.

pwnwriter commented 11 months ago

Seems promising :D

MrFixThis commented 11 months ago

Greetings guys. @pwnwriter let me do a little research first, please. Once I'll get the concept, I'll write some code.

pwnwriter commented 11 months ago

Less gooo

ssddOnTop commented 11 months ago

hey @pwnwriter Are you planning to write own proxy server?

pwnwriter commented 11 months ago

Hello @ssddOnTop , I'm not sure, swamped with uni work, might not be able to. If someone from the community can resolve the issue, I'm good to merge the PR. 🦄

pwnwriter commented 11 months ago

I'm closing this issue since i haven't get any solution on this. Sorry wooopsie :(

ssddOnTop commented 11 months ago

@pwnwriter I have a solution, I tried a few things but looks like there's a problem with chromiumoxide dependency

however we can open chrome with command line args. You are already taking the path of chromium, you can simply remove the chromiumoxide dependency and use commandline args like: chromium-browser --headless --screenshot="screenshot.png" --window-size=1920,1080 "http://example.com"

you get more flexibility and can use arguments like--disable-gpu to make it more compatible