Commit Graph

1021 Commits (1b2c1b87329352e3bd9d2f22955fbcbb24c7d67d)

Author SHA1 Message Date
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
forgedhallpass cc55e26446 RES-84 # Improve Nuclei CLI interface (WIP)
* Pleasing the linter
2021-08-04 17:51:34 +03: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
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
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 d61c7578c1 make tidy 2021-07-31 23:59:32 +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
sandeep 0eea45fb60 Add building step 2021-07-30 20:01:27 +05:30
Ice3man543 a9ecc1fbca Statisfying the linter 2021-07-30 15:30:44 +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 61428b0c9b
fix string comparison 2021-07-29 08:24:40 -07: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
forgedhallpass 53de8d77f2 Removing normalization of case-sensitive parameters
Integrated new goflags version (v0.0.6)
2021-07-29 13:36:44 +03:00
sandeep 2594b282fe go mod update 2021-07-29 16:05:34 +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
Geeknik Labs 7448869f29
Update main.go
typo fix
2021-07-27 08:35:37 -05:00
Ice3man543 d04511494d Added new YAML based doc to structures 2021-07-27 16:03:56 +05:30
Sandeep Singh c227e6ca8e
Merge pull request #862 from projectdiscovery/goflags-grouping
Refreshed CLI Help menu with Grouping options
2021-07-27 00:29:22 +05:30
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
Ice3man543 ae25d1d108 Fixed filter exclude issue 2021-07-26 16:57:45 +05:30
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 b9e7772af6 version update 2021-07-25 17:12:14 +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 20e519ec04 Merge branch 'dev' of https://github.com/projectdiscovery/nuclei into dev 2021-07-25 16:06:35 +05:30
Ice3man543 8650fdbe5a Show message on no new update 2021-07-25 16:06:12 +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
sandeep 62a957d812 misc updates 2021-07-25 04:31:22 +05:30
Ice3man543 97460f37f9 Stats bugs fixes + no error for no updates 2021-07-25 04:27:25 +05:30
Ice3man543 274dc490a4 Misc update 2021-07-25 04:25:31 +05:30
sandeep 1b00efc8e3 misc update 2021-07-25 03:45:10 +05:30
Ice3man d5b19c6723
Fixed bug with updates on windows test repo name 2021-07-25 03:37:05 +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
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
forgedhallpass 795978c78f RES-84 # Improve Nuclei CLI interface
* goflags update to v0.0.5
2021-07-19 17:51:37 +03:00
forgedhallpass c9217d2775 RES-84 # Improve Nuclei CLI interface (WIP) 2021-07-19 17:29:28 +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 4b850662d3 RES-84 # Improve Nuclei CLI interface (WIP)
* unit test fix
2021-07-16 17:36:30 +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 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
sandeep 1215832549 Minor release fix 2021-07-12 17:35:15 +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 71634aa039 Minor release fix 2021-07-12 19:24:04 +05:30
forgedhallpass 0c2964da0a RES-113 # Improve code quality
* created IsEmpty utility method
2021-07-12 16:28:43 +03:00
forgedhallpass 784dd1090b RES-84 # Improve Nuclei CLI interface
* "enum" for safely working with severities
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 58fc6b8180 flag tweaks 2021-07-09 00:46:12 +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 6a4b541de1 Automatically set statsjson to true when passed json 2021-07-08 15:26:58 +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
Ice3man543 017b171169 Some UI changes to nuclei 2021-07-08 15:15:26 +05:30
Xavier Stevens b51294df15 Fixed linter issues 2021-07-07 13:31:03 -07:00
Xavier Stevens 41cf65978c Fixed args to NewStatsTicker method call 2021-07-07 13:30:41 -07:00
Xavier Stevens 2c331b2a87 Added flag to ouptut stats in JSON format 2021-07-07 13:30:29 -07:00
sandeep c41672802b temporary lint fix 2021-07-08 00:47:21 +05:30
sandeep 262cb74b45 Update runner.go 2021-07-08 00:41:22 +05:30
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 53cfeb1d58 Pleasing linter part - 2 2021-07-07 19:23:25 +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
Sandeep Singh cfb912b099
Merge pull request #809 from projectdiscovery/workflows-loader-fix
Workflows restructured to work with filters + tag support
2021-07-06 18:04:51 +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