httpx icon indicating copy to clipboard operation
httpx copied to clipboard

Just output jpg of screenshot, nothing else

Open Viss opened this issue 2 years ago • 2 comments
trafficstars

Hi!

It would be really helpful to be able to aim httpx at a website, and have it output just a jpg, nothing else, into a directory. Part of my workflow involves screenshots and having to wade through a directory structure to fish out jpegs with long, unique filenames makes it harder to then do post-processing on those images, or group together images with other findings based on apex domain name.

if httpx can already do this, thats awesome, I just haven't figured it out yet.

Viss avatar Jun 26 '23 20:06 Viss

hi @Viss! So you want a jpg screenshot while httpx works. You want that output into a specified directory and you want control over the jpg name, is that correct?

MetzinAround avatar Jun 27 '23 14:06 MetzinAround

yep, exactly!

something like this:

httpx -ss -o hax.lol.jpg -u https://hax.lol

it makes processing images afterward a lot easier!

On June 27, 2023 7:20:30 AM PDT, Pj Metz @.***> wrote:

hi @Viss! So you want a jpg screenshot while httpx works. You want that output into a specified directory and you want control over the jpg name, is that correct?

-- Reply to this email directly or view it on GitHub: https://github.com/projectdiscovery/httpx/issues/1260#issuecomment-1609607496 You are receiving this because you were mentioned.

Message ID: @.***>

Viss avatar Jun 27 '23 17:06 Viss

You can obtain this result with nuclei:

echo https://hax.lol/ | nuclei -id screenshot -headless

Mzack9999 avatar Jun 06 '24 13:06 Mzack9999