Current http responses are not visible entirely, so it's impossible to debug javascripte code templates.
There should be an option to view them entirely as it works in raw http tempates debug mode.
Describe the use case of the feature
The template creator is testing the template. If there was no match when testing the template on a vulnerable stand, the creator launches nuclei with the debug option, and the system displays http requests and responses in their entirety.
Describe alternatives you've considered
If i start nuclei with options -sresp/-srd all request/response should be stored entirely. How it looks now:
Javascript code templates might be intercepted with option -p (-proxy).
Additional context
Tested on template:
javascript:
- code: |
let m = require('nuclei/net');
let address=Host+':'+Port;
let conn;
conn = m.OpenTLS('tcp', address)
conn.Send('GET / HTTP/1.1\r\nHost:'+Host+'\r\nConnection: close\r\n\r\n');
conn.RecvString();
args:
Host: "{{Host}}"
Port: "443"
Describe your feature request
Current http responses are not visible entirely, so it's impossible to debug javascripte code templates.
There should be an option to view them entirely as it works in raw http tempates debug mode.
Describe the use case of the feature
The template creator is testing the template. If there was no match when testing the template on a vulnerable stand, the creator launches nuclei with the debug option, and the system displays http requests and responses in their entirety.
Describe alternatives you've considered
If i start nuclei with options -sresp/-srd all request/response should be stored entirely. How it looks now:
Javascript code templates might be intercepted with option -p (-proxy).
Additional context
Tested on template:
Nuclei Engine Version: v3.3.1