Skip to content

Sometimes filter-condition doesn't work. #1530

Answered by RamanaReddy0M
ipsecc asked this question in Q&A
Discussion options

You must be logged in to vote

@ipsecc It fails due to a dsl evaluation error.
you can enable dsl error logs by exporting SHOW_DSL_ERRORS env.

✗ export SHOW_DSL_ERRORS=true
✗ ./httpx -l targets.txt -fdc "contains(title,'Welcome to nginx')||contains(webserver,'Apache')"

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

                projectdiscovery.io

[INF] Current httpx version v1.3.7 (latest)
[ERR] Could not evaluate DSL expression: No parameter 'title' found.
https://openapi.baidu.com

Since there's no title for https://openapi.baidu.com, The expression becomes invalid and fails to filter only this target.

I…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ipsecc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
Type: Question A query or seeking clarification on parts of the spec. Probably doesn't need the attention of all.
2 participants
Converted from issue

This discussion was converted from issue #1519 on January 10, 2024 08:41.