Skip to content

Nuclei grinds to a halt on HTTP templates with many paths as the internal valuesMap starts to grow beyond expectation #4705

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

You must be logged in to vote

@Nirusu , you guessed it right . manually adding each request in a array is not expected way to write templates , because such style of writing is meant to be used when there is some sort or condition or data sharing between requests . a good way to write this is using payloads for example this would be written as

id: example-fuzz
info:
  name: placeholder
  author: pdteam
  severity: info

http:
  - raw:
      - |
        {{method}} /{{to_lower(method)}}/{{numbers}} HTTP/1.1
        Host: {{Hostname}}
        Origin: {{BaseURL}}
        Connection: close
        User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko)
        Accept: text/html,ap…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Nirusu
Comment options

@Nirusu
Comment options

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
None yet
2 participants
Converted from issue

This discussion was converted from issue #4704 on January 30, 2024 18:29.