Skip to content

Comparisons with match length #1076

Closed
Closed

Description

@BrownBearSec

Please describe your feature request:

the ability for the -ml flag to be able to do comparisons as well as single numbers, eg -ml >100 as well as -ml 100

Describe the use case of this feature:

This is generally just a good feature, but in my case, it would be good for detecting larger files like backups etc.

Activity

  1. ehsandeep commented on Apr 8, 2023

    @ehsandeep
    Member

    @iamNynan as shared in discord, this is already supported using DSL based mater / filter, for example -

    echo example.com | httpx -mdc 'content_length > 10 && content_length < 10000' -cl
    
        __    __  __       _  __
       / /_  / /_/ /_____ | |/ /
      / __ \/ __/ __/ __ \|   /
     / / / / /_/ /_/ /_/ /   |
    /_/ /_/\__/\__/ .___/_/|_|
                 /_/
    
            projectdiscovery.io
    
    [INF] Current httpx version v1.2.9 (latest)
    https://example.com [1256]
    
  2. locked and limited conversation to collaborators on Apr 8, 2023
  3. converted this issue into a discussion #1077 on Apr 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: EnhancementMost issues will probably ask for additions or changes.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions