107 Commits

Author SHA1 Message Date
sandeep
20bc5fc607 version update 2023-05-21 02:21:07 +05:30
Keith Chason
42a59189f3
Fix mis-spellings and other comment cleanup (#3704) 2023-05-19 21:06:39 +05:30
sandeep
ced8d96df2 dev version update 2023-05-09 15:13:40 +05:30
sandeep
79a1c99da7 version update 2023-05-04 01:47:41 +05:30
sandeep
fe234cf32d version update 2023-04-20 04:44:54 +05:30
sandeep
871e7016fc version update 2023-04-20 03:39:33 +05:30
Keith Chason
dcb003211c
Gitlab Custom Templates (#3570)
* Configuration options for GitLab template pulls

* GitLab client creation

* GitLab hooks and property renames

* Fix filesystem writing and update environment variables

* Fix type error in formatted error message

* Migrate directory config to new nucleiconfig file

* refactor + add custom templates to tm

* typo fix + only show installed ct with -tv

* add default gitlab url if not given

* fix template valid failure

---------

Co-authored-by: Tarun Koyalwar <tarun@projectdiscovery.io>
2023-04-20 03:12:52 +05:30
Tarun Koyalwar
bf08913cd0
update logic + config management refactor (#3567)
* adds template manager

* refactor: checkpoint

* centrailized config & template download logic

* refactor removed unused code

* use global template directory

* update related bug fixes

* bug fix create cfg dir if missing

* fix lint error

* bug fix skip writing template dir in callback

* misc update

* remove unused code

* use strings.equalfold for comparison

---------

Co-authored-by: sandeep <8293321+ehsandeep@users.noreply.github.com>
2023-04-19 21:58:48 +05:30
Keith Chason
786ee982ed
Azure Blob Storage Custom Template Provider (#3542)
* Initial library creation for downloading blobs from Azure

* Environment variable hooks for Azure config values

* Missing configuration checks for Azure blob connection

* Package dependencies for Azure client library

* Make output directory if it doesn't exist, add log for downloaded templates

* Add example formats for Azure properties

* Add path to the output after download

* Only download .yaml files instead of also .yml .json
2023-04-17 13:48:06 +05:30
sandeep
38f448d352 Update config.go 2023-04-02 15:26:32 +05:30
Sandeep Singh
e6bd5db6fb
tlsx go mod update (#3490) 2023-04-02 13:40:45 +05:30
Tarun Koyalwar
f8c5a45966
add mkdir support in headless screenshot (#3457)
* add mkdir support in headless screenshot

* use filepath to join paths

* print info when screenshot is saved

* change version to v2.9.1-dev

* minor fixings on windows path

---------

Co-authored-by: Mzack9999 <mzack9999@protonmail.com>
2023-03-24 00:44:32 +05:30
Mzack9999
c182434130
json templates support (load with flags, run & validate ) (#3424)
* extending template identification logic

* removing test code

* local debug

* json template loading support using flags

* blacklist meta json files

* minor changes

---------

Co-authored-by: Tarun Koyalwar <tarun@projectdiscovery.io>
2023-03-16 13:33:59 +05:30
sandeep
0f80575c44 Update version number and add paths to pull request. 2023-03-06 01:03:30 +05:30
Sandeep Singh
687a481a85
Nuclei v2.8.9 release preparation (#3281)
* nuclei v2.8.9 release

* dep update

* fix go mod error

---------

Co-authored-by: Tarun Koyalwar <tarun@projectdiscovery.io>
2023-02-10 19:25:31 +05:30
Sandeep Singh
2a24025397
go mod + version update (#3238) 2023-01-24 22:58:34 +05:30
sandeep
08e89cc541 release workflow update 2023-01-15 23:06:22 +05:30
sandeep
1c046c387b version update 2023-01-05 22:07:02 +05:30
Sandeep Singh
2d7948af55
Fixing host skipping error (#3143)
* removed error resulting into excessive error count

* banner update
2023-01-04 00:43:18 +05:30
sandeep
b6ec247701 version update 2023-01-02 13:59:51 +05:30
sandeep
7c2cad7845 dev version update 2022-12-11 18:36:21 +05:30
sandeep
f167ad774b bug fix release 2022-12-11 18:13:35 +05:30
sandeep
b3312526b7 dev version update 2022-12-11 17:56:07 +05:30
sandeep
f4c2212a88 version update 2022-12-08 22:03:34 +05:30
sandeep
268970363a go mod mismatch / sum fix 2022-12-06 02:35:25 +05:30
Sandeep Singh
6ae9eee8d3
README + misc updates (#2961)
* readme update

* version + banner update

* misc option update

* go fmt'ed code

* misc update
2022-12-04 20:51:33 +05:30
Shubham Rasal
d5a09e733a
Issue 2772 s3 provider support (#2825)
* Add s3 bucket template provider

- Refactor the custom github template code
- add interface for template provider

* Validate if aws creds are passed if bucket flag

- refactor s3 provider struct to take client
- add function which returns the aws s3 client
- update error messages

* Add aws s3 bucket flags documentation in README.md

- Rename the github_test.go to customTemplate_test.go

* go mod update

* Move template provider code to pkg/external/customtemplates dir

* Remove github and aws update variables from flag

* Rename CustomTemplateProvider to Provider

* Update integration and function command in makefile

* Update github test case, accept token

* readme update

* go mod tidy

* Update build-test.yml

* handle empty dir in s3

* Add requested changes

- download/update s3 and github only when `-ut` is passed
- only print the missing env variable for s3
- add the custom templates path in
  ~/.config/nuclei/.template-config.json

* print custom paths only if exists in config file

* misc update

* tag update

Co-authored-by: sandeep <8293321+ehsandeep@users.noreply.github.com>
Co-authored-by: Sandeep Singh <sandeep@projectdiscovery.io>
2022-12-02 03:57:00 +05:30
Parth Malhotra
3014b40ac6
Fixes #2885 (#2886)
* docker go version update

* docker fix

* version update

* update chinese readme and typo fixes. (#2862)

* Fixes #2885

Fixes #2885

Co-authored-by: Sandeep Singh <sandeep@projectdiscovery.io>
Co-authored-by: sandeep <8293321+ehsandeep@users.noreply.github.com>
Co-authored-by: Xc1Ym <xuedongyuming2233@gmail.com>
2022-11-23 18:21:22 +05:30
vrenzolaverace
2aaf2a2158
Use utils helpers libraries (#2809) (#2810)
* Use utils helpers libraries (#2809)

* Use utils helpers libraries (#2809)
2022-11-07 01:54:23 +05:30
sandeep
299755b1a3 go mod + version update 2022-10-07 23:17:08 +05:30
sandeep
567a8c60a2 dev version update 2022-09-02 12:52:07 +05:30
sandeep
efdc57c7b2 version update 2022-08-26 14:18:32 +05:30
Sami
0aac36a44b
added custom config flag (#2399)
* added custom config flag

* config.yaml file in custom  directory

* lint error fix

* few updates and error checks

* fix lint error

* copy config.yaml file if the dest folder does not exist

* lint error check

* added integration test

* improved test cases

* lint error fix
2022-08-25 16:10:07 +05:30
sandeep
3193bf8f94 version update 2022-08-13 01:26:43 -07:00
sandeep
125588046e version update 2022-07-28 17:05:29 +05:30
sandeep
ee9f8b7651 version update 2022-07-24 15:00:36 +05:30
sandeep
4ae458df98 readme update 2022-07-18 13:11:28 +05:30
Sajad
be73fde0db
use go-homedir instead of standard os.userhomedir (#2262)
* use go-homedir instead of standard os.userhomedir

* set r.templatesConfig before write attempt to avoid panic
2022-07-13 13:33:13 +05:30
sandeep
7f28c048a6 version update 2022-06-22 00:45:08 +05:30
sandeep
900addc43f version update 2022-06-03 03:02:11 +05:30
sandeep
91c35df911 version + readme update 2022-05-17 16:36:33 +05:30
sandeep
474d66c09d go mod + version update 2022-05-08 15:29:33 +05:30
sandeep
82c0cd0e52 version update 2022-04-23 01:12:07 +05:30
sandeep
cfbe7f6d27 version update 2022-04-15 23:33:47 +05:30
sandeep
9d27344543 version update 2022-04-13 16:59:41 +05:30
sandeep
c8753b7ee9 readme update 2022-04-11 15:18:23 +05:30
sandeep
8abba9e82f version update 2022-03-21 23:48:16 +05:30
sandeep
5bb06dff13 dev version update 2022-03-21 19:06:34 +05:30
sandeep
6194202779 version update 2022-03-21 13:22:27 +05:30
Sajad
a4841fbdad
use nuclei as config directory 2022-03-10 16:20:29 +05:30