Skip to content

Unable to parse when the returned packet is not in normal http format #960

@No-Github

Description

@No-Github

httpx version:

v1.2.6

Current Behavior:

[DBG] Failed 'http://*.*.*.*:8080': GET http://*.*.*.*:8080 giving up after 1 attempts: Get "http://*.*.*.*:8080": net/http: HTTP/1.x transport connection broken: malformed MIME header: missing colon: "user\""
[DBG] Failed 'http://*.*.*.*:8080': invalid header line: "user\"\r\n"

Snipaste_2023-02-06_01-10-12

Snipaste_2023-02-06_01-08-29

Expected Behavior:

The target is accessible and should have normal result output

Steps To Reproduce:

  1. fofa query: "wf2411" && port="8080"
  2. echo "*.*.*.*:8080" | httpx -debug -unsafe

Anything else:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: AbandonedThis issue is no longer important to the requestor and no one else has shown an interest in it.Type: BugInconsistencies or issues which will cause an issue or problem for users or implementors.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions