Skip to content

Windows -path does not read files #752

Closed

Description

@Erenlancaster

httpx version:

1.2.4

Current Behavior:

-path filename does not work on windows

Expected Behavior:

the application works properly on windows

Steps To Reproduce:

http.exe -l hosts.txt -path path.txt -sc -v

Anything else:

image

Activity

  1. added
    Type: BugInconsistencies or issues which will cause an issue or problem for users or implementors.
    on Aug 30, 2022
  2. added
    Priority: HighAfter critical issues are fixed, these should be dealt with before any further issues.
    on Aug 31, 2022
  3. self-assigned this
    on Sep 19, 2022
  4. added
    Type: QuestionA query or seeking clarification on parts of the spec. Probably doesn't need the attention of all.
    on Sep 19, 2022
  5. Mzack9999 commented on Sep 19, 2022

    @Mzack9999
    Member

    The tools seem to behave as expected:

    PS C:\Users\user\go\src\github.com\projectdiscovery\httpx\cmd\httpx> cat .\hosts.txt
    192.168.1.1
    PS C:\Users\user\go\src\github.com\projectdiscovery\httpx\cmd\httpx> cat .\path.txt
    /test1
    /test2
    PS C:\Users\user\go\src\github.com\projectdiscovery\httpx\cmd\httpx> .\httpx.exe -l hosts.txt -path path.txt -sc -v
    
        __    __  __       _  __
       / /_  / /_/ /_____ | |/ /
      / __ \/ __/ __/ __ \|   /
     / / / / /_/ /_/ /_/ /   |
    /_/ /_/\__/\__/ .___/_/|_|
                 /_/              v1.2.4
    
                    projectdiscovery.io
    
    Use with caution. You are responsible for your actions.
    Developers assume no liability and are not responsible for any misuse or damage.
    https://192.168.1.1/test1 [404]
    https://192.168.1.1/test2 [404]

    Could you ensure that the file path.txt exists in the current folder?

  6. added
    Status: On HoldSimilar to blocked, but is assigned to someone
    and removed
    Status: On HoldSimilar to blocked, but is assigned to someone
    on Sep 21, 2022
  7. Erenlancaster commented on Sep 30, 2022

    @Erenlancaster
    Author

    image

    i still get the same error all files are in the folder

  8. Mzack9999 commented on Oct 3, 2022

    @Mzack9999
    Member

    This behavior is really weird. I tried to download the httpx binary directly and place it in the onedrive folder along with the files hosts and path.txt files:
    image

    If you execute the command in powershell or using .\path.txt do you still get the same result?

  9. ehsandeep commented on Nov 20, 2022

    @ehsandeep
    Member

    Moving to the discussion as we are unable to replicate this and require more information before we can work on this.

  10. locked and limited conversation to collaborators on Nov 20, 2022
  11. converted this issue into a discussion #876 on Nov 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Priority: HighAfter critical issues are fixed, these should be dealt with before any further issues.Type: BugInconsistencies or issues which will cause an issue or problem for users or implementors.Type: QuestionA query or seeking clarification on parts of the spec. Probably doesn't need the attention of all.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions