Skip to content

Add feature to exclude the same http response  #758

Closed

Description

@0xAwali

while scanning wide scope there are a lot of urls have the same base code so they have the same http response so it's time to let httpx exclude these urls based on comparing every http response with others

Activity

  1. added
    Type: Enhancement
    on Sep 8, 2022
  2. changed the title [-]it's time to add feature to exclude the same http response [/-] [+]Add feature to exclude the same http response [/+] on Sep 29, 2022
  3. ibitebyt3s commented on Oct 13, 2022

    @ibitebyt3s

    The anew tool might be a good fit for this only as a standalone program.

    Wanted to suggest using its code in this project at first but I can't remember 100% if this was true since it happend about 2 years ago but anyway.

    When using httpx with the -tech-detect option there will be times when a technology isn't detected in the same host, thus making anew useless in this case.

    Lets say that in the first run it detected [php, Wordpress] and in the second run it detected only [php]. Using anew to check for duplicates will still keep duplicate hosts if their technologies detected are diffrent. Same could happen with other CLI options like -ip

  4. ehsandeep commented on Dec 8, 2022

    @ehsandeep
    Member

    More ideas - https://twitter.com/har1sec/status/1600445181115109377

    when -path is used, make a request to / to get number of lines and words and use this as a baseline to filter response (quick custom 404 filter)

  5. dogancanbakir commented on Sep 19, 2024

    @dogancanbakir
    Member

    How about something based on vision clusters? This can be deduplication of records in a cluster based on a threshold.

    @Mzack9999 fyi

  6. linked a pull request that will close this issuefilter out near duplicate responses #1951on Oct 16, 2024
  7. added
    Status: Completed
    on Oct 20, 2024
  8. added this to the httpx v1.6.9 milestone on Oct 20, 2024
  9. Xitro01 commented on Nov 26, 2024

    @Xitro01

    Just saw this getting included in httpx. Only thing I'm afraid of, is that it is going to exclude a lot of potential targets.
    How are these duplicates checked? Currently I do word count, but also check if it's the same IP, then the chances are much slimmer that you miss something.

  10. dogancanbakir commented on Nov 27, 2024

    @dogancanbakir
    Member
  11. Xitro01 commented on Nov 27, 2024

    @Xitro01

    @Xitro01 We use simhash to do deduplication, and it's optional. See: https://github.com/projectdiscovery/httpx/pull/1951/files

    Thanks for the response, yes this is probably going to skip a lot of stuff that might be interesting.
    Imo the IP addresses should be compared first, before doing response/page comparison.

  12. dogancanbakir commented on Nov 27, 2024

    @dogancanbakir
    Member

    @Xitro01 Thanks for the suggestion. Would you be willing to create a new issue to share your ideas? It could be a good addition to what we added.

  13. Xitro01 commented on Nov 27, 2024

    @Xitro01

    @Xitro01 Thanks for the suggestion. Would you be willing to create a new issue to share your ideas? It could be a good addition to what we added.

    #2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Status: CompletedType: Enhancement

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions