Commit Graph

148 Commits (1b6e078cf22fe26e0ebe28546622e01bdd5aa337)

Author SHA1 Message Date
Sandeep Singh 2b7b7649a8
build workflow update (#2911) 2022-11-29 04:20:20 +05:30
Mzack9999 2586d9b4a7 removing subset 2022-11-24 22:12:44 +01:00
Mzack9999 440bfe030a Merge branch 'dev' into issue-2832-race-condition-test 2022-11-24 22:10:42 +01:00
xm1k3 6d76fcd4e7 fix oh wrong path 2022-11-23 14:40:00 +01:00
Sandeep Singh ff9596f618
workflow updates (#2883)
* workflow updates

* added go mod download in build test
2022-11-23 17:13:52 +05:30
xm1k3 632c68a996 added multiple targets on gh action 2022-11-23 10:37:30 +01:00
xm1k3 ef6b7d9dc9 added tags to race condition 2022-11-23 10:11:46 +01:00
dependabot[bot] 2117fe2e1f
chore(deps): bump golangci/golangci-lint-action from 3.3.0 to 3.3.1 (#2844)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3.3.0 to 3.3.1.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3.3.0...v3.3.1)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-22 22:14:57 +05:30
Shubham Rasal 721c4964d7
Issue 2613 custom template GitHub (#2630)
* Add custom template download/update support from github

- Accept the -gtr flag to accept the list of custom template
  repos(public/private)
- Accept the -gt flag for github token. It internally sets os.Env
  variable
- Update the flags from
   - -update to -nuclei-update for nuclei self update
   - -ut to -tup for template-update
   - -ud to -tud for custom template location
- Add github.go file which has code related to download and update
  custom templates repos.

* Reslove golint and test case error

* Take default template from community directory

- No need to give explicit community directory path.
- Update the integration test to support the change in path

* Update functional test script update template flag

* Update the path from community to nuclei-template

- Revert the code changes that were made to add community directory

* remove the comment

* Update the interactsh server url for testing

* Update race condition command

* update race condition cmd to download the templates

* Debug integration test failure

* update integration test to update templates

* Refactor downloadCustomTemplate function.

- Remove the log prining instead send the message.

* Add test case for custom template repo download

* move the download repo for loop into diff function

* refactor updateTemplate function.

* Create struct for github repos.

- Create customtemplate struct for repo.
- Add functions to customtemplate

* update readme.md file

* Refactor the downloadCustomTemplate function

- create const variables for github & community as template type
- Update gologger to INF
- Validate templateUpdate to accept only github & community value.
- Validate tempalteUpdate require githubTemplateRepo

* Resolve requested changes

* go mod update

* misc option update

* test update

* Revert back update-template flag to boolean.

- to update community templates
  `nuclei -ut`
- to update custom templates
  `nuclei -ut -gtr ehsandeep/mobile-nuclei-templates`

* Update readme to update flag documentation

* Update go.mod

Co-authored-by: Sandeep Singh <sandeep@projectdiscovery.io>
Co-authored-by: sandeep <8293321+ehsandeep@users.noreply.github.com>
2022-11-03 20:27:18 +05:30
dependabot[bot] 855f7ad8a4
chore(deps): bump golangci/golangci-lint-action from 3.2.0 to 3.3.0
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3.2.0...v3.3.0)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-24 05:05:09 +00:00
Ice3man e193e7c87e
Added tlsx integration to nuclei (#2522)
* Added tlsx integration to nuclei

* tls tests fix

* Added helper functions + upgrade tlsx to fix

* go mod update

* workflow fix to race test on windows

Co-authored-by: sandeep <8293321+ehsandeep@users.noreply.github.com>
2022-09-01 23:56:55 +05:30
sandeep de00155bb6 Added release announce automation 2022-08-13 01:30:08 -07:00
Sandeep Singh 1bf885e97b
Increases race condition coverage (#2293) 2022-07-19 01:10:10 +05:30
dependabot[bot] 0ce7f361ce
chore(deps): bump goreleaser/goreleaser-action from 2 to 3 (#2033)
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) from 2 to 3.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases)
- [Commits](https://github.com/goreleaser/goreleaser-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-25 11:27:30 +05:30
dependabot[bot] d67e75d3cd
chore(deps): bump golangci/golangci-lint-action from 3.1.0 to 3.2.0 (#2000)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3.1.0...v3.2.0)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-16 12:35:49 +05:30
dependabot[bot] 2eb845262b
chore(deps): bump docker/setup-qemu-action from 1 to 2 (#1961)
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 1 to 2.
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](https://github.com/docker/setup-qemu-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mzack <marco.rivoli.nvh@gmail.com>
2022-05-10 17:49:26 +05:30
dependabot[bot] 1683851b46
chore(deps): bump docker/build-push-action from 2 to 3 (#1959)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2 to 3.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mzack <marco.rivoli.nvh@gmail.com>
2022-05-10 17:49:08 +05:30
dependabot[bot] 59fc6963e0
chore(deps): bump docker/setup-buildx-action from 1 to 2 (#1960)
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 1 to 2.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mzack <marco.rivoli.nvh@gmail.com>
2022-05-10 17:48:44 +05:30
dependabot[bot] f8e462e3ab
chore(deps): bump docker/login-action from 1 to 2
Bumps [docker/login-action](https://github.com/docker/login-action) from 1 to 2.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-09 05:05:50 +00:00
dependabot[bot] 10a4bdb5eb
chore(deps): bump github/codeql-action from 1 to 2
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1 to 2.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-02 05:05:59 +00:00
forgedhallpass c6eaff10f9 chore: updated the GitHub actions to use go 1.18 2022-04-18 15:43:37 +03:00
dependabot[bot] 34e8125844
chore(deps): bump actions/setup-go from 2 to 3 (#1827)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 2 to 3.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-11 14:03:19 +05:30
dependabot[bot] 1d3d264e12
chore(deps): bump actions/cache from 2 to 3
Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-28 05:05:02 +00:00
LuitelSamikshya bfb19fc74e added github token 2022-03-21 15:42:19 -05:00
dependabot[bot] b531b47668
chore(deps): bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-07 05:04:20 +00:00
sandeep 9a8c71840b workflow update 2022-03-03 23:11:22 +05:30
Mzack9999 f56e16ce11
Merge pull request #1651 from projectdiscovery/dependabot/github_actions/dev/golangci/golangci-lint-action-3.1.0
chore(deps): bump golangci/golangci-lint-action from 2 to 3.1.0
2022-03-02 17:29:41 +01:00
mzack 630bf44c8b adding gh token 2022-03-02 17:02:51 +01:00
dependabot[bot] 1c7d59e2b9
chore(deps): bump golangci/golangci-lint-action from 2 to 3.1.0
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 2 to 3.1.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v2...v3.1.0)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-28 05:04:23 +00:00
sandeep c0932168ac Added nuclei changelog indexer for api 2022-02-27 16:42:20 +05:30
Sandeep Singh ab1da1aa8e
Added Sonar workflow (#1591)
* Added SonarCloud workflow

* added extension exclusion
2022-02-09 20:29:31 +05:30
sandeep 1956dab53b release workflow update 2022-01-13 18:47:52 +05:30
mzack f5817a1d9e Merge branch 'dev' into pr/1383 2021-12-27 08:16:06 +01:00
Dwi Siswanto 3414f7a31e update(dependabot): Make gomod eco works 2021-12-26 16:52:41 +07:00
Sandeep Singh 8fbe451d54
Merge branch 'dev' into feature-ldap 2021-12-25 12:49:44 +05:30
sandeep e02322a396 workflow update 2021-12-25 12:47:48 +05:30
Mzack9999 860a40717c
Removing outdated macos-11.0 from gh action (#1390) 2021-12-18 18:29:13 +05:30
LuitelSamikshya d152986485
Change filepath to path (#1382)
* filepath to path

* change to revert

* reverted change

* update: disabling cached nuclei temporarily

Co-authored-by: sandeep <sandeep@projectdiscovery.io>
2021-12-16 16:36:20 +05:30
LuitelSamikshya 3f86bc7d62
Support major os (#1347)
* workflow check

* changes in run.sh file for windows support
2021-12-16 13:47:29 +05:30
forgedhallpass 974cbfb35e
feat: Re-run failed integration tests in debug mode (#1367)
* If the tests are executed through GitHub actions and there are failed integration tests, they will be re-executed with verbose output to help figuring out the underlying issues.
* Added some grouping to make reading the logs easier

Ticket: #1365
2021-12-14 18:13:53 +02:00
Mzack9999 8334829e54
Removing linux/arm - Missing chrome package (#1355) 2021-12-10 21:45:18 +05:30
Mzack9999 4c565679b5
Adding race condition test (#1357) 2021-12-10 21:42:46 +05:30
Mzack9999 3c88afac0c
Fixing payloads path during validation (#1320)
* Fixing payloads path during validation

* Added GH Action for public template parsing / validation

* tracking payload errors as syntax warnings

* improving path parsing + introducing hard failure for runtime errors on validation

Co-authored-by: sandeep <sandeep@projectdiscovery.io>
2021-12-05 19:41:14 +05:30
forgedhallpass 7e22d70ded refactor/documentation: typos and grammatical errors 2021-11-25 18:54:16 +02:00
sandeep 53e2c1fd7c Merge branch 'master' of https://github.com/projectdiscovery/nuclei into dev 2021-10-20 03:06:12 +05:30
sandeep bdcdd37ad8 misc template update 2021-10-20 03:05:53 +05:30
sandeep ba6e9a064d Merge branch 'master' of https://github.com/projectdiscovery/nuclei into dev 2021-10-19 22:00:13 +05:30
sandeep 488c6901b5 More changes as per GitHub suggestion - https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-issue-forms#markdown-issue-template 2021-10-19 20:11:33 +05:30
sandeep f498f165c2 misc changes 2021-10-19 19:45:10 +05:30
sandeep 28f068f505 misc update 2021-10-19 19:23:05 +05:30
sandeep 1a7b6aa139 Github Issue template updates + PR template addition 2021-10-19 17:23:52 +05:30
sandeep d022804d61 release workflow fix 2021-10-19 02:31:25 +05:30
sandeep 30fb8aacaa docker workflow improvements 2021-09-26 17:32:19 +05:30
sandeep 1a3e071fc2 Update dockerhub-push.yml 2021-09-25 05:07:58 +05:30
sandeep b34d9507e3 Added version tagging to docker release 2021-09-25 04:38:57 +05:30
sandeep eae6df9360 misc update 2021-09-10 19:48:21 +05:30
Ice3man 79421aa088
Update publish-docs.yaml 2021-09-06 15:04:09 +05:30
sandeep d7f8ad8a62 final changes 2021-09-01 15:53:30 +05:30
sandeep 16d7dbeb66 Misc changes 2021-09-01 15:40:53 +05:30
sandeep 37bf6b8d7e updated docs workflow 2021-09-01 15:07:53 +05:30
Ice3man b65c5f589e
Update publish-docs.yaml 2021-08-25 13:14:28 +05:30
Ice3man543 6a673053c2 Added jsonschema generation for yaml syntax 2021-08-23 23:50:45 +05:30
sandeep f3fced5bad Update build-test.yml 2021-08-21 23:37:04 +05:30
Ice3man543 ba4d5a8d21 Removed temporary fix 2021-08-20 16:19:33 +05:30
Ice3man543 12446c8bca Merge branch 'master' of https://github.com/projectdiscovery/nuclei into yamldoc 2021-08-20 16:11:24 +05:30
Ice3man543 e92c9bc7bc Fixed an issue with doc publish 2021-08-20 16:06:18 +05:30
Ice3man543 3f5db14a75 Push changes if doc changed 2021-08-20 16:04:05 +05:30
Ice3man543 07d0b1997c Misc 2021-08-20 15:59:32 +05:30
Ice3man 7377dd6c54
Create publish-docs.yaml 2021-08-20 15:57:28 +05:30
Ice3man543 919d726762 Added docs generate github action 2021-08-20 15:24:33 +05:30
sandeep 637713cb68 few updates 2021-08-02 12:02:40 +05:30
sandeep ebd165dd22 Adding test workflow 2021-08-02 11:45:15 +05:30
sandeep 4e857cb951 Separating build and lint tests 2021-06-16 16:07:19 +05:30
sandeep 1e3c5ba90d Added branch to trigger workflow 2021-06-16 15:55:52 +05:30
sandeep ff4a855bc8 Workflow improvements 2021-06-15 21:31:56 +05:30
sandeep ed4e935951 Updated Dependabot for dev branch 2021-06-15 21:16:51 +05:30
sandeep 1d74ef74ca Added missing tag 2021-06-13 23:54:53 +05:30
Ice3man543 be776fb5dd Merge branch 'master' of https://github.com/projectdiscovery/nuclei into dev 2021-06-03 10:21:46 +05:30
sandeep 791b025309 Update dockerhub-push.yml 2021-06-02 14:16:58 +05:30
sandeep cb5688ba51 Testing docker multi platform images 2021-06-02 14:07:49 +05:30
Mzack9999 68dd65fd38 Deprecating golint 2021-05-26 00:07:59 +02:00
dependabot[bot] 954aec0907
chore(deps): bump golangci/golangci-lint-action from v2 to v2.5.2
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from v2 to v2.5.2.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v2...5c56cd6c9dc07901af25baab6f2b0d9f3b7c3018)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-05 07:45:55 +00:00
Ice3man543 9e730f4cde Fixed goreleaser + docker release 2021-03-10 21:13:22 +05:30
Ice3man543 44f21428d2 Misc change 2021-02-27 12:38:24 +05:30
Ice3man543 252e0ff771 New integration test + misc 2021-02-27 12:31:17 +05:30
Mzack9999 78d32b8900
Adding dep bot (#543) 2021-02-22 20:40:58 +05:30
Víctor Zamanillo 4fa66bd46c bump golangci-lint to 1.33 2020-12-13 22:07:00 +01:00
Julien Bouquillon 56f2101e66
chore: push docker tags too 2020-12-02 14:04:41 +01:00
Mzack9999 9549a0c8c4 merging-to-master 2020-10-16 22:07:00 +02:00
Víctor Zamanillo 4658d52310 Fix CI
We need to set the working directory to allow golangci-lint to resolve go modules.
2020-09-25 13:55:48 +02:00
Mzack9999 5431345f73 fixed building path 2020-09-23 23:02:05 +02:00
Víctor Zamanillo 60005290b1 Initial adoption of golangci-lint for CI 2020-08-25 23:33:20 +02:00
bauthard dd435d4561 Update issue templates 2020-07-27 23:45:20 +05:30
bauthard af02346632 Update issue templates 2020-07-27 23:39:08 +05:30
Mzack9999 8b4709e3a2 using ld releaser 2020-07-13 19:34:08 +02:00
Mzack9999 678f543f17 fixed new path 2020-07-06 20:15:07 +02:00
Mzack9999 f1146fd1bb adding docker 2020-06-04 11:24:01 +02:00
Mzack9999 ee52b38fc9 automating 2020-06-01 21:34:57 +02:00