Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Could not parsing wordpress-wp-mail-logging template #10908

Closed
1 task done
EmptyZeroRain opened this issue Oct 1, 2024 · 6 comments
Closed
1 task done

[BUG] Could not parsing wordpress-wp-mail-logging template #10908

EmptyZeroRain opened this issue Oct 1, 2024 · 6 comments
Assignees
Labels
Done Ready to merge Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.

Comments

@EmptyZeroRain
Copy link

Is there an existing issue for this?

  • I have searched the existing issues.

Current Behavior

When I run nucleus. It prompts to update the nucleus templates. When I run nucleus again after the update is complete, it prompts [WRN] Found 2 templates with runtime error (use - validate flag for further examination)

Expected Behavior

When I use nucleus validate, an error message appears [ERR] Error occurred parsing template nuclei-templates/http/technologies/wordpress/plugins/wp-mail-logging.yaml: could not compile request: could not parse payloads: the helpers/wordpress/plugins/wp-mail-logging.txt file for payload last_version does not exist or does not contain enough elements
[FTL] Could not validate templates: errors occurred during template validation

Steps To Reproduce

nuclei -validate

Relevant log output

[WRN] Could not parse workflow template nuclei-templates/http/technologies/wordpress/plugins/wp-mail-logging.yaml: could not compile request: could not parse payloads: the helpers/wordpress/plugins/wp-mail-logging.txt file for payload last_version does not exist or does not contain enough elements
[WRN] Could not parse workflow template nuclei-templates/http/technologies/wordpress/plugins/extendify.yaml: could not compile request: could not parse payloads: the helpers/wordpress/plugins/extendify.txt file for payload last_version does not exist or does not contain enough elements
[ERR] Error occurred parsing template nuclei-templates/http/technologies/wordpress/plugins/wp-mail-logging.yaml: could not compile request: could not parse payloads: the helpers/wordpress/plugins/wp-mail-logging.txt file for payload last_version does not exist or does not contain enough elements
[FTL] Could not validate templates: errors occurred during template validation

Environment

- OS: mac os 12 
- Nuclei:  v3.3.4 
- Go: go version go1.23.1 darwin/amd64

Anything else?

No response

@EmptyZeroRain EmptyZeroRain added the Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors. label Oct 1, 2024
@EmptyZeroRain
Copy link
Author

The nucleus templates that prompt an error are WP mail logging. YAML

@EmptyZeroRain
Copy link
Author

could not compile request: could not parse payloads: the helpers/wordpress/plugins/wp-mail-logging.txt file for payload last_version does not exist or does not contain enough elements

@EmptyZeroRain
Copy link
Author

could not compile request: could not parse payloads: the helpers/wordpress/plugins/wp-mail-logging.txt file for payload last_version does not exist or does not contain enough elements
[FTL] Could not validate templates: errors occurred during template validation

@EmptyZeroRain
Copy link
Author

nuclei-templates version: v10.0.1 (latest)

@dwisiswant0
Copy link
Member

I think we can touch wp-mail-logging.txt as a temp workaround, @projectdiscovery/template?

Transferring this.

@dwisiswant0 dwisiswant0 transferred this issue from projectdiscovery/nuclei Oct 4, 2024
@dwisiswant0 dwisiswant0 changed the title [BUG] There is a bug in the nuclear templates [BUG] Could not parsing wordpress-wp-mail-logging template Oct 4, 2024
@DhiyaneshGeek DhiyaneshGeek added the Done Ready to merge label Oct 5, 2024
@DhiyaneshGeek
Copy link
Member

Hi @EmptyZeroRain

we have fixed the issue #10905

Let me know still you are facing the issue

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Done Ready to merge Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.
Projects
None yet
Development

No branches or pull requests

3 participants