Sometimes filter-condition doesn't work. #1530
-
Descriptionfilter-condition has a bug, sometimes it doesn't work. Scan target
Both expressions worked
After reverse the expression, contains(webserver,'Apache') no longer works
|
Beta Was this translation helpful? Give feedback.
Answered by
RamanaReddy0M
Jan 9, 2024
Replies: 1 comment
-
@ipsecc It fails due to a dsl evaluation error. ✗ 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 In the first case, The filter worked because it never got a chance to execute |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ipsecc
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@ipsecc It fails due to a dsl evaluation error.
you can enable dsl error logs by exporting
SHOW_DSL_ERRORS
env.Since there's no title for
https://openapi.baidu.com
, The expression becomes invalid and fails to filter only this target.I…