pwnwriter / haylxon

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

Add proxy flag #21

Closed SharokhAtaie closed 1 year ago

SharokhAtaie commented 1 year ago

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

pwnwriter commented 1 year ago

Hey @SharokhAtaie,

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

pwnwriter commented 1 year 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 1 year 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 1 year ago

Seems promising :D

MrFixThis commented 1 year 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 1 year ago

Less gooo

ssddOnTop commented 1 year ago

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

pwnwriter commented 1 year 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 1 year ago

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

ssddOnTop commented 1 year 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