Skip to content

Adding support for user defined variables via CLI - #915

Merged
ehsandeep merged 5 commits into
devfrom
feature-cli-variables
Aug 9, 2021
Merged

ehsandeep merged 5 commits into
devfrom
feature-cli-variables

Conversation

@Mzack9999

Copy link
Copy Markdown
Member

No description provided.

@Mzack9999 Mzack9999 added the Type: Enhancement Most issues will probably ask for additions or changes. label Aug 8, 2021
@Mzack9999 Mzack9999 self-assigned this Aug 8, 2021
@ehsandeep
ehsandeep merged commit 004472a into dev Aug 9, 2021
@ehsandeep
ehsandeep deleted the feature-cli-variables branch August 9, 2021 20:45
@ehsandeep

Copy link
Copy Markdown
Member

Example template:-

requests:
  - method: GET
    path:
      - "{{BaseURL}}"
    headers:
      token: '{{TOKEN}}'
./nuclei -u https://example.com -t env.yaml -vars TOKEN=XXXX

Example request:-

GET / HTTP/1.1
Host: example.com
token: XXXX

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: Enhancement Most issues will probably ask for additions or changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants