You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently special variables like BaseURL, Path, ... aren't accessible from flow/javascript/code protocol.
Example:
id: test
info:
name: test
author: test
severity: info
flow: |
log("{{BaseURL}}");
log(template["BaseURL"]);
http:
- method: GET
path:
- "{{BaseURL}}"
Output:
[JS] {{BaseURL}}
[JS] <nil>
Describe the use case of the feature
I've wanted to implement a CVE that needs two segments of the path to be modified.
One payload must be added before target path element.
Second payload must be inbetween the target path element.
For example: /home/admin -> /home/PAYLOAD1/adPAYLOAD2min
I've wanted to implement it via Path and regex but Path/BaseURL aren't accessible.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe your feature request
Currently special variables like
BaseURL, Path, ...
aren't accessible from flow/javascript/code protocol.Example:
Output:
Describe the use case of the feature
I've wanted to implement a CVE that needs two segments of the path to be modified.
One payload must be added before target path element.
Second payload must be inbetween the target path element.
For example:
/home/admin
->/home/PAYLOAD1/adPAYLOAD2min
I've wanted to implement it via Path and regex but Path/BaseURL aren't accessible.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: