Commit Graph

4543 Commits (7cd340b29aad8a578094af15194b61b2dec5c87b)

Author SHA1 Message Date
GitHub Action ad015823c1 Auto Generate Syntax Docs + JSONSchema [Mon Sep 4 09:17:02 UTC 2023] 🤖 2023-09-04 09:17:02 +00:00
Sandeep Singh 584406416f
Added impact field under template information block (#4121) 2023-09-04 14:44:43 +05:30
Mzack9999 28be967643
Feat conn (#3991)
* .

* introducing connection reuse with scan strategy

* bumping up to 500

probably should be set to a lower number to push connection reuse

* Removed debug panic

* merge conflict fix

* dep update

* removing useless comparison

* lint errs

* fmt

---------

Co-authored-by: Ice3man <nizamulrana@gmail.com>
Co-authored-by: sandeep <8293321+ehsandeep@users.noreply.github.com>
2023-09-04 13:54:34 +05:30
Ramana Reddy 5bd4e68771
fix data-race warnings (#4036)
* fix data-race warnings

* update utils pkg

* utils update

* update utils

* bumping utils

---------

Co-authored-by: mzack <marco.rivoli.nvh@gmail.com>
Co-authored-by: Sandeep Singh <sandeep@projectdiscovery.io>
2023-09-04 12:59:24 +05:30
dependabot[bot] a12ef5c11c
Merge pull request #4116 from projectdiscovery/dependabot/go_modules/v2/dev/github.com/projectdiscovery/dsl-0.0.20 2023-09-04 06:20:28 +00:00
dependabot[bot] d9a6b0bf9a
Merge pull request #4119 from projectdiscovery/dependabot/go_modules/v2/dev/github.com/projectdiscovery/retryablehttp-go-1.0.25 2023-09-04 06:16:04 +00:00
dependabot[bot] 9487c44e9a
chore(deps): bump github.com/projectdiscovery/retryablehttp-go in /v2
Bumps [github.com/projectdiscovery/retryablehttp-go](https://github.com/projectdiscovery/retryablehttp-go) from 1.0.24 to 1.0.25.
- [Release notes](https://github.com/projectdiscovery/retryablehttp-go/releases)
- [Commits](https://github.com/projectdiscovery/retryablehttp-go/compare/v1.0.24...v1.0.25)

---
updated-dependencies:
- dependency-name: github.com/projectdiscovery/retryablehttp-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-04 05:57:10 +00:00
dependabot[bot] f9cec82bad
chore(deps): bump github.com/projectdiscovery/dsl in /v2
Bumps [github.com/projectdiscovery/dsl](https://github.com/projectdiscovery/dsl) from 0.0.19 to 0.0.20.
- [Release notes](https://github.com/projectdiscovery/dsl/releases)
- [Commits](https://github.com/projectdiscovery/dsl/compare/v0.0.19...v0.0.20)

---
updated-dependencies:
- dependency-name: github.com/projectdiscovery/dsl
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-04 05:57:03 +00:00
dependabot[bot] 13ea084cd4
Merge pull request #4117 from projectdiscovery/dependabot/go_modules/v2/dev/github.com/projectdiscovery/interactsh-1.1.6 2023-09-04 05:56:04 +00:00
dependabot[bot] c30992ae8a
Merge pull request #4118 from projectdiscovery/dependabot/go_modules/v2/dev/github.com/projectdiscovery/goflags-0.1.19 2023-09-04 05:54:39 +00:00
dependabot[bot] 1e797232b1
chore(deps): bump github.com/projectdiscovery/goflags in /v2
Bumps [github.com/projectdiscovery/goflags](https://github.com/projectdiscovery/goflags) from 0.1.18 to 0.1.19.
- [Release notes](https://github.com/projectdiscovery/goflags/releases)
- [Commits](https://github.com/projectdiscovery/goflags/compare/v0.1.18...v0.1.19)

---
updated-dependencies:
- dependency-name: github.com/projectdiscovery/goflags
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-04 05:34:54 +00:00
dependabot[bot] be537f351f
chore(deps): bump github.com/projectdiscovery/interactsh in /v2
Bumps [github.com/projectdiscovery/interactsh](https://github.com/projectdiscovery/interactsh) from 1.1.4 to 1.1.6.
- [Release notes](https://github.com/projectdiscovery/interactsh/releases)
- [Changelog](https://github.com/projectdiscovery/interactsh/blob/main/.goreleaser.yml)
- [Commits](https://github.com/projectdiscovery/interactsh/compare/v1.1.4...v1.1.6)

---
updated-dependencies:
- dependency-name: github.com/projectdiscovery/interactsh
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-04 05:34:50 +00:00
Tarun Koyalwar 9364bec8d9
add utm_source in uc (#4112) 2023-09-03 12:04:03 +05:30
Tarun Koyalwar 2d317884b5
SDK: abstracted and minimal nuclei v3 sdk (#4104)
* new sdk progress

* nuclei v3 new sdk/library

* fix TestActionGetResource broken link

* fix clistats + clustering and more

* fix lint error

* fix missing ticker

* update advanced library usage example

* fix integration tests

* misc update

* add utm_source and fix lint error

---------

Co-authored-by: sandeep <8293321+ehsandeep@users.noreply.github.com>
2023-09-02 14:34:05 +05:30
Dogan Can Bakir 680fc5574b
update template url (#4110) 2023-09-01 23:40:55 +05:30
Tarun Koyalwar f7fe99f806
add `flow` support in template (i.e javascript scripting) (#4015)
* add flow logic

* progress

* working POC

* fix string slice normalization issue in variables

* update

* fix nil panic

* remove poll()

* load file with sandbox and more

* fix failing integration tests

* JS: log: print in vardump format

* fix missing id in protocols

* fix proto prefix in template context

* flow: add unit tests

* conditional flow support using flow

* fix proto callbacks + more unit tests

* adds integration test

* conditional flow: check if req has any matchers

* fix lint error

* deprecate iterate-all+ missing multi-proto implementation

* fix ip input in raw request

* JS: feat dedupe object+ more builtin funcs

* feat: hide protocol result using hide

* feat: async execution

* complete async execution support

* fix condition-flow without any matchers

* refactor: template executer package (tmplexec)

* flow executor working

* fix data race in templateCtx

* templateCtx redesign

* fix failing unit test

* add multiprotocol support to deprecated syntax

* fix race condition in utils & tlsx

* add documentation in flow package

* remove regions.txt file

* fix minor issue with self contained templates

* fix typos of copilot

* dep + misc update

* fix reqID: use req.Type instead of template.Type

---------

Co-authored-by: sandeep <8293321+ehsandeep@users.noreply.github.com>
2023-08-31 18:03:01 +05:30
Mzack9999 388c1e8c39
Merge pull request #4099 from projectdiscovery/update-mock-outputwrite-write-failure
Update mock-outputwriter to write the failed event
2023-08-29 10:17:33 +02:00
Mzack9999 7a5caa606a adding conversion check 2023-08-29 09:12:43 +02:00
Mzack9999 79c2175e6f
Merge pull request #4097 from projectdiscovery/use_util_func
use stringsutil.HasPrefixAnyI
2023-08-29 07:42:23 +02:00
shubhamrasal b3a76527d8
Update mock-outputwriter to write the failed event 2023-08-28 17:53:19 +05:30
Doğan Can Bakır d720d4ec8d use stringsutil.HasPrefixAnyI 2023-08-28 08:15:30 +00:00
dependabot[bot] 494dacc671
Merge pull request #4092 from projectdiscovery/dependabot/go_modules/v2/dev/github.com/projectdiscovery/tlsx-1.1.4 2023-08-28 06:58:56 +00:00
dependabot[bot] a544e6c2fd
chore(deps): bump github.com/projectdiscovery/tlsx in /v2
Bumps [github.com/projectdiscovery/tlsx](https://github.com/projectdiscovery/tlsx) from 1.1.3 to 1.1.4.
- [Release notes](https://github.com/projectdiscovery/tlsx/releases)
- [Changelog](https://github.com/projectdiscovery/tlsx/blob/main/.goreleaser.yml)
- [Commits](https://github.com/projectdiscovery/tlsx/compare/v1.1.3...v1.1.4)

---
updated-dependencies:
- dependency-name: github.com/projectdiscovery/tlsx
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-28 06:38:05 +00:00
dependabot[bot] e6de3f4212
Merge pull request #4094 from projectdiscovery/dependabot/go_modules/v2/dev/github.com/projectdiscovery/utils-0.0.52 2023-08-28 06:35:56 +00:00
dependabot[bot] 071ceac6e2
chore(deps): bump github.com/projectdiscovery/utils in /v2
Bumps [github.com/projectdiscovery/utils](https://github.com/projectdiscovery/utils) from 0.0.50 to 0.0.52.
- [Release notes](https://github.com/projectdiscovery/utils/releases)
- [Commits](https://github.com/projectdiscovery/utils/compare/v0.0.50...v0.0.52)

---
updated-dependencies:
- dependency-name: github.com/projectdiscovery/utils
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-28 06:16:47 +00:00
dependabot[bot] 2fb380dbf7
Merge pull request #4095 from projectdiscovery/dependabot/go_modules/v2/dev/github.com/projectdiscovery/retryablehttp-go-1.0.24 2023-08-28 06:15:15 +00:00
dependabot[bot] 440120b317
Merge pull request #4093 from projectdiscovery/dependabot/go_modules/v2/dev/github.com/projectdiscovery/goflags-0.1.18 2023-08-28 06:11:03 +00:00
dependabot[bot] 0fac3b9ae5
chore(deps): bump github.com/projectdiscovery/retryablehttp-go in /v2
Bumps [github.com/projectdiscovery/retryablehttp-go](https://github.com/projectdiscovery/retryablehttp-go) from 1.0.22 to 1.0.24.
- [Release notes](https://github.com/projectdiscovery/retryablehttp-go/releases)
- [Commits](https://github.com/projectdiscovery/retryablehttp-go/compare/v1.0.22...v1.0.24)

---
updated-dependencies:
- dependency-name: github.com/projectdiscovery/retryablehttp-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-28 05:53:36 +00:00
dependabot[bot] 8e7cb852bf
chore(deps): bump github.com/projectdiscovery/goflags in /v2
Bumps [github.com/projectdiscovery/goflags](https://github.com/projectdiscovery/goflags) from 0.1.17 to 0.1.18.
- [Release notes](https://github.com/projectdiscovery/goflags/releases)
- [Commits](https://github.com/projectdiscovery/goflags/compare/v0.1.17...v0.1.18)

---
updated-dependencies:
- dependency-name: github.com/projectdiscovery/goflags
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-28 05:53:23 +00:00
sandeep d8a051da21 Added initial API docs 2023-08-27 02:04:18 +05:30
sandeep 0c6f6c5fab Merge branch 'dev' 2023-08-26 13:56:24 +05:30
sandeep 6d9d17cea2 version update + moved template changelog update with vv option 2023-08-26 13:55:29 +05:30
Ice3man 592a8a2fd5
feat: added template-url support in template flag feature (#4089)
* misc docs update

* feat: added template-url support in template flag feature

* bugfix: added check URL condition

* template domain update

* editor host update

* misc update

* handle -turl template editor urls

* view remote templates using -td

* remove warning

---------

Co-authored-by: sandeep <8293321+ehsandeep@users.noreply.github.com>
Co-authored-by: Tarun Koyalwar <tarun@projectdiscovery.io>
2023-08-26 02:33:45 +05:30
GitHub Action a2034cad51 Auto Generate Syntax Docs + JSONSchema [Fri Aug 25 17:14:14 UTC 2023] 🤖 2023-08-25 17:14:14 +00:00
DoI f520d7e843
XPath matcher support (#4087)
* Added xpath response matching support

* Add validation for user-supplied XPath

* xpath matcher comment fix

* Added XPath matched documentation

* minor changes: remove warnings

---------

Co-authored-by: Tarun Koyalwar <tarun@projectdiscovery.io>
2023-08-25 22:41:51 +05:30
Sandeep Singh d3928e080d
optional file read in headless protocol (#4055)
* use -lfa and -lna in headless

* fix lna in headless

* misc update

* fix nil pointer dereference in test

* fix lint & unit test

* use urlutil

* headless protocol scheme improvements

* add unit and integration tests

* run unit test from binary

---------

Co-authored-by: Tarun Koyalwar <tarun@projectdiscovery.io>
2023-08-25 18:30:46 +05:30
Tarun Koyalwar e146c89930
render nuclei-templates release (#4082) 2023-08-23 18:22:53 +05:30
sandeep c7ec638748 Merge branch 'dev' 2023-08-22 16:46:40 +05:30
sandeep fd2ae8de00 version update 2023-08-22 15:28:39 +05:30
dependabot[bot] 576fa0c891
Merge pull request #4073 from projectdiscovery/dependabot/go_modules/v2/dev/github.com/projectdiscovery/retryabledns-1.0.35 2023-08-21 15:50:10 +00:00
dependabot[bot] 80a34c35e3
chore(deps): bump github.com/projectdiscovery/retryabledns in /v2
Bumps [github.com/projectdiscovery/retryabledns](https://github.com/projectdiscovery/retryabledns) from 1.0.34 to 1.0.35.
- [Release notes](https://github.com/projectdiscovery/retryabledns/releases)
- [Commits](https://github.com/projectdiscovery/retryabledns/compare/v1.0.34...v1.0.35)

---
updated-dependencies:
- dependency-name: github.com/projectdiscovery/retryabledns
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-21 15:25:39 +00:00
dependabot[bot] f133493a64
Merge pull request #4070 from projectdiscovery/dependabot/go_modules/v2/dev/github.com/projectdiscovery/goflags-0.1.17 2023-08-21 15:25:18 +00:00
dependabot[bot] b705488ee9
Merge pull request #4071 from projectdiscovery/dependabot/go_modules/v2/dev/github.com/projectdiscovery/hmap-0.0.15 2023-08-21 15:23:21 +00:00
dependabot[bot] 348fd5bd9c
chore(deps): bump github.com/projectdiscovery/hmap in /v2
Bumps [github.com/projectdiscovery/hmap](https://github.com/projectdiscovery/hmap) from 0.0.14 to 0.0.15.
- [Release notes](https://github.com/projectdiscovery/hmap/releases)
- [Commits](https://github.com/projectdiscovery/hmap/compare/v0.0.14...v0.0.15)

---
updated-dependencies:
- dependency-name: github.com/projectdiscovery/hmap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-21 15:05:06 +00:00
dependabot[bot] be0e8a759b
chore(deps): bump github.com/projectdiscovery/goflags in /v2
Bumps [github.com/projectdiscovery/goflags](https://github.com/projectdiscovery/goflags) from 0.1.16 to 0.1.17.
- [Release notes](https://github.com/projectdiscovery/goflags/releases)
- [Commits](https://github.com/projectdiscovery/goflags/compare/v0.1.16...v0.1.17)

---
updated-dependencies:
- dependency-name: github.com/projectdiscovery/goflags
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-21 15:04:57 +00:00
dependabot[bot] 1eb349237a
chore(deps): bump github.com/projectdiscovery/wappalyzergo in /v2 (#4072)
Bumps [github.com/projectdiscovery/wappalyzergo](https://github.com/projectdiscovery/wappalyzergo) from 0.0.108 to 0.0.109.
- [Release notes](https://github.com/projectdiscovery/wappalyzergo/releases)
- [Commits](https://github.com/projectdiscovery/wappalyzergo/compare/v0.0.108...v0.0.109)

---
updated-dependencies:
- dependency-name: github.com/projectdiscovery/wappalyzergo
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-21 20:34:42 +05:30
Tarun Koyalwar 430e2b92c1
fix broken image link in TestActionGetResource (#4075) 2023-08-21 20:33:52 +05:30
sandeep fd76914b9d dsl dep update 2023-08-21 13:56:00 +05:30
sandeep 247553532f misc docs update 2023-08-19 04:46:31 +05:30
sandeep 36af9417bc Merge branch 'docs_migrataion' into dev 2023-08-19 02:37:51 +05:30