Skip to content

Nuclei Removing Hash Symbol (#) When Sending Requests #4571

Answered by tarunKoyalwar
UNC1739 asked this question in Q&A
Discussion options

You must be logged in to vote

@adamcrosser , after testing and discussion it's not possible to add this behaviour to http protocol as this directly conflicts with how http parsers work but you can still send such requests with newly introduced javascript protocol and their are no any kind of restrictions on it as request is written manually line by line (like burp) . here's example template and run to do that

example template

id: net-https

info:
  name: net-https
  author: pdteam
  severity: info
  description: send and receive https data using net module


javascript:
  - code: |
      let m = require('nuclei/net');
      let name=Host+':'+Port;
      let conn = m.OpenTLS('tcp', name);
      // send http request lin…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by tarunKoyalwar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
documentation Improvements or additions to documentation Example-Template Useful Example Templates
2 participants
Converted from issue

This discussion was converted from issue #4066 on January 04, 2024 15:14.