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

Printing bug fixes #4238

Merged
merged 4 commits into from
Oct 16, 2023
Merged

Printing bug fixes #4238

merged 4 commits into from
Oct 16, 2023

Conversation

tarunKoyalwar
Copy link
Member

@tarunKoyalwar tarunKoyalwar commented Oct 15, 2023

Proposed changes

  • Fix Printing issue - workflows were being considered as unsigned templates ( Note: workflows are not signed )
  • Changed Log behaviour of following values to counter instead of values
    • Headless Flag missing warning
    • Template was excluded warning
  • Add new env variable NUCLEI_LOG_ALL=true when used prints each value of above warning instead of just counters

example

$ ./nuclei -id "tech-detect" -v -u scanme.sh

                     __     _
   ____  __  _______/ /__  (_)
  / __ \/ / / / ___/ / _ \/ /
 / / / / /_/ / /__/ /  __/ /
/_/ /_/\__,_/\___/_/\___/_/   v3.0.0-dev

		projectdiscovery.io

[WRN] Excluded 31 templates based on filters and known templates with weak matchers
[INF] Current nuclei version: v3.0.0-dev (development)
[INF] Current nuclei-templates version: v9.6.5 (latest)
[INF] New templates added in latest release: 75
[INF] Templates loaded for current scan: 1
[INF] Executing 1 signed templates from tarun
[INF] Targets loaded for current scan: 1
[INF] Running httpx on input host
[INF] Found 1 URL from httpx
[VER] [tech-detect] Sent HTTP request to https://scanme.sh
[INF] No results found. Better luck next time!
$ NUCLEI_LOG_ALL=true ./nuclei -id "tech-detect" -v -u scanme.sh

                     __     _
   ____  __  _______/ /__  (_)
  / __ \/ / / / ___/ / _ \/ /
 / / / / /_/ / /__/ /  __/ /
/_/ /_/\__,_/\___/_/\___/_/   v3.0.0-dev

		projectdiscovery.io

[WRN] Could not load template /Users/tarun/nuclei-templates/http/misconfiguration/proxy/open-proxy-internal.yaml: the template was excluded
[WRN] Could not load template /Users/tarun/nuclei-templates/http/technologies/graylog/graylog-api-exposure.yaml: the template was excluded
[WRN] Could not load template /Users/tarun/nuclei-templates/http/cves/2020/CVE-2020-16139.yaml: the template was excluded
[WRN] Could not load template /Users/tarun/nuclei-templates/http/fuzzing/linux-lfi-fuzzing.yaml: the template was excluded
[WRN] Could not load template /Users/tarun/nuclei-templates/http/misconfiguration/proxy/open-proxy-portscan.yaml: the template was excluded
[WRN] Could not load template /Users/tarun/nuclei-templates/http/cves/2023/CVE-2023-24489.yaml: the template was excluded
[WRN] Could not load template /Users/tarun/nuclei-templates/http/exposed-panels/adminer-panel-detect.yaml: the template was excluded
[WRN] Could not load template /Users/tarun/nuclei-templates/http/fuzzing/valid-gmail-check.yaml: the template was excluded
[WRN] Could not load template /Users/tarun/nuclei-templates/http/fuzzing/wordpress-weak-credentials.yaml: the template was excluded
[WRN] Could not load template /Users/tarun/nuclei-templates/http/cves/2019/CVE-2019-15043.yaml: the template was excluded
[WRN] Could not load template /Users/tarun/nuclei-templates/http/fuzzing/prestashop-module-fuzz.yaml: the template was excluded
[WRN] Could not load template /Users/tarun/nuclei-templates/http/fuzzing/iis-shortname.yaml: the template was excluded
[WRN] Could not load template /Users/tarun/nuclei-templates/http/fuzzing/waf-fuzz.yaml: the template was excluded
[WRN] Could not load template /Users/tarun/nuclei-templates/http/default-logins/oracle/peoplesoft-default-login.yaml: the template was excluded
[WRN] Could not load template /Users/tarun/nuclei-templates/http/fuzzing/cache-poisoning-fuzz.yaml: the template was excluded
[WRN] Could not load template /Users/tarun/nuclei-templates/http/miscellaneous/ntlm-directories.yaml: the template was excluded
[WRN] Could not load template /Users/tarun/nuclei-templates/http/fuzzing/header-command-injection.yaml: the template was excluded
[WRN] Could not load template /Users/tarun/nuclei-templates/http/vulnerabilities/wordpress/wp-xmlrpc-brute-force.yaml: the template was excluded
[WRN] Could not load template /Users/tarun/nuclei-templates/http/misconfiguration/gitlab/gitlab-user-enum.yaml: the template was excluded
[WRN] Could not load template /Users/tarun/nuclei-templates/http/vulnerabilities/wordpress/wordpress-wp-cron.yaml: the template was excluded
[WRN] Could not load template /Users/tarun/nuclei-templates/http/fuzzing/xff-403-bypass.yaml: the template was excluded
[WRN] Could not load template /Users/tarun/nuclei-templates/http/vulnerabilities/tongda/tongda-auth-bypass.yaml: the template was excluded
[WRN] Could not load template /Users/tarun/nuclei-templates/http/cves/2019/CVE-2019-17382.yaml: the template was excluded
^C[INF] CTRL+C pressed: Exiting
[WRN] Could not load template /Users/tarun/nuclei-templates/http/fuzzing/wordpress-themes-detect.yaml: the template was excluded
[INF] Creating resume file: /Users/tarun/Library/Caches/nuclei/resume-ckm0dcvnl53ajc03bqgg.cfg

Checklist

  • Pull request is created against the dev branch
  • All checks passed (lint, unit/integration/regression tests etc.) with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

@tarunKoyalwar
Copy link
Member Author

tracking issue with tlsx hostname at projectdiscovery/tlsx#374

@tarunKoyalwar tarunKoyalwar self-assigned this Oct 15, 2023
@ehsandeep ehsandeep merged commit ab0f0ea into v3-beta Oct 16, 2023
8 of 11 checks passed
@ehsandeep ehsandeep deleted the printing-bug-fixes branch October 16, 2023 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants