Skip to content

Conversation

@tarunKoyalwar
Copy link
Member

@tarunKoyalwar tarunKoyalwar commented Jan 22, 2024

  • bump utils
  • add pdcp directory to -version
  • PDCP_API_SERVER env was not marked as optional hence when setting api key from env . it was warning user that api key was not found
$ export PDCP_API_KEY=30d50a66-safsdf-asfds-asdfa
$ nuclei -cloud-upload

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

		projectdiscovery.io

[INF] Current nuclei version: v3.1.6 (latest)
[INF] Current nuclei-templates version: v9.7.4 (latest)
[WRN] To view results on Cloud Dashboard, Configure API key from https://cloud.projectdiscovery.io
[INF] New templates added in latest release: 6
[INF] Templates loaded for current scan: 7432
[INF] Executing 7454 signed templates from projectdiscovery/nuclei-templates

this is now fixed by making PDCP_API_SERVER env as optional

$ export PDCP_API_KEY=30d50a66-safsdf-asfds-asdfa
$ ./nuclei -cloud-upload

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

		projectdiscovery.io

[INF] Current nuclei version: v3.1.7-dev (development)
[INF] Current nuclei-templates version: v9.7.4 (latest)
[INF] To view results on cloud dashboard, visit https://cloud.projectdiscovery.io/scans upon scan completion.
[INF] New templates added in latest release: 6
[INF] Templates loaded for current scan: 7432
[INF] Executing 7454 signed templates from projectdiscovery/nuclei-templates
  • for more readability / ease we now print pdcp config directory with -version flag
$ ./nuclei -version
[INF] Nuclei Engine Version: v3.1.7-dev
[INF] Nuclei Config Directory: /Users/tarun/Library/Application Support/nuclei
[INF] Nuclei Cache Directory: /Users/tarun/Library/Caches/nuclei
[INF] PDCP Directory: /Users/tarun/.pdcp

@tarunKoyalwar tarunKoyalwar self-assigned this Jan 22, 2024
@tarunKoyalwar tarunKoyalwar marked this pull request as ready for review January 22, 2024 18:24
@tarunKoyalwar tarunKoyalwar changed the title pdcp env fix pdcp env fix: make PDCP_API_SERVER env optional Jan 22, 2024
@tarunKoyalwar
Copy link
Member Author

depends on projectdiscovery/utils#311

@ehsandeep ehsandeep merged commit 62f73fd into dev Jan 22, 2024
@ehsandeep ehsandeep deleted the pdcp-env-fix branch January 22, 2024 21:31
@ehsandeep ehsandeep modified the milestone: nuclei v3.1.7 Jan 22, 2024
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.

3 participants