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

Template Path containing a Wildcard is not working anymore #5420

Open
c1phy opened this issue Jul 19, 2024 · 1 comment · May be fixed by #5515
Open

Template Path containing a Wildcard is not working anymore #5420

c1phy opened this issue Jul 19, 2024 · 1 comment · May be fixed by #5515
Labels
Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.

Comments

@c1phy
Copy link

c1phy commented Jul 19, 2024

Nuclei version:

3.3.0

Current Behavior:

When running the command cat targets.txt | nuclei -t "/home/user/nuclei-templates/own/wp_*, Nuclei reports that there are no templates because it cannot process the wildcard * anymore. This command worked in previous versions.

Expected Behavior:

The command should correctly process the wildcard * and run all the templates in the specified directory as it did in previous versions.

Steps To Reproduce:

  1. Create a file targets.txt with URLs to be tested.
  2. Run the command cat targets.txt | nuclei -t "/home/user/nuclei-templates/own/wp_*.
    -> alternative sth like echo "domain" | nuclei -t "/home/usr/nuclei-templates/http/takeovers/s*"
  3. See error [FTL] Could not run nuclei: no templates provided for scan

Anything else:

                     __     _
   ____  __  _______/ /__  (_)
  / __ \/ / / / ___/ / _ \/ /
 / / / / /_/ / /__/ /  __/ /
/_/ /_/\__,_/\___/_/\___/_/   v3.3.0

		projectdiscovery.io

[ERR] Could not find template '/home/user/nuclei-templates/own/wp_*': no templates found for path
[INF] Current nuclei version: v3.3.0 (latest)
[INF] Current nuclei-templates version: v9.9.1 (latest)
[WRN] Scan results upload to cloud is disabled.
[INF] No results found. Better luck next time!
[FTL] Could not run nuclei: no templates provided for scan
 / / / / /_/ / /__/ /  __/ /
/_/ /_/\__,_/\___/_/\___/_/   v3.2.9

		projectdiscovery.io

[INF] Current nuclei version: v3.2.9 (outdated)
[INF] Current nuclei-templates version: v9.9.1 (latest)
[WRN] Scan results upload to cloud is disabled.
[INF] New templates added in latest release: 75
[INF] Templates loaded for current scan: 33
[WRN] Loading 33 unsigned templates for scan. Use with caution.
[INF] Targets loaded for current scan: 12
[INF] Using Interactsh Server: oast.me
[INF] No results found. Better luck next time!
@c1phy c1phy added the Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors. label Jul 19, 2024
@zrquan zrquan linked a pull request Aug 12, 2024 that will close this issue
4 tasks
@c1phy
Copy link
Author

c1phy commented Nov 14, 2024

Hey, just following up on this. This issue is still present in the current version (v3.3.5).

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

Successfully merging a pull request may close this issue.

1 participant