Is there an existing issue for this?
Current Behavior
The dsl function len("{{interactsh-url}}") returns the length of the literal text {{interactsh-url}}. This makes it impossible to compute the length of a payload that includes an interact.sh domain.
Expected Behavior
Make the DSL function len() return the length on the expanded {{interactsh-url}} URL.
Steps To Reproduce
Relevant log output
Environment
- OS: Fedora Linux
- Nuclei: v3.4.7
- Go: go1.24.4
Anything else?
I see two solutions:
- Compute the correct length for the expanded variable, so the entire domein
- Provide a second variable
{{interact-len}} if computing it dynamically is impossible
Maybe this issue belongs in the projectdiscovery/nuclei repository, but I am not sure on that.
Is there an existing issue for this?
Current Behavior
The dsl function
len("{{interactsh-url}}")returns the length of the literal text{{interactsh-url}}. This makes it impossible to compute the length of a payload that includes an interact.sh domain.Expected Behavior
Make the DSL function
len()return the length on the expanded{{interactsh-url}}URL.Steps To Reproduce
Relevant log output
Environment
Anything else?
I see two solutions:
{{interact-len}}if computing it dynamically is impossibleMaybe this issue belongs in the
projectdiscovery/nucleirepository, but I am not sure on that.