Commit Graph

501 Commits (22c7422eb8536ced0a007f84e80dd81900e573cc)

Author SHA1 Message Date
Ice3man543 bb05be7b95 Added integration tests for websocket + misc fixes 2021-11-01 15:47:20 +05:30
forgedhallpass b91166a034 Merge remote-tracking branch 'origin/dev' into colored_hexdump 2021-11-01 11:57:45 +02:00
Sandeep Singh 1863e8f76a
Merge pull request #1130 from zerodivisi0n/feature/case-insensitive-match
Add case-insensitive option to template
2021-11-01 15:15:22 +05:30
Ice3man 331ae0f03b
Merge pull request #1171 from kchason/client-cert-auth
Add Support for Client Certificate Authentication
2021-10-31 02:08:18 +05:30
Alexey Zhuchkov 3f1186da2b Add error log support 2021-10-30 14:12:21 +03:00
forgedhallpass 04e3c0165a feat: In case of binary data, show a hexadecimal view as well #1080 2021-10-30 13:17:47 +03:00
Alexey Zhuchkov 392ea23f1d Add integration tests for case-insensitive flag 2021-10-29 19:11:57 +03:00
sandeep 8ce192c62a Merge branch 'dev' of https://github.com/projectdiscovery/nuclei into protocol-types 2021-10-29 00:58:21 +05:30
sandeep 533fb3f108 misc flag update 2021-10-28 22:02:22 +05:30
Ice3man543 97645dde52 Added new workpool package + Misc refactor 2021-10-27 15:53:04 +05:30
Jop Zitman 1dce8af045 Linting issues 2021-10-26 15:34:33 +02:00
Jop Zitman 86cf09fa3f Merge branch 'dev' into remote-template-workflow-lists
# Conflicts:
#	v2/cmd/nuclei/main.go
2021-10-26 15:33:39 +02:00
Ice3man 808ed4edd2
Merge branch 'dev' into client-cert-auth 2021-10-26 16:42:02 +05:30
Ice3man543 f058029841 Misc 2021-10-26 16:29:00 +05:30
Ice3man543 6541b04f4c Added new type and exclude-type flag 2021-10-25 23:24:42 +05:30
Ice3man 29e764961e
Merge branch 'dev' into interactsh-integration-test 2021-10-25 17:29:33 +05:30
kchason a911245d26 Re-add short command for env-vars lost during merge conflict resolution 2021-10-24 22:53:28 -04:00
kchason 4b70560cc9 Merge branch 'master' into client-cert-auth 2021-10-21 13:59:39 -04:00
sandeep dd311897fc misc flag update 2021-10-21 06:05:09 +05:30
kchason 9c77f15012 Argument checks for presence and validity 2021-10-20 11:32:26 -04:00
Sandeep Singh 52382df350
Merge pull request #1121 from projectdiscovery/self-contained-templates
Added self-contained http/network requests implementation
2021-10-20 20:54:38 +05:30
Ice3man543 51f3ea5c88 Added constant for static ports in integration tests 2021-10-20 20:13:40 +05:30
sandeep 8e8249e6a5 Added multiple short flags 2021-10-20 16:39:11 +05:30
kchason df12b0d2e6 Add CLI options for passing client cert auth 2021-10-19 23:06:02 -04:00
Ice3man 002f3de5c4
Merge pull request #1127 from pmareke/fix/add-validation-for-github-and-gitlab-config
fix: add validation for github and gitblab options
2021-10-19 22:35:48 +05:30
Ice3man543 ec424e01e4 MIsc 2021-10-19 22:20:29 +05:30
Ice3man543 c4e5fa49dd Added integration tests for http and network 2021-10-19 22:17:44 +05:30
Pedro López Mareque 8df46e1774 chore: fix pr comment 2021-10-19 17:15:58 +02:00
Pedro López Mareque 17ce2848e6 chore: fix pr comment 2021-10-18 20:57:21 +02:00
Pedro López Mareque 2e26b0fa49 chore: fix pr comments 2021-10-18 20:45:51 +02:00
Sandeep Singh 680a2ad76b
Merge branch 'dev' into feature-preserve-input-order 2021-10-16 18:47:26 +05:30
mzack b6104527e1 replacing go get with go install 2021-10-16 01:05:13 +02:00
Jop Zitman 81102750a1 Implement integration tests for remote template and workflow urls. 2021-10-14 23:33:08 +02:00
Jop Zitman 14bb1b7b21 Implement `-template-url` and `-workflow-url` for retrieving lists of templates/workflows to run. 2021-10-14 23:33:08 +02:00
forgedhallpass d88ed67d2c Do not show AND matcher information in the command line output if debug is not enabled #1081
* integration test fix
2021-10-12 20:18:53 +03:00
mzack 30558eabf4 Merge branch 'dev' into feature-preserve-input-order 2021-10-12 09:42:23 +02:00
forgedhallpass 8392143944 Merge remote-tracking branch 'origin/dev' into colorize_responses 2021-10-11 14:00:53 +03:00
Alexey Zhuchkov 3e8a0af36f Add exclude severity filter 2021-10-08 22:27:27 +03:00
forgedhallpass 76e952ebd2 Removing duplicate request dumping from integration tests, since nuclei already does it if they are started in debug mode 2021-10-06 21:21:40 +03:00
forgedhallpass 49291cc937 If debug is enabled, show matchers that are not named also #1084
* integration test fix
2021-10-05 22:14:18 +03:00
Sandeep Singh 7fce0bce51
Merge branch 'dev' into bugfix-1015-alpine-chrome 2021-10-04 04:22:57 +05:30
sandeep 27cc0d61bc misc update 2021-10-04 04:14:15 +05:30
sandeep 71153c3c39 Merge branch 'dev' of https://github.com/projectdiscovery/nuclei into interactsh-integration-test 2021-10-04 03:56:32 +05:30
forgedhallpass b55f59ec26 Show the command line for the integration/regression tests when the debug option is enabled.
* minor code cleanup and code duplication removal
2021-10-01 18:23:06 +03:00
sandeep 4f8fb0e516 Interactsh server update 2021-10-01 00:40:13 +05:30
mzack 71e4396bd4 Adding support to preserve input order 2021-09-26 22:33:12 +02:00
mzack ce205ae8a0 Adding support for installed chrome browser 2021-09-26 07:56:35 +02:00
sandeep 76b86ba2a0 disk cleanups 2021-09-19 16:26:47 +05:30
forgedhallpass 261279d4c2
Merge pull request #1032 from projectdiscovery/metadata-update
Replaced the "additional-fields" attribute with "metadata" for convenience
2021-09-16 20:29:17 +03:00
Ice3man543 deaa86f5cc Added interactsh based template to integration test 2021-09-16 21:29:58 +05:30
sandeep bfb0a994d8 additional-fields to metadata 2021-09-16 21:16:47 +05:30
forgedhallpass 5bd1d6b201 Merge remote-tracking branch 'origin/dev' into code_smells 2021-09-13 11:27:23 +03:00
Ice3man543 7f058dbad0 Merge branch 'dev' of https://github.com/projectdiscovery/nuclei into dev 2021-09-10 23:21:46 +05:30
Ice3man543 e07123e6ca misc 2021-09-10 23:21:25 +05:30
sandeep 9a5392e091 functional-test fix 2021-09-10 22:33:08 +05:30
Ice3man543 404021811b Fixed a panic with cve-annotate 2021-09-10 20:20:10 +05:30
forgedhallpass c762cc88aa Merge remote-tracking branch 'origin/dev' into code_smells 2021-09-10 15:33:09 +03:00
Ice3man543 b25188ab4f Misc 2021-09-10 17:01:59 +05:30
Ice3man543 6012994405 Misc changes to reporting 2021-09-09 19:56:39 +05:30
Ice3man543 7f2b0da53c Added cve-annotate helper 2021-09-09 18:55:25 +05:30
forgedhallpass 555e609173 Merge remote-tracking branch 'origin/dev' into code_smells 2021-09-07 17:36:34 +03:00
forgedhallpass 0ce33927c7 Typo fixes. 2021-09-07 17:31:46 +03:00
sandeep 802b6b4f65 misc update 2021-09-06 19:10:32 +05:30
Ice3man 1ea89d7560
Merge pull request #993 from wdahlenburg/interactsh-auth
Support Authorization Header for Self-Hosted Interactsh Servers
2021-09-06 16:01:13 +05:30
forgedhallpass 0acec5e039 Adding correct godoc prefixes 2021-09-03 17:25:50 +03:00
forgedhallpass d96c911a4b Minor changes in the issue-tracker-config.yaml and their test counterparts 2021-09-03 17:17:51 +03:00
forgedhallpass 16a54e3b98 YAML Unmarshal error in reporting template #995 2021-09-03 16:48:39 +03:00
sandeep a648838f29 removing duplicate comments 2021-09-03 12:46:00 +05:30
ganoes e8411bc99f Fix in YAML template via UnmarshalYAML 2021-09-02 17:10:54 +02:00
ganoes 2af996de68 comment all examples 2021-09-02 16:39:21 +02:00
ganoes 5e78dedce6 Hot fix - severities in yaml template for reporting 2021-09-02 16:37:49 +02:00
forgedhallpass 0cabce518f Merge branch 'dev' into code_smells 2021-09-02 12:30:43 +03:00
Wyatt Dahlenburg f9afd27605 Allow authorization header value to be specified for self-hosted interact.sh servers 2021-09-01 11:42:15 -05:00
Ganoes 5c81e5a640
Merge branch 'dev' into dev 2021-09-01 11:37:28 +02:00
sandeep e0a2e5d292 misc flag update 2021-09-01 01:09:16 +05:30
forgedhallpass 40d88d2304 In-lined error checks, reduced scope of error variables, introduced new error variables instead of re-using them 2021-08-31 12:55:52 +03:00
sandeep f3de44c9b8 misc update 2021-08-29 22:03:58 +05:30
Ice3man a4264f9b82
Merge pull request #982 from projectdiscovery/workflow_filtering
Workflow filtering and validation optimization
2021-08-28 21:22:34 +05:30
forgedhallpass 9375094a48 Minor typo fixes 2021-08-27 17:06:33 +03:00
Ice3man543 b7e3eec8db Don't show timestamp with no-timestamp flag 2021-08-27 19:12:06 +05:30
Ice3man d8b9172559
Merge pull request #973 from projectdiscovery/elasticsearch-export
Elasticsearch export
2021-08-25 13:56:12 +05:30
Ice3man d4e6aac3be
Merge pull request #962 from Nishan8583/elasticsearch-export
Elasticsearch export
2021-08-25 13:55:47 +05:30
Ice3man543 071ff1ded9 Removed es exporter cli args + misc changes 2021-08-25 13:53:44 +05:30
Ice3man 535001f937
Merge pull request #968 from projectdiscovery/jsonschema-addition
Added jsonschema generation for yaml syntax
2021-08-25 13:09:07 +05:30
Ice3man543 5e21cd6566 Removed stale schema file 2021-08-24 19:50:50 +05:30
Ice3man543 e48c8bef23 Fixed lint errors 2021-08-24 13:35:01 +05:30
Ice3man543 6a673053c2 Added jsonschema generation for yaml syntax 2021-08-23 23:50:45 +05:30
forgedhallpass 71c0d217e2 Replacing "path." methods to "filepath." in order to make the code OS independent 2021-08-23 14:54:28 +03:00
nishan8583 646c07ea2d chaning description field 2021-08-22 07:52:29 +05:45
nishan8583 33bb3d5c64 assigment duplication removed, defaults from description removed 2021-08-22 07:50:33 +05:45
nishan8583 39fff4102f timestmap issue and last log not being pushed 2021-08-20 07:27:19 -05:00
Ice3man543 4cc770f102 Merged dev 2021-08-19 16:51:02 +05:30
sandeep a41d52c35d Merge branch 'dev' of https://github.com/projectdiscovery/nuclei into host-max-errors 2021-08-17 17:54:38 +05:30
sandeep 213b8be0f7 misc update 2021-08-17 16:25:59 +05:30
forgedhallpass 1106262a4b Merge remote-tracking branch 'upstream/dev' 2021-08-17 12:08:56 +03:00
Ice3man 737bf28b8b
Merge branch 'dev' into host-max-errors 2021-08-16 21:26:32 +05:30
Ice3man543 f216c6f6b3 Added HostErrorsCache for tracking failed hosts 2021-08-16 21:24:37 +05:30
mzack 08b467e3ca Merge branch 'dev' into feature-cli-variables 2021-08-09 20:11:11 +02:00
mzack b5338a5281 Using goflags runtime map for runtime variables 2021-08-09 10:51:52 +02:00
mzack e17117c281 Adding support for global env variables 2021-08-09 00:22:09 +02:00
mzack fbd362c34c Adding support for user defined variables via CLI 2021-08-08 23:42:10 +02:00
forgedhallpass 75b21282ab Merge remote-tracking branch 'upstream/dev' 2021-08-05 14:36:28 +03:00
forgedhallpass ef7591d3c8
Merge pull request #884 from TheSecEng/impl/targets/targets_to_targetfile
implement `TargetsFile` and change logic of `Targets`
2021-08-04 20:39:08 +03:00
TheSecEng 825f417b53
fixes
- Rename Targets -> TargetsFilePath
- Rename Target -> Targets
- Implement target checks (empty, dupe)
- Update documentation
2021-08-03 22:47:09 -07:00
Ice3man543 334243d160 Adding documentation generation to nuclei 2021-08-03 22:33:50 +05:30
forgedhallpass d3154648d2 Merge remote-tracking branch 'upstream/dev' 2021-08-03 15:26:45 +03:00
Ice3man e8d30486e4
Merge pull request #896 from souvikhazra1/master
Added support for rate limit per minute
2021-08-02 12:34:23 +05:30
sandeep d0251192be minor update 2021-08-02 12:12:22 +05:30
sandeep 637713cb68 few updates 2021-08-02 12:02:40 +05:30
sandeep 2c8730690b WIP updates 2021-08-02 11:40:44 +05:30
Souvik Hazra 250b87aa01 Revert "Support for environment variables with .env file"
This reverts commit 25235523da.
2021-08-02 11:37:37 +05:30
Souvik Hazra 25235523da Support for environment variables with .env file 2021-08-01 11:00:38 +05:30
Souvik Hazra eb080223d8 Added support for rate limit per minute 2021-07-31 15:46:21 +05:30
sandeep 0eea45fb60 Add building step 2021-07-30 20:01:27 +05:30
Ice3man543 8d0b5d6203 RES-120 Added functional testing implementation 2021-07-30 15:29:12 +05:30
TheSecEng 0295555c70
switch back to file based input for `Targets` and switch `Target` to
receive a goflags.StringSlice (`[]string`) as an argument
2021-07-29 08:14:44 -07:00
Ice3man543 5b03d25743 Do no check for template updates with flag 2021-07-29 19:24:39 +05:30
TheSecEng 34fb629138
implement `TargetsFile` and change logic of `Targets` 2021-07-28 17:48:26 -07:00
forgedhallpass 119f7380fb Removing normalization of case-sensitive parameters
Requires integration of a new goflags
2021-07-28 23:01:05 +03:00
Geeknik Labs 7448869f29
Update main.go
typo fix
2021-07-27 08:35:37 -05:00
forgedhallpass cc2e141a5e RES-87 # Improve Nuclei CLI interface
* small code review fix
2021-07-26 21:53:53 +03:00
forgedhallpass 1c0b60417e RES-87 # Improve Nuclei CLI interface
* ordered the CLI arguments based on their importance
2021-07-26 17:45:08 +03:00
forgedhallpass acf6a9d5b6 RES-87 # Improve Nuclei CLI interface
* updated the CLI argument descriptions
2021-07-26 17:06:17 +03:00
forgedhallpass 54efe77225 RES-87 # Improve Nuclei CLI interface 2021-07-26 13:39:14 +03:00
sandeep 68cd86838d readme update 2021-07-25 20:03:27 +05:30
sandeep be5c78c34e minor update 2021-07-25 19:44:46 +05:30
sandeep b6fe520694 misc updates 2021-07-25 19:40:39 +05:30
sandeep b5a1935b64 Refreshed CLI Help menu with Grouping options 2021-07-25 17:07:50 +05:30
Ice3man543 3e16929f68 WIP nuclei flags grouping + reordering 2021-07-25 16:13:59 +05:30
Ice3man543 d53c903517 Misc changes to auto-update mechanism 2021-07-25 03:13:46 +05:30
Ice3man543 ecf122c465 Added nuclei-engine auto-update mechanism 2021-07-25 03:07:19 +05:30
forgedhallpass 5d89bb8056 RES-84 # Improve Nuclei CLI interface
* fixed issues reported by the linter
2021-07-19 21:04:08 +03:00
forgedhallpass 2635c65ce2 RES-84 # Improve Nuclei CLI interface (WIP)
* moved the Severity "enum" back to Nuclei (1 unit test failing)
2021-07-16 17:28:13 +03:00
forgedhallpass 5a495e1e99 RES-84 # Improve Nuclei CLI interface (WIP)
* Integration of the previous logic to 2.4.0
* Unit and ITs passing
* refactored the template matching logic
2021-07-15 13:41:41 +03:00
forgedhallpass ed1dc103fe RES-84 # Improve Nuclei CLI interface (WIP)
* Merge from parent

# Conflicts:
#	v2/cmd/nuclei/main.go
#	v2/internal/runner/config.go
#	v2/internal/runner/templates.go
#	v2/internal/runner/update.go
#	v2/pkg/templates/compile.go
#	v2/pkg/templates/compile_test.go
#	v2/pkg/types/types.go
2021-07-12 17:20:01 +03:00
sandeep 58fc6b8180 flag tweaks 2021-07-09 00:46:12 +05:30
Sandeep Singh e015ab6bf4
Merge pull request #816 from xstevens/add-stats-json
Added flag to ouptut stats in JSON format
2021-07-08 15:30:27 +05:30
Xavier Stevens 2c331b2a87 Added flag to ouptut stats in JSON format 2021-07-07 13:30:29 -07:00
Ice3man543 8a80d11467 Support workflows + general code refactor 2021-07-07 19:15:09 +05:30
Ice3man543 94365a58dc Added validate flag to validate templates 2021-07-07 19:03:14 +05:30
Ice3man ffa733b8ff
Merge branch 'dev' into loader-fix 2021-07-02 15:44:18 +05:30
Ice3man543 d58180d588 Added vv flag to display more extra verbose information 2021-07-01 18:22:08 +05:30
Ice3man543 7669e9781a Rework template loading into individual module + better tags and filters 2021-06-30 18:39:01 +05:30
ganoes 428bb9b0b6 Merge branch 'dev' of https://github.com/projectdiscovery/nuclei into dev 2021-06-25 10:12:10 +02:00
Ice3man543 dbb70c5acc Fixed http body decoding with unsafe 2021-06-15 11:46:02 +05:30
Ice3man543 f5b9bed40a Removed leftover collaborator integration 2021-06-14 19:48:27 +05:30
Sandeep Singh d3b0a15284
Merge pull request #763 from projectdiscovery/fix-eof
Fix for panic: runtime error
2021-06-12 15:24:15 +05:30
Ice3man543 d22d823e9c Fixed #762 by not deleting file with no results 2021-06-12 03:48:10 +05:30
Sandeep Singh 673c98c3f4
Merge pull request #757 from projectdiscovery/sarif-integration
Added sarif output export format to nuclei
2021-06-08 16:47:46 +05:30
sandeep 63b274ecb0 flag updates / improvements 2021-06-08 16:38:13 +05:30
Ice3man543 2c0cea1a3f Changed name of flag 2021-06-06 02:56:36 +05:30
Ice3man543 abc7063339 Work on sarif integration start 2021-06-05 18:01:08 +05:30
ganoes 3700cd8c0b UpdateExisting flag for Jira reporting was added 2021-06-04 18:19:23 +02:00
ganoes 19157597a0 Added support of Jira on-prem server 2021-06-04 13:11:09 +02:00
Ice3man543 e8747fc2da Made interactsh default, fixed matcher panic 2021-04-18 17:27:45 +05:30
Ice3man543 4c594627a9 Started work on interact.sh support 2021-04-16 16:56:41 +05:30
Ice3man543 64c8c33a4f Fixed some bugs + honor UA 2021-04-01 01:35:32 +05:30
Ice3man543 718e4505a6 Fixed nuclei ignore issues + made random agent default 2021-03-31 21:27:40 +05:30
Ice3man543 bfa2dacb7b Misc 2021-03-22 15:00:26 +05:30
Ice3man543 f6a480f0b4 Added disk exporters + changed some reporting modules around 2021-03-22 14:03:05 +05:30
Ice3man543 35402d6414 Cosmetic changes 2021-03-14 01:44:35 +05:30
Ice3man543 bafa8661c9 Added exclude-tag flags 2021-03-14 01:15:33 +05:30
Ice3man 31094ab299
Create issue-tracker-config.yaml 2021-03-11 09:41:23 +05:30
Ice3man543 ea888490d1 Fixed bug with request condition + tests 2021-03-09 14:45:04 +05:30
sandeep 91295266e3 version update 2021-03-06 20:47:49 +05:30
Ice3man543 31ce4b12cd Added workflows flag + new templates flag to run newly added ones 2021-03-05 12:08:31 +05:30
Ice3man543 8cf1471e25 Fixed a bug with workflows 2021-03-05 11:40:28 +05:30
Ice3man543 8a40fac305 Misc changes to headless 2021-03-01 14:20:56 +05:30
sandeep 16a9225b42 misc updates 2021-02-28 13:06:18 +05:30
Ice3man543 13c67a62bd Fixed template-update + added workflow tests 2021-02-27 20:54:22 +05:30
Ice3man543 14d2def39c Fixed DNS test + Misc 2021-02-27 12:59:26 +05:30
Ice3man543 d176eb3a7c Fixed DNS port bind test error 2021-02-27 12:43:14 +05:30
Ice3man543 f0e0c1e7d0 Misc changes to integration test 2021-02-27 12:42:35 +05:30
Ice3man543 34dcaf8dd8 Misc 2021-02-27 12:35:15 +05:30
Ice3man543 9294e055d9 Misc 2021-02-27 12:33:27 +05:30
Ice3man543 2a0dcc1ee3 More tests for dns and network + misc 2021-02-27 02:23:06 +05:30
Ice3man543 8512b684c5 Lint errors fix 2021-02-26 13:13:11 +05:30
Ice3man543 b33bc83b0b Start of work on testing infrastructure 2021-02-25 23:32:43 +05:30
Ice3man543 b7af565edf Misc changes 2021-02-25 13:14:42 +05:30
Ice3man543 9b79f9b13c Added stats-interval flag 2021-02-23 18:05:20 +05:30
Ice3man543 1a3fea64f2 Added -w/workflows to only run workflow based templates 2021-02-22 12:55:57 +05:30
Ice3man 58237f103a
Add headless chrome based templates support (#562) 2021-02-21 16:31:34 +05:30
sandeep 888b402faa Update main.go 2021-02-08 13:57:14 +05:30
Ice3man543 b155f18250 Added r flag to allow users usage of custom resolvers 2021-02-08 13:06:11 +05:30
Ice3man 8b8adb7b46
Merge branch 'dev' into issue-tracker-integration 2021-02-08 01:51:37 +05:30
Ice3man543 3fe6290eed Misc fixes 2021-02-07 23:41:33 +05:30
sandeep 4991c4e7ad Update main.go 2021-02-07 04:08:06 +05:30
Ice3man543 ec86542b87 Added offline http response processing feature 2021-02-06 00:36:43 +05:30
Ice3man543 f2c20dda12 More tests + tag based execution + misc 2021-02-04 01:09:29 +05:30
Ice3man543 038b4aa5c2 Added jira+github+gitlab issue tracker integration to nuclei 2021-02-02 12:10:47 +05:30
Ice3man 8a8d38130f
Update main.go 2021-02-01 01:27:29 +05:30
Ice3man543 585a4562ec Misc 2021-02-01 01:25:55 +05:30
Ice3man543 e7f82cd4a3 Fixed goflags library 2021-02-01 01:24:37 +05:30
PD-Team ee06a6dcd6 short flag updates 2021-01-27 14:53:05 +05:30
Ice3man543 46c8e5460c Added goflags option parser 2021-01-27 11:46:41 +05:30
Ice3man543 ab2bb0226f Debug req/resp mode support 2021-01-12 17:18:08 +05:30
Ice3man543 3ee7428166 Added initial config file support with cobra cli 2021-01-12 15:14:49 +05:30
Ice3man543 c42536f5e8 Added catalogue + template-workflow running + misc 2020-12-29 18:02:45 +05:30
Mzack9999 12c9ca7b12 fixing go mod 2020-09-23 22:38:59 +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