Access to payload helper file denied #5719
-
I am having trouble accessing the poc.yaml:id: poc
info:
name: poc payloads error
author: tim
severity: high
description: proof of concept for payloads error
requests:
- method: GET
path:
- "{{BaseURL}}/api/users?page={{pagenumber}}"
payloads:
pagenumber: /payloads/payloads.txt payloads.txt:
When the folder structure is like this, everything works fine:
However, when I move
When I try to validate the template with the following command: nuclei -t templates/poc.yaml -validate I get the following error:
All files mentioned have rwx permission My Nuclei version is 3.3.4 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@TimMaasGeesteranus for security reasons, access to local file outside of template directory is disabled as default, but you can optionally enable it with
|
Beta Was this translation helpful? Give feedback.
@TimMaasGeesteranus for security reasons, access to local file outside of template directory is disabled as default, but you can optionally enable it with
-allow-local-file-access
option.