102 Commits

Author SHA1 Message Date
sandeep
43750ea8c7 tls attribute update 2023-11-18 14:33:52 +05:30
sandeep
8d9b127c08 version update 2023-11-18 13:21:15 +05:30
GitHub Action
816e89ce58 Auto Generate Syntax Docs + JSONSchema [Sat Nov 18 07:33:17 UTC 2023] 🤖 2023-11-18 07:33:17 +00:00
Dogan Can Bakir
a9efb75d59
introduce disable-cookie (#4292)
* introduce disable-cookie

* remove debug statement

* fix headless template

* increase `-interactions-poll-duration` value to 5

* docs update

---------

Co-authored-by: Tarun Koyalwar <tarun@projectdiscovery.io>
Co-authored-by: sandeep <8293321+ehsandeep@users.noreply.github.com>
2023-11-18 13:02:10 +05:30
Ice3man
34192ac359
feat: added base64 encoding helpers for js (#4344)
* misc update

* chore(deps): bump github.com/gin-gonic/gin from 1.9.0 to 1.9.1 (#4252)

Bumps [github.com/gin-gonic/gin](https://github.com/gin-gonic/gin) from 1.9.0 to 1.9.1.
- [Release notes](https://github.com/gin-gonic/gin/releases)
- [Changelog](https://github.com/gin-gonic/gin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gin-gonic/gin/compare/v1.9.0...v1.9.1)

---
updated-dependencies:
- dependency-name: github.com/gin-gonic/gin
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump github.com/docker/docker (#4316)

Bumps [github.com/docker/docker](https://github.com/docker/docker) from 24.0.5+incompatible to 24.0.7+incompatible.
- [Release notes](https://github.com/docker/docker/releases)
- [Commits](https://github.com/docker/docker/compare/v24.0.5...v24.0.7)

---
updated-dependencies:
- dependency-name: github.com/docker/docker
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* feat: added base64 encoding helpers for js

* fix README_CN.md typos (#4369)

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: sandeep <8293321+ehsandeep@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Xc1Ym <xuedongyuming2233@gmail.com>
2023-11-17 19:29:49 +05:30
GitHub Action
1eee6e36e0 Auto Generate Syntax Docs + JSONSchema [Fri Nov 17 09:19:44 UTC 2023] 🤖 2023-11-17 09:19:44 +00:00
Maciej Mionskowski
ecae94d0cf
feat: allow cipher enumeration in SSL protocol (#4297)
* feat: allow cipher enumeration in SSL protocol

* cipher enum improvements

---------

Co-authored-by: Tarun Koyalwar <tarun@projectdiscovery.io>
2023-11-17 14:48:34 +05:30
Tarun Koyalwar
775c7f762b
add -code flag to run code proto templates (#4376) 2023-11-16 17:56:07 +05:30
Dogan Can Bakir
7c2db9c394
introduce template-encoded field (#4315)
* introduce `template-encoded` field

* remove IsCustomTemplate func

* refactor and move encoding to `MakeResultEventItem` func

* encode template in case of no results were found

* commit to last commit

* don't encode templates when`-ms` is used
2023-11-11 04:42:27 +05:30
Mzack9999
3d37e4603d
Bugfix bin pack (#4298)
* misc update

* chore(deps): bump github.com/gin-gonic/gin from 1.9.0 to 1.9.1 (#4252)

Bumps [github.com/gin-gonic/gin](https://github.com/gin-gonic/gin) from 1.9.0 to 1.9.1.
- [Release notes](https://github.com/gin-gonic/gin/releases)
- [Changelog](https://github.com/gin-gonic/gin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gin-gonic/gin/compare/v1.9.0...v1.9.1)

---
updated-dependencies:
- dependency-name: github.com/gin-gonic/gin
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fixing binary encoding

* pointing gostruct to dev branch

* dep update

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: sandeep <8293321+ehsandeep@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-04 21:12:15 +05:30
sandeep
4db5756fd0 go mod tidy 2023-11-02 20:01:13 +05:30
Dogan Can Bakir
83abe0969e
introduce self-contained to headless (#4322)
* introduce `self-contained` to headless

* fix matched url print
2023-11-02 19:08:20 +05:30
Tarun Koyalwar
595ba8e3a5
bug fixes in js , network protocol and flow (#4313)
* fix net read

* only return N bytes if extra available

* use ConnReadN from readerutil

* add integration test

* print unsigned warning in stderr

* fix js protocol in flow #4318

* fix integration test: url encoding issue

* fix network protocol issue + integration tests

* multiple improvements to integration test

* replace all conn.Read() from tests

* disable network-basic.yaml in windows

* disable code protocol in win CI

* fix bitwise login  ps1-snippet.yaml

* hide previous matcher events in flow

* remove dead code+ update integration tests

---------

Co-authored-by: Sandeep Singh <sandeep@projectdiscovery.io>
2023-11-02 13:33:40 +05:30
Dogan Can Bakir
c79d2f05c4
fix trailing dot (#4295)
* fix trailing dot

* remove trailing dot from `domain`

* remove trailing dots from answer

* remove dots

* fix integration test
2023-11-01 16:51:22 +05:30
Dogan Can Bakir
1d0fbc0b62
restructure repo dir (#4293)
* restructure repo dir

* fix path in test
2023-10-30 21:00:51 +05:30
Tarun Koyalwar
83681fb308
misc sdk enhancements (#4301)
* add template sign/parse  methods

* export installer package

* add readme

* consistent implementation of writefailure

* fix lint error
2023-10-30 19:02:06 +05:30
sandeep
7aab84eae7 version update 2023-10-26 21:27:51 +05:30
Tarun Koyalwar
5c9af62037
fix relative path issue + remove residual code (#4284)
* fix relative path issue + remove residual code

* use template dir in templateFS

* fix dir relative path issue

* print metrics server address in verbose mode

* add timeout for downloading binary & templates

* update stats & metrics docs

* add template-id loader integration test
2023-10-26 19:07:04 +05:30
sandeep
7522895ca8 version update 2023-10-20 17:55:23 +05:30
Tarun Koyalwar
e9ab5f498a
template preprocessor + multi request variables indexing bug fix (#4262)
* add randstr preprocessor to defaults

* fix indexing in http + preprocessor integration test

* add multi-request integration test

* skip test if asnmap is down
2023-10-20 17:54:10 +05:30
sandeep
990cec0de1 version update 2023-10-19 19:10:29 +05:30
Tarun Koyalwar
dc44105baf
nuclei v3 : misc updates (#4247)
* use parsed options while signing

* update project layout to v3

* fix .gitignore

* remove example template

* misc updates

* bump tlsx version

* hide template sig warning with env

* js: retain value while using log

* fix nil pointer derefernce

* misc doc update

---------

Co-authored-by: sandeep <8293321+ehsandeep@users.noreply.github.com>
2023-10-17 17:44:13 +05:30
Mzack9999
12c9ca7b12 fixing go mod 2020-09-23 22:38:59 +02:00
Víctor Zamanillo
5955ee0caf Merge branch 'master' into tpl-http-port-path-preference 2020-09-19 22:40:41 +02:00
Víctor Zamanillo
dc03f284f6 Improved doc for Position method 2020-09-19 22:26:59 +02:00
Víctor Zamanillo
5ff4fdb75a Added severity to match output message
Implements a new NewNucleiColorizer to colorize all nuclei messages (included severity).
Fixes severity color is always colorized even with nocolor flag.
2020-09-19 14:43:35 +02:00
Ice3man543
9324996961 Added group capturing in backward compatible way 2020-09-17 12:01:51 +05:30
Ice3man
497136463b
Merge pull request #294 from CasperGN/master
Same-name-headers are chunked into 1 line when matching
2020-09-15 02:24:30 -07:00
Ice3man543
011c88ade7 Fixed inconsistent output hopefully 2020-09-10 16:32:01 +05:30
Casper Guldbech Nielsen
59ee0ad80e Ensure that same-name-headers doesnt get chunked into one line for more accurate matching
Signed-off-by: Casper Guldbech Nielsen <whopsec@protonmail.com>
2020-09-09 16:24:59 +02:00
Víctor Zamanillo
557bae93da gofmt 2020-09-05 18:27:02 +02:00
Víctor Zamanillo
5f7e6eadae Do not wrap errors
It makes the warning message unreadable e.j: "Could not execute step: could not handle http request: Could not do request: ERR"
2020-09-05 14:46:24 +02:00
Víctor Zamanillo
406f35b67e Keep port and path preference from template def over input URL 2020-09-05 14:44:47 +02:00
Víctor Zamanillo
4ebd6ad58d Fix for #280
split header string once with SplitN 2
2020-09-02 10:01:45 +02:00
Víctor Zamanillo
6a4629e47a Enriched verbose request mesages
The message "Sent Type request to" is redundant and noisy and does not provide any useful information, we enriched it adding the template id.
2020-08-31 11:58:12 +02:00
bauthard
d7451a6c90
Merge pull request #266 from vzamanillo/json-output-template-name
Add template name to JSON output
2020-08-31 01:18:01 +05:30
Víctor Zamanillo
0c616af51c Removed dup code 2020-08-29 16:07:13 +02:00
Víctor Zamanillo
e774104f41 Add template name to JSON output
Fixes  #258
2020-08-27 22:13:42 +02:00
Víctor Zamanillo
113ccb1e0e Preload workflow templates once
Fixes memory leak reported on #242
2020-08-26 20:05:31 +02:00
Víctor Zamanillo
60005290b1 Initial adoption of golangci-lint for CI 2020-08-25 23:33:20 +02:00
Ice3man543
458dbc1b38 v2 update 2020-07-01 16:17:24 +05:30
Mzack9999
dd1961f1e2
Merge pull request #111 from projectdiscovery/feature-workflow
Workflow Support
2020-06-29 17:18:52 +02:00
Ice3man543
9d27eb8365 Fixed raw request newline & blank path 2020-06-29 19:50:11 +05:30
Ice3man543
b3c52d941f Added directory support 2020-06-29 17:43:08 +05:30
Mzack9999
2b109b5a82 rebased on master 2020-06-27 22:01:01 +02:00
Ice3man543
d8d3622a5e Added json output support 2020-06-27 20:19:43 +05:30
Mzack9999
429369c971 added dns support in workflow 2020-06-26 15:10:42 +02:00
Mzack9999
d3ceb76585 uniformed template loading 2020-06-26 14:37:55 +02:00
Mzack9999
226cb23c97 workflow prototype 2020-06-26 10:23:54 +02:00
Ice3man543
6acf0d4cf6 Inform user and no output file in case of 0 results 2020-06-22 19:57:32 +05:30