nuclei/pkg/tmplexec
Mzack9999 a8d1393e96 init- using resizable components 2024-04-03 17:50:57 +02:00
..
flow init- using resizable components 2024-04-03 17:50:57 +02:00
generic fix concurrent map writes in tmplexec package (#4718) 2024-02-02 21:36:48 +05:30
multiproto removing err 2024-03-15 13:36:57 +01:00
README.md nuclei v3 : misc updates (#4247) 2023-10-17 17:44:13 +05:30
doc.go nuclei v3 : misc updates (#4247) 2023-10-17 17:44:13 +05:30
exec.go fix multiple panics & missing matcher-status in flow templates (#4978) 2024-04-03 17:19:06 +05:30
interface.go introduce scan context (#4373) 2023-11-28 00:24:45 +05:30

README.md

tmplexec

tmplexec also known as template executer executes template it is different from protocols package which only contains logic within the scope of one protocol. tmplexec is resposible for executing Template with defined logic. with introduction of multi protocol and flow templates (deprecated package protocols/common/executer) did not seem appropriate/helpful anymore as it is outside of protocol scope and deals with execution of template which can contain 1 requests , or multiple requests of same protocol or multiple requests of different protocols. tmplexec is responsible for executing template and handling all logic related to it.

Engine/Backends

Currently there are 3 engines for template execution

  • Generic => executes request[s] of same/one protocol
  • MultiProtocol => executes requests of multiple protocols with shared logic between protocol requests see multiprotocol
  • Flow => executes requests of one or multiple protocol requests as specified by template in javascript (aka flow) flow