Commit Graph

1174 Commits (3fd1f57b96336abc103e8532b5a8854d3fe3660e)

Author SHA1 Message Date
Ice3man543 ea8a709bea Upgraded go-rod to latest version 2021-09-18 15:38:15 +05:30
Scott Bamforth 4e7f1eef37
Fix formatting 2021-09-17 21:20:23 +01:00
Revblock 8db02e8191
Merge branch 'dev' into master 2021-09-17 21:19:31 +01:00
Scott Bamforth a4be346e4d
Add severity label to Gitlab/JIRA reporter 2021-09-17 21:08:48 +01:00
Revblock 10cc08c758
Add severity label to GitHub reporter 2021-09-17 13:36:28 +01:00
GitHub Action 13ade32f0f Auto Generate Syntax Docs + JSONSchema [Thu Sep 16 19:14:52 UTC 2021] 🤖 2021-09-16 19:14:52 +00:00
forgedhallpass c5a1753548
Merge branch 'dev' into patch-4 2021-09-16 20:35:43 +03:00
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
GitHub Action ba587b14bd Auto Generate Syntax Docs + JSONSchema [Thu Sep 16 17:12:26 UTC 2021] 🤖 2021-09-16 17:12:26 +00:00
forgedhallpass 2baf695709 Merge remote-tracking branch 'origin/dev' into code_smells 2021-09-16 20:00:21 +03:00
Geeknik Labs c8307b2c83
Update dsl.go
typo fix
2021-09-16 11:40:10 -05:00
Geeknik Labs 3b8ec873eb
Update operators.go
minor nit
2021-09-16 11:39:45 -05:00
Geeknik Labs 20a1a5c9da
Update elasticsearch.go
typo fix
2021-09-16 11:38:15 -05:00
Geeknik Labs eb566416fc
Update instance.go
typo fix
2021-09-16 11:37:36 -05:00
Geeknik Labs 05d1f8aac8
Update build_request.go
typo fix
2021-09-16 11:36:08 -05:00
Geeknik Labs e79fcb0db3
Update request.go
typo fix
2021-09-16 11:35:20 -05:00
Geeknik Labs 115f6d1b52
Update http.go
typo fix
2021-09-16 11:34:23 -05:00
Geeknik Labs 2aee208050
Update network.go
minor nit
2021-09-16 11:33:20 -05:00
Geeknik Labs d95f723639
Update model.go
small updates
2021-09-16 11:30:49 -05:00
Geeknik Labs 78cfb07214
Update templates_doc.go
small fixes
2021-09-16 11:29:22 -05:00
Geeknik Labs fc950a02e6
Update templates_doc.go
Typo fix
2021-09-16 11:27:17 -05:00
Sandeep Singh 4845b85328
Merge pull request #1026 from projectdiscovery/github-rate-limit-fix
GitHub rate limit bug fix
2021-09-16 21:27:46 +05:30
sandeep bfb0a994d8 additional-fields to metadata 2021-09-16 21:16:47 +05:30
forgedhallpass 9b45c31db8 Merge remote-tracking branch 'origin/dev' into code_smells 2021-09-16 15:49:51 +03:00
Ice3man543 259ccb118f fix: interactsh crash when not initialized 2021-09-15 18:15:22 +05:30
Sajad Parra f1ad6f6bc5 add payload, variable, helper support to matchers 2021-09-15 18:02:22 +05:30
sandeep 2b99561b5d misc update 2021-09-15 14:23:02 +05:30
Ice3man543 2521d5333e fix: gbk when uppercase isn't decoded properly 2021-09-15 04:18:52 +05:30
Ice3man543 4d52fb45e4 Misc changes to update and ignore handling 2021-09-15 04:01:40 +05:30
GitHub Action c73c6a9f62 Auto Generate Syntax Docs + JSONSchema [Tue Sep 14 13:33:29 UTC 2021] 🤖 2021-09-14 13:33:29 +00:00
Ice3man543 ad9755dd83 Misc work on jsonschema validations 2021-09-14 17:34:10 +05:30
Ice3man543 04a4159fa5 Misc changes to update mechanism 2021-09-13 15:45:24 +05:30
forgedhallpass 5bd1d6b201 Merge remote-tracking branch 'origin/dev' into code_smells 2021-09-13 11:27:23 +03:00
Ice3man543 cb39fd9d13 Use separate nuclei version check infra 2021-09-11 18:40:07 +05:30
sandeep dfff092caf dev update 2021-09-10 23:39:12 +05:30
sandeep 81b3d225df version update 2021-09-10 21:47:14 +05:30
Ice3man543 ca85186d9a Edge cases with gbk decode 2021-09-10 21:19:05 +05:30
Ice3man543 9643a7a462 Misc 2021-09-10 21:17:31 +05:30
Ice3man543 5b0b59e04c Misc 2021-09-10 21:16:03 +05:30
Ice3man543 e8cadd86f1 Misc 2021-09-10 21:13:52 +05:30
Ice3man543 1976651890 Added gbk decoder 2021-09-10 21:11:13 +05:30
forgedhallpass c762cc88aa Merge remote-tracking branch 'origin/dev' into code_smells 2021-09-10 15:33:09 +03:00
GitHub Action d3e2d32c54 Auto Generate Syntax Docs + JSONSchema [Fri Sep 10 09:34:25 UTC 2021] 🤖 2021-09-10 09:34:25 +00:00
Ice3man 8f62da84c0
Merge pull request #1004 from projectdiscovery/new-info-fields
Added new info block fields classification and remediation
2021-09-10 15:03:14 +05:30
Ice3man543 c2c77de6f3 Use sync.Once for on-use initialization of interactsh 2021-09-10 00:32:05 +05:30
Ice3man543 ae511cb82f Misc 2021-09-09 20:08:05 +05:30
Ice3man543 11636f5bfc Support multiple cve-ids 2021-09-09 20:05:43 +05:30
Ice3man543 ab34aa991e Formatting changes 2021-09-09 19:59:42 +05:30
Ice3man543 6012994405 Misc changes to reporting 2021-09-09 19:56:39 +05:30
Ice3man543 ee74561bbf Misc 2021-09-09 19:54:10 +05:30
Ice3man543 d75a85a68f Uppercase 2021-09-09 19:49:01 +05:30
Ice3man543 e683212bb8 Made irr default for reporting + misc on new fields 2021-09-09 18:53:55 +05:30
Ice3man543 6192c97d40 Added new fields to reporting 2021-09-09 03:30:17 +05:30
Ice3man543 ca066367f4 Added new info block fields 2021-09-08 20:42:37 +05:30
Ice3man543 99fe86da8f Merge branch 'dev' of https://github.com/projectdiscovery/nuclei into dev 2021-09-08 20:23:55 +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 d45fbdbad5 Merge remote-tracking branch 'origin/dev' into unmarshal_severities 2021-09-06 13:13:45 +03:00
Ice3man543 f089c44111 Merge branch 'master' of https://github.com/projectdiscovery/nuclei into dev 2021-09-06 15:06:14 +05:30
forgedhallpass 0acec5e039 Adding correct godoc prefixes 2021-09-03 17:25:50 +03:00
GitHub Action c256bef362 Auto Generate Syntax Docs + JSONSchema [Fri Sep 3 13:50:44 UTC 2021] 🤖 2021-09-03 13:50:44 +00:00
forgedhallpass 16a54e3b98 YAML Unmarshal error in reporting template #995 2021-09-03 16:48:39 +03:00
Sandeep Singh d261061fda
Merge pull request #991 from projectdiscovery/fix/pitchfork
remove pitchfork validation
2021-09-03 14:29:09 +05:30
Sandeep Singh 8011b9f721
Merge pull request #994 from wdahlenburg/base64-helper
Support Raw Base64 Encoding for Deserialization Helpers
2021-09-03 12:14:13 +05:30
Wyatt Dahlenburg 1ccc4b2823 Switching to base64-raw 2021-09-02 08:05:47 -05:00
forgedhallpass 2988e9554b Merge remote-tracking branch 'origin/dev' into code_smells 2021-09-02 12:31:28 +03:00
forgedhallpass 0cabce518f Merge branch 'dev' into code_smells 2021-09-02 12:30:43 +03:00
Wyatt Dahlenburg 693aec37d8 Support raw base64 encoding 2021-09-01 11:59:51 -05: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
sandeep 7e80dec5e7 dev update 2021-09-01 21:07:37 +05:30
forgedhallpass f9eb8ba8ac Changed/removed some documentation/comments 2021-09-01 17:34:51 +03:00
Sajad Parra 761d62f3de remove pitchfork validation 2021-09-01 20:03:53 +05:30
GitHub Action 04e636075e Auto Generate Syntax Docs + JSONSchema [Wed Sep 1 10:24:55 UTC 2021] 🤖 2021-09-01 10:24:55 +00:00
sandeep 698390f7d0 Merge branch 'master' of https://github.com/projectdiscovery/nuclei 2021-09-01 15:53:37 +05:30
sandeep d7f8ad8a62 final changes 2021-09-01 15:53:30 +05:30
GitHub Action 9d0856e3c8 Auto Generate Syntax Docs + JSONSchema [Wed Sep 1 10:19:34 UTC 2021] 🤖 2021-09-01 10:19:34 +00:00
sandeep f3ed61b4c7 misc update 2021-09-01 15:48:01 +05:30
Sandeep Singh 8300486bec
Merge pull request #753 from gano3s/dev
Do not create a new issue in Jira if it is already opened
2021-09-01 15:33:32 +05:30
Sandeep Singh ec10852a68
Merge pull request #986 from projectdiscovery/validate-fixes
Added new stats counters + validation fixes
2021-09-01 15:31:18 +05:30
sandeep 8fcfa28fbb Revert "Auto Generate Syntax Docs + JSONSchema [Wed Sep 1 07:30:30 UTC 2021] 🤖"
This reverts commit 443775fc5b.
2021-09-01 15:17:47 +05:30
ganoes 426b95bdf4 Added logger 2021-09-01 11:43:02 +02:00
GitHub Action 99c772a340 Auto Generate Syntax Docs + JSONSchema [Wed Sep 1 09:40:13 UTC 2021] 🤖 2021-09-01 09:40:13 +00:00
sandeep cb5c0cde1d misc docs update 2021-09-01 15:08:46 +05:30
Ganoes 5c81e5a640
Merge branch 'dev' into dev 2021-09-01 11:37:28 +02:00
ganoes 88ed8a64cd Updated names of variables to follow guidelines 2021-09-01 11:30:22 +02:00
GitHub Action 443775fc5b Auto Generate Syntax Docs + JSONSchema [Wed Sep 1 07:30:30 UTC 2021] 🤖 2021-09-01 07:30:30 +00:00
sandeep 605393d1a8 misc CLI UI update 2021-09-01 02:01:55 +05:30
sandeep e0a2e5d292 misc flag update 2021-09-01 01:09:16 +05:30
Ice3man543 f0dcfa78fa Updated doc example 2021-09-01 00:05:20 +05:30
Ice3man543 7bdb826c43 Misc fix 2021-08-31 23:58:43 +05:30
Ice3man543 60904cadd4 Fixed workflow running without being specified during balidation 2021-08-31 23:30:07 +05:30
Sandeep Singh 5525b0f404
Merge pull request #928 from yabeow/master
Add helper function `print_debug` for debug purposes
2021-08-31 22:50:48 +05:30
Ice3man543 19770d186f Changed code as per review comments 2021-08-31 21:39:20 +05:30
Ice3man543 2c8f5bc2e5 Fixed some banners 2021-08-31 19:58:11 +05:30
Ice3man543 44700e6c60 Show errors when validate flag is passed for syntax 2021-08-31 19:53:53 +05:30
Ice3man543 96adaf5257 Misc 2021-08-31 19:28:20 +05:30
Ice3man543 c3e32f5e15 Added new stats counters + validation fixes 2021-08-31 19:27:26 +05:30
forgedhallpass f36ed8df64 Removed unused parameter 2021-08-31 13:21:15 +03:00
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
forgedhallpass cfbd628b55 Merge branch 'dev' into code_smells 2021-08-31 12:48:01 +03:00
Ice3man543 d33f6eb502 Merge branch 'dev' of https://github.com/projectdiscovery/nuclei into dev 2021-08-30 16:58:22 +05:30
Ice3man543 1946d2ec52 Fixed a crash in workflow loader 2021-08-30 16:58:11 +05:30
Ice3man 085fa7b726
Merge pull request #985 from projectdiscovery/hang-fix
Potential hang fix due to websocket protocol switching
2021-08-30 14:01:01 +05:30
Ice3man543 482fea58a8 Added separate Path and File variables for HTTP requests 2021-08-30 13:35:11 +05:30
Ice3man543 996a1aa973 Show headers when debugging with no body 2021-08-30 13:28:34 +05:30
Ice3man543 10afcff6c1 Fixed another hang within http request 2021-08-30 12:40:38 +05:30
Ice3man543 484df4b9ce Don't skip the request if status code is 101 2021-08-30 12:37:36 +05:30
Ice3man543 dd46d97920 Pontential fix for nuclei stuck issue 2021-08-30 12:28:41 +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
Ice3man543 9c5ef85909 Added cache test 2021-08-28 20:52:13 +05:30
Ice3man543 78554252ed Misc changes to workflow parts 2021-08-28 00:27:37 +05:30
Ice3man543 30f6498fe2 Replace error constant with an error type 2021-08-28 00:21:07 +05:30
Ice3man543 f5ea35d45c Don't match for metadata on workflow 2021-08-28 00:19:05 +05:30
Ice3man543 08fdc3bdcc Added cache package + misc changes to loaders 2021-08-28 00:15:28 +05:30
forgedhallpass 52b26fd601 Minor refactor to remove duplicate logic when validating templates. 2021-08-27 17:21:02 +03:00
forgedhallpass 9375094a48 Minor typo fixes 2021-08-27 17:06:33 +03:00
forgedhallpass 36b1c08edc Optimize template validation 2021-08-27 17:06:06 +03:00
forgedhallpass 095e78e431 Fix filtering by severity in case of workflows. 2021-08-27 17:05:12 +03:00
Ice3man543 b7e3eec8db Don't show timestamp with no-timestamp flag 2021-08-27 19:12:06 +05:30
Ice3man 1b2c1b8732
Merge pull request #980 from projectdiscovery/dsl-urlencode-decode-fix
Dsl urlencode decode fix
2021-08-27 02:41:14 +05:30
Ice3man543 004ed31fdc Fixed urlencode/decode with queryescape 2021-08-27 02:38:15 +05:30
Ice3man543 a5d818a2e6 Fixed a schema issue with dns types 2021-08-26 23:27:42 +05:30
Ice3man543 e7a0417bc2 Fixed interactsh edge case + debug mode logging for interact 2021-08-26 02:43:58 +05:30
Ice3man543 18d0858f31 Added stop-at-first-match to http requests 2021-08-26 02:09:14 +05:30
Ice3man543 63bc417398 Use older ioutil package for compatibility 2021-08-25 14:19:46 +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
GitHub Action f712c7442d Auto Generate Syntax Docs [Wed Aug 25 07:41:40 UTC 2021] 🤖 2021-08-25 07:41:40 +00:00
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 20aa291709 Fixed typo in template 2021-08-24 20:02:55 +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 07ca97fdaf Efforts to make working with files OS-agnostic.
Replacing "path." methods to "filepath." in order to make the code OS independent.
2021-08-23 16:42:29 +03:00
forgedhallpass 448388a825 Added TODOs next to un-used parameters 2021-08-23 16:21:18 +03:00
Bùi Đại Gia 350d347388
fix mistake 2021-08-23 19:25:11 +07:00
Bùi Đại Gia 986a4981fb
rename print_stdout to print_debug 2021-08-23 19:18:07 +07:00
forgedhallpass 71c0d217e2 Replacing "path." methods to "filepath." in order to make the code OS independent 2021-08-23 14:54:28 +03:00
sandeep ac904174a1 Merge branch 'dev' of https://github.com/projectdiscovery/nuclei into pr/962 2021-08-21 23:38:08 +05:30
nishan8583 354c82defe testing done and also checked 2021-08-21 08:33:27 +05:45
forgedhallpass 2e0552411f Extending test cases for template filtering to make sure that the filter criteria is used with OR operand in case of multiple values + positive and negative scenario for the "extraTags" parameter 2021-08-20 16:21:44 +03:00
nishan8583 39fff4102f timestmap issue and last log not being pushed 2021-08-20 07:27:19 -05:00
nishan8583 9f5f32d477 elasticsearch package added, other changes needs to be shifted 2021-08-20 06:58:58 -05:00
Ice3man d0c5e9baf7
Merge pull request #958 from projectdiscovery/bugfix-http-to-dsl-priority
Fixing priority in response to DSL mapping
2021-08-20 16:28:34 +05:30
GitHub Action adc37acfca Auto Generate Syntax Docs [Fri Aug 20 10:37:41 UTC 2021] 🤖 2021-08-20 10:37:41 +00:00
Ice3man543 2bf3652593 Merge branch 'yamldoc' of https://github.com/projectdiscovery/nuclei into yamldoc 2021-08-20 15:15:09 +05:30
Ice3man543 e34e784756 Merge branch 'dev' of https://github.com/projectdiscovery/nuclei into yamldoc 2021-08-20 15:13:22 +05:30
Ice3man543 232c0d9e0e Fixed some merge problems + misc docgen 2021-08-20 15:11:19 +05:30
mzack bc66ef34df Fixing priority in response to DSL mapping 2021-08-19 15:31:26 +02:00
forgedhallpass 795b77851e * Changed the "custom-fields" attribute to "additional-fields"
* #259 - dynamic key-value field support for template information
* #940 - new infos in template
* #834
* RES-84
2021-08-19 15:57:37 +03:00
Ice3man 6bea033d53
Merge pull request #955 from projectdiscovery/structure-overhaul
Nuclei Structure + Template Loading Overhaul
2021-08-19 17:53:07 +05:30
forgedhallpass 6bfd6bd28f Adjusting the template/workflow loading/filtering logic. 2021-08-19 15:17:25 +03:00
Ice3man543 4cc770f102 Merged dev 2021-08-19 16:51:02 +05:30
Ice3man543 66af0297c0 Exported ParseTemplate + use it everywhere for parsing 2021-08-19 02:10:36 +05:30
Ice3man543 01b902f119 Cleanup some loader parts + moved workflow loading separate 2021-08-19 01:58:54 +05:30
forgedhallpass df8d3bec47 Re-introducing custom template info attribute support within the new struct
* Changed the "customAttributes" to "custom-fields"

* #259 - dynamic key-value field support for template information
* #940 - new infos in template
* #834
* RES-84
2021-08-18 20:10:53 +03:00
forgedhallpass 836740a81f Re-introducing custom template info attribute support within the new struct
* Satisfying the linter

* #259 - dynamic key-value field support for template information
* #940 - new infos in template
* #834
* RES-84
2021-08-18 19:54:02 +03:00
forgedhallpass 7b807cbe88 Merge remote-tracking branch 'upstream/dev' 2021-08-18 19:51:17 +03:00
forgedhallpass e7c74f0c65 Re-introducing custom template info attribute support within the new struct
* #259 - dynamic key-value field support for template information
* #940 - new infos in template
* #834
* RES-84
2021-08-18 19:50:48 +03:00
Ice3man543 297ce0fc83 Changed error message + return template and don't skip 2021-08-18 21:58:20 +05:30
Ice3man543 46347c599d Added error logging on unknown fields in verbose mode 2021-08-18 21:50:42 +05:30
Ice3man 37eaadefea
Merge pull request #951 from projectdiscovery/host-max-errors
Added HostErrorsCache to track errors per-host for skipping failures
2021-08-17 20:43:15 +05:30
sandeep 03d2405c3d misc update 2021-08-17 17:56:35 +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
mzack ea9b700bf0 more fixes 2021-08-17 14:14:47 +02:00
mzack 2e816bf514 Fixing some DSL helpers logic 2021-08-17 14:06:49 +02:00
Ice3man dcf780f7c8
Merge pull request #834 from forgedhallpass/master
RES-84 # Improve Nuclei CLI interface
2021-08-17 16:46:06 +05:30
forgedhallpass 456544d5be RES-84 # Improve Nuclei CLI interface
* Fixed Template Author mapping
2021-08-17 14:05:52 +03:00
Sandeep Singh 0ab66782e0
Merge pull request #950 from projectdiscovery/933-bugfix-dsl-number-conversion
Fixing wrong type conversion in DSL helper
2021-08-17 16:33:58 +05:30
forgedhallpass df3090c0b4 RES-84 # Improve Nuclei CLI interface
* Removing fields with empty value
2021-08-17 13:50:33 +03:00
forgedhallpass f56ff199d6 RES-84 # Improve Nuclei CLI interface
* fixing JSON output for Template Info + test
2021-08-17 13:46:53 +03:00
Ice3man543 a9b4cb076b Add support to clusterer for host errors 2021-08-17 16:05:29 +05:30
Ice3man543 586b4c0f8e Show skipped hosts 2021-08-17 14:50:54 +05:30
forgedhallpass 1106262a4b Merge remote-tracking branch 'upstream/dev' 2021-08-17 12:08:56 +03:00
Ice3man543 b800e2cce2 Cancel http requests if the host keeps erroring 2021-08-17 14:23:42 +05:30
Ice3man543 dd6f9bbc61 Merge branch 'host-max-errors' of https://github.com/projectdiscovery/nuclei into host-max-errors 2021-08-16 21:29:34 +05:30
Ice3man543 8452adfa73 Fixing the linter 2021-08-16 21:28:58 +05:30
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
Ice3man af3fd12128
Merge pull request #949 from projectdiscovery/946-bugfix-runtime-error
Fixing slice runtime error due to unset byte slice capacity
2021-08-16 20:51:49 +05:30
Ice3man 6e45e29995
Merge pull request #924 from savushkin-yauheni/pitchfork-validation-fix
fixed pitchfork validation
2021-08-16 20:49:56 +05:30
mzack dd6874edde Fixing wrong type conversion in DSL helper 2021-08-16 17:16:42 +02:00
mzack d3c1f4ba49 Fixing slice runtime error due to unset byte slice capacity 2021-08-16 17:10:42 +02:00
Sajad Parra 1dec3727bc Merge branch 'dev' into feature/global-payload#554 2021-08-16 00:23:52 +05:30
Sajad Parra cef6459b7e add payload/heelper support for http headers, body, method 2021-08-16 00:14:47 +05:30
Ice3man 09d56f4b67
Merge pull request #937 from projectdiscovery/fix/values-precedence
change values precedence to prioritise default nuclei values
2021-08-13 20:13:52 +05:30
Ice3man 3c9c43ee24
Merge pull request #935 from wdahlenburg/domain_support
Add Additional Generic Url Variables
2021-08-13 20:10:15 +05:30
Ice3man543 2ffffbcc04 Added more variables + misc 2021-08-13 20:08:18 +05:30
Sajad Parra b4ba7ca144 add payload, helper function support to all http requests 2021-08-13 19:40:10 +05:30
Sajad Parra 46e1528cf6 change values precedence to prioritise default nuclei values 2021-08-13 10:05:28 +05:30
Wyatt Dahlenburg da1630fc21 Add additional generic url variables 2021-08-12 12:21:46 -05:00
Bùi Đại Gia 5aad51045c
Add helper function `print_stdout` for debug purposes 2021-08-12 13:54:50 +07:00
sandeep 9588d47986 dev update 2021-08-10 15:23:47 +05:30
mzack fd948b6f96 Adding support to ignore random internal errors 2021-08-10 11:49:01 +02:00
savik fb18feea76
fixed pitchfork validation 2021-08-10 12:34:37 +03:00
mzack a038889c21 Merge branch 'dev' into yamldoc 2021-08-10 08:04:50 +02:00
sandeep 3d49094d07 version update 2021-08-10 02:18:03 +05:30
Sandeep Singh af6a720e21
Merge pull request #900 from projectdiscovery/xpath-extractors
Added xpath extractors for http requests
2021-08-10 02:16:56 +05:30
mzack 08b467e3ca Merge branch 'dev' into feature-cli-variables 2021-08-09 20:11:11 +02:00
mzack fbe9d3d0a4 Merge branch 'dev' into xpath-extractors 2021-08-09 13:04:57 +02:00
mzack 4d81aead0f Merge branch 'dev' into feature-cli-variables 2021-08-09 12:49:29 +02:00
mzack f016a9c4ce merging dev 2021-08-09 12:47:47 +02:00
mzack 22f912e20e misc 2021-08-09 12:38:31 +02:00
mzack b5338a5281 Using goflags runtime map for runtime variables 2021-08-09 10:51:52 +02:00
mzack 5be59c8bea Making map of env vars singleton 2021-08-09 09:49:07 +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
mzack aa0ea8123a thread safe + client reuse refactoring 2021-08-08 21:52:01 +02:00
mzack 24a171ecad fixing linter warnings 2021-08-08 10:28:01 +02:00
mzack 4904bbf494 Fixing automatic keep alive handling with manual connection header 2021-08-08 10:25:17 +02:00
forgedhallpass e999229952 RES-84 # Improve Nuclei CLI interface
* reused some common logic
2021-08-05 18:19:59 +03:00
forgedhallpass ccf65ab1d3 RES-84 # Improve Nuclei CLI interface
* changed the template info content retrieval logic not to use reflection
2021-08-05 16:36:50 +03:00
forgedhallpass 75b21282ab Merge remote-tracking branch 'upstream/dev' 2021-08-05 14:36:28 +03:00
Ice3man543 8449a5e73f Misc changes to docs 2021-08-05 00:54:34 +05:30
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 68ab370c32
fix typos 2021-08-04 10:28:56 -07:00
Ice3man543 01dcb01867 Added more docs examples + Misc 2021-08-04 14:20:48 +05:30
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
Ice3man543 c9ad9cdff4 Updated examples 2021-08-03 20:40:00 +05:30
Ice3man543 8130a76ff1 Misc 2021-08-03 20:36:56 +05:30
Ice3man543 2d0c711638 Fixed lint errors 2021-08-03 20:36:26 +05:30
Ice3man543 2ea47fe386 Fixed integration test 2021-08-03 20:33:12 +05:30
Ice3man543 c743d5d299 Merged from dev 2021-08-03 20:22:16 +05:30
forgedhallpass 138745a6b1 RES-84 # Improve Nuclei CLI interface (WIP)
* Pleasing the linter
2021-08-03 15:39:15 +03:00
forgedhallpass d3154648d2 Merge remote-tracking branch 'upstream/dev' 2021-08-03 15:26:45 +03:00
forgedhallpass fd95b282a1 RES-84 # Improve Nuclei CLI interface (WIP)
* possible replacement of some logic
2021-08-03 15:05:13 +03:00
forgedhallpass a0f7e622b1 RES-84 # Improve Nuclei CLI interface (WIP)
* fix/improve matching logic
2021-08-03 14:59:38 +03:00
forgedhallpass 2f162e859e RES-84 # Improve Nuclei CLI interface (WIP)
* removed the generic isEmpty implementation
2021-08-03 14:51:34 +03:00
Ice3man f516136bd7
Merge pull request #898 from KaulSe/try-add-json-support
Adding JSON extractor support
2021-08-02 22:04:51 +05:30
Ice3man543 688d9e466b Fixed lint error 2021-08-02 21:46:29 +05:30
Ice3man543 11e5520166 Added xpath based extractor support 2021-08-02 21:43:50 +05:30
seb aae26f37a6 add JSONScalarToString and more tests for JSON extractor 2021-08-02 13:19:39 +02: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
Souvik Hazra 250b87aa01 Revert "Support for environment variables with .env file"
This reverts commit 25235523da.
2021-08-02 11:37:37 +05:30
seb d2e7cca17b fix golint 2021-08-01 14:42:04 +02:00
seb cc12babf58 Update extractors.go 2021-08-01 12:38:35 +02:00
seb c76504f0d6 use import () in extractors.go 2021-08-01 12:38:13 +02:00
Souvik Hazra 25235523da Support for environment variables with .env file 2021-08-01 11:00:38 +05:30
seb 3df9be0fa7 Update extractors.go 2021-08-01 00:02:43 +02:00
seb da71945f97 Update operators_test.go 2021-07-31 23:51:23 +02:00
seb 166344d793 add and fix tests for json 2021-07-31 23:48:14 +02:00
seb 3529cfa1d6 json extractor support 2021-07-31 22:49:23 +02:00
Souvik Hazra eb080223d8 Added support for rate limit per minute 2021-07-31 15:46:21 +05:30
Ice3man543 8d0b5d6203 RES-120 Added functional testing implementation 2021-07-30 15:29:12 +05:30
forgedhallpass 68a6d394e7 RES-84 # Improve Nuclei CLI interface (WIP)
* resolving some TODOs
2021-07-30 12:07:58 +03:00
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
sandeep 571a4c3c33 dev update 2021-07-29 20:04:21 +05:30
Ice3man543 5b03d25743 Do no check for template updates with flag 2021-07-29 19:24:39 +05:30
sandeep 774bb0145f version update 2021-07-29 19:18:47 +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
sandeep 808efc3dac dev update 2021-07-27 20:46:14 +05:30
Ice3man543 d04511494d Added new YAML based doc to structures 2021-07-27 16:03:56 +05:30
Ice3man543 ae25d1d108 Fixed filter exclude issue 2021-07-26 16:57:45 +05:30
sandeep b9e7772af6 version update 2021-07-25 17:12:14 +05:30
TheSecEng e9fa301e4f
implementation of custom Exporter/Tracker
- RegisterTracker to allow for custom trackers to be implemented beyond Jira/Github/Gitlab
- RegisterExporter to allow for custom exporters to be implemented beyond Sarif/Disk
2021-07-24 22:39:59 -07:00
Ice3man543 97460f37f9 Stats bugs fixes + no error for no updates 2021-07-25 04:27:25 +05:30
Ice3man543 ecf122c465 Added nuclei-engine auto-update mechanism 2021-07-25 03:07:19 +05:30
Ice3man543 4eecec4c94 Changed file names 2021-07-24 19:28:09 +05:30
Ice3man543 2f05a8c42d gofmt file 2021-07-24 19:27:09 +05:30
Ice3man b78780cd96
Merge branch 'dev' into deserialization-helpers 2021-07-24 19:20:36 +05:30
Ice3man 2b735c2e1e
Merge pull request #851 from TheSecEng/impl/custom/preprocessors
Allow for User supplied Preprocessor Logic
2021-07-24 18:43:08 +05:30
forgedhallpass 3143d5aea9
Merge pull request #853 from TheSecEng/impl/custom/helpers
implement custom helper logic
2021-07-23 22:05:00 +03:00
Zachary Schulze 37626627ef remove unused preprocessor from template 2021-07-23 11:43:50 -07:00
Zachary Schulze 7ebab7875b update
- Added AddHelperFunction comment/usage
- AddHelperFunction returns err on duplicate key definitions
2021-07-23 11:39:30 -07:00
Sandeep Singh a7f3da3983
Merge pull request #855 from ChriZzn/master
Adding DS (DNSSec) Tag to available DNS-Record type
2021-07-22 14:17:23 +05:30
TheSecEng 013311b6b2
Merge remote-tracking branch 'origin/dev' into impl/custom/helpers 2021-07-21 22:05:46 -07:00
cw 9aa783459d Adding DS (DNSSec) Tag to available DNS-Record type 2021-07-21 16:48:01 +02:00
TheSecEng 40f2c562dc
implemente custom helper logic 2021-07-20 23:27:12 -07:00
TheSecEng 2bea3f4b14
all for custom preprocessor 2021-07-20 22:32:44 -07:00
forgedhallpass a431d6d6a8 RES-84 # Improve Nuclei CLI interface
* linter related
* removed some un-used code
2021-07-20 13:06:18 +03:00
mzack d29d7f8b56 Fixing missing headers in request dump 2021-07-19 23:34:22 +02:00
forgedhallpass 5d89bb8056 RES-84 # Improve Nuclei CLI interface
* fixed issues reported by the linter
2021-07-19 21:04:08 +03:00
Ice3man543 0fd65e2bf2 Integrated deserialization helpers to nuclei + Misc bug fixes 2021-07-18 05:35:06 +05:30
Ice3man543 5af0f55ef8 Added more encoding + misc 2021-07-18 04:52:51 +05:30
Ice3man543 f903187df3 Started work on java deserialization helpers 2021-07-18 04:34:39 +05:30
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 2c7d8befcb RES-84 # Improve Nuclei CLI interface (WIP)
* Rename of Info.Severity -> Info.SeverityHolder, Info.Author -> Info.Authors to reflect the underlying data
* extended the IsEmpty(interface{}) to handle maps
2021-07-13 11:12:03 +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
forgedhallpass 0c2964da0a RES-113 # Improve code quality
* created IsEmpty utility method
2021-07-12 16:28:43 +03:00
Sandeep Singh 2790f2c3b5
Merge pull request #823 from projectdiscovery/crash-fix
Nuclei Parallel HTTP Map crash fix
2021-07-10 16:21:12 +05:30
Ice3man543 c2fde993ff Nuclei Parallel HTTP Map crash fix 2021-07-10 14:54:49 +05:30
sandeep 4988ef76b5 minor improvements
Co-Authored-By: Ice3man <22318055+Ice3man543@users.noreply.github.com>
2021-07-08 18:50:03 +05:30
Sandeep Singh 1b8f4b3f25
Merge pull request #820 from projectdiscovery/add-stats-json
Lint fixes and settings stats json to true upon JSON flag
2021-07-08 15:31:29 +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
Ice3man543 99b28fe872 Fixed small lint issue 2021-07-08 15:24:04 +05:30
Ice3man543 e6aad9a9a7 Fixed lowercase uppercase tag/author/severity 2021-07-08 15:22:48 +05:30
Xavier Stevens b51294df15 Fixed linter issues 2021-07-07 13:31:03 -07:00
Xavier Stevens 2c331b2a87 Added flag to ouptut stats in JSON format 2021-07-07 13:30:29 -07:00
sandeep 18abd4866e minor updates 2021-07-08 00:37:58 +05:30
Ice3man543 8f74415cc5 Fix double errors + silent stats show 2021-07-07 19:56:20 +05:30
Ice3man543 8de221f137 Pleasing the linter 2021-07-07 19:16:48 +05:30
Ice3man543 8a80d11467 Support workflows + general code refactor 2021-07-07 19:15:09 +05:30
Ice3man543 da37020939 Fixed occured spelling 2021-07-07 19:05:26 +05:30
Ice3man543 94365a58dc Added validate flag to validate templates 2021-07-07 19:03:14 +05:30
Sandeep Singh 063fede82c
Merge pull request #811 from projectdiscovery/network-features
Network features addition
2021-07-06 22:44:17 +05:30
Ice3man543 3a1c7eb317 Fixed output praser 2021-07-06 21:15:40 +05:30
Ice3man543 2153459a51 Crash fix 2021-07-06 21:13:26 +05:30
Ice3man543 cdb7faaa0b Misc output change 2021-07-06 21:11:30 +05:30
Ice3man543 900c2da89c Fixed lint error 2021-07-06 20:31:32 +05:30
Ice3man543 d9d4f8eb53 Fixed network payloads not appearing in json 2021-07-06 20:30:15 +05:30
Ice3man543 0910d526af Added internal extractor support to network templates 2021-07-06 18:34:25 +05:30
Ice3man543 93ab540b54 Added payload support for network requests 2021-07-06 18:27:30 +05:30
Ice3man543 b7d1d5e69e Fixed tag inclusion logic 2021-07-06 17:37:18 +05:30
Ice3man543 4db5e92cee Fixed lint errors 2021-07-06 13:59:38 +05:30
Ice3man543 142e3709c7 Fixed bug with workflow 2021-07-06 13:18:18 +05:30
Ice3man543 b7a5287370 Fixed workflow tag based execution logic 2021-07-05 21:56:40 +05:30
Ice3man543 c90d2eb4c8 Tags field type change for workflow 2021-07-05 21:02:38 +05:30
Ice3man543 1037dace47 Misc bug fixes with workflow execution and tags 2021-07-05 21:01:51 +05:30
Ice3man543 d05453effe Fixed workflow conditions 2021-07-05 17:41:39 +05:30
Ice3man543 aaf38a531e Fixed lint errors + misc 2021-07-05 17:29:45 +05:30
Ice3man543 39af527234 Fixed some bugs with workflow loader 2021-07-05 14:25:42 +05:30
Ice3man543 0726acc3d1 Workflows restructured to work with filters + tag support 2021-07-05 04:35:53 +05:30
Ice3man543 3dbf51f1a3 Merge branch 'loader-fix' of https://github.com/projectdiscovery/nuclei into loader-fix 2021-07-02 15:48:55 +05:30
Ice3man543 714aec1219 Fixed lint tests 2021-07-02 15:46:42 +05:30
Ice3man ffa733b8ff
Merge branch 'dev' into loader-fix 2021-07-02 15:44:18 +05:30
Ice3man543 cddb0cb8af Fixed exclude filter for tags 2021-07-01 21:09:33 +05:30
Ice3man543 6c77d891cd Merge branch 'loader-fix' of https://github.com/projectdiscovery/nuclei into loader-fix 2021-07-01 21:03:56 +05:30
Ice3man543 d57d1ecae2 Fixed filter allow condition with tag and etags 2021-07-01 21:02:57 +05:30
Ice3man543 12deece54b Fixed bug with .nuclei-config check 2021-07-01 20:57:22 +05:30
sandeep 98e82c5f11 Update config.go 2021-07-01 20:35:40 +05:30
Ice3man543 d58180d588 Added vv flag to display more extra verbose information 2021-07-01 18:22:08 +05:30
Ice3man543 6bc0b34354 Fixed include condition logic 2021-07-01 16:29:26 +05:30
Ice3man543 ba3804107e Fix some exclude conditions for tags 2021-07-01 16:16:23 +05:30
Ice3man543 dff76e9cd2 Loader rewriter working poc 2021-07-01 14:36:40 +05:30
Ice3man543 7669e9781a Rework template loading into individual module + better tags and filters 2021-06-30 18:39:01 +05:30
ᴍᴏᴏɴD4ʀᴋ 1fc4fcb7c9 refactor: err is always nil 2021-06-26 23:49:56 +08:00
ᴍᴏᴏɴD4ʀᴋ dc177a45db style: fix typo 2021-06-26 23:49:31 +08:00
Ice3man 7da6034f01
Merge branch 'dev' into bugfix-741 2021-06-26 18:30:56 +05:30
Ice3man 930fa094d5
Merge pull request #782 from projectdiscovery/bugfix-699-zombie-chome-processes
Fixing chrome zombie processes termination
2021-06-26 18:29:34 +05:30
Ice3man 6defa450b8
Merge pull request #787 from projectdiscovery/feature-785-rawhttp-timeout
[Feature] Adding rawhttp timeout
2021-06-26 18:28:38 +05:30
mzack f8ae8aa86f reverting change and adding check on matched flag 2021-06-26 02:03:20 +02:00
mzack 1687bdd7c3 Removing check on internal dymanic values 2021-06-25 18:37:02 +02:00
ganoes 428bb9b0b6 Merge branch 'dev' of https://github.com/projectdiscovery/nuclei into dev 2021-06-25 10:12:10 +02:00
mzack 713433026d Adding support for timeout in rawhttp 2021-06-25 08:16:54 +02:00
Mzack9999 118ddcdd79 removing unused code 2021-06-21 11:08:40 +02:00
Mzack9999 4c2e1ef5e4 Fixing chrome zombie processes termination 2021-06-21 10:51:52 +02:00
Mzack9999 b9bcebdcee Adding hex output for network request/response 2021-06-21 08:52:14 +02:00
Mzack9999 5acde94015 ignore misconfigured gzip server errors 2021-06-17 16:26:23 +02:00
Mzack9999 ba01a1c4ed Adding support for misconfigured gzip header from server 2021-06-17 14:36:25 +02:00
Ice3man543 8ea3f5d0c8 Fixed lint errors for struct size 2021-06-15 11:49:32 +05:30
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
Ice3man543 fa9195eacb Lint issues fixes 2021-06-14 17:14:16 +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 2ec27d4466 Fixed EOF read error 2021-06-09 11:15:21 +05:30