Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix screenshot path issue #1340

Merged
merged 1 commit into from
Sep 7, 2023
Merged

fix screenshot path issue #1340

merged 1 commit into from
Sep 7, 2023

Conversation

dogancanbakir
Copy link
Member

@dogancanbakir dogancanbakir commented Aug 31, 2023

Closes #1328.

before:

$ go run . -u projectdiscovery.io -screenshot

    __    __  __       _  __
   / /_  / /_/ /_____ | |/ /
  / __ \/ __/ __/ __ \|   /
 / / / / /_/ /_/ /_/ /   |
/_/ /_/\__/\__/ .___/_/|_|
             /_/

                projectdiscovery.io

[INF] Current httpx version v1.3.4 (latest)
https://scanme.sh

screenshot:
image

after:

$ go run . -u projectdiscovery.io -screenshot

    __    __  __       _  __
   / /_  / /_/ /_____ | |/ /
  / __ \/ __/ __/ __ \|   /
 / / / / /_/ /_/ /_/ /   |
/_/ /_/\__/\__/ .___/_/|_|
             /_/

                projectdiscovery.io

[INF] Current httpx version v1.3.4 (latest)
https://scanme.sh

screenshot:
image

P.S. To simulate the WSL case, I ran httpx on Guest-OS (Debian, Docker) and opened the screenshot.html in the Host-OS(Darwin).

@dogancanbakir dogancanbakir linked an issue Aug 31, 2023 that may be closed by this pull request
Copy link
Contributor

@RamanaReddy0M RamanaReddy0M left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

HTTPX sets wrong path on WSL in screenshot function
3 participants