Commit Graph

490 Commits (fdaa8e4539b38c8980432d8c8ec3bbcebdce71ae)

Author SHA1 Message Date
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 Singh a0872989ab
Merge pull request #983 from projectdiscovery/fix-crashes-config
Fixed internal config reading crashes
2021-08-30 02:44:17 +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 b83de5fb88 Fixed internal config reading crashes 2021-08-27 23:23:01 +05:30
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
Ice3man543 e7a0417bc2 Fixed interactsh edge case + debug mode logging for interact 2021-08-26 02:43:58 +05:30
Ice3man543 fb2ec8f5d2 Fixed problems with nuclei templates update logic 2021-08-25 18:52:51 +05:30
Ice3man543 0088893310 Fix for template directory location override 2021-08-25 18:24:10 +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 3476e5b7c1 Auto-generate fields of enum 2021-08-24 14:37:34 +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 71c0d217e2 Replacing "path." methods to "filepath." in order to make the code OS independent 2021-08-23 14:54:28 +03:00
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 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
Ice3man543 66af0297c0 Exported ParseTemplate + use it everywhere for parsing 2021-08-19 02:10:36 +05:30
Ice3man543 46347c599d Added error logging on unknown fields in verbose mode 2021-08-18 21:50:42 +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
forgedhallpass f56ff199d6 RES-84 # Improve Nuclei CLI interface
* fixing JSON output for Template Info + test
2021-08-17 13:46:53 +03:00
Ice3man543 586b4c0f8e Show skipped hosts 2021-08-17 14:50:54 +05:30
Ice3man543 3177aea6f9 Misc 2021-08-17 14:33:50 +05:30
Ice3man543 b800e2cce2 Cancel http requests if the host keeps erroring 2021-08-17 14:23:42 +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
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 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
TheSecEng 825f417b53
fixes
- Rename Targets -> TargetsFilePath
- Rename Target -> Targets
- Implement target checks (empty, dupe)
- Update documentation
2021-08-03 22:47:09 -07:00
forgedhallpass d3154648d2 Merge remote-tracking branch 'upstream/dev' 2021-08-03 15:26:45 +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 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
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
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
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
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
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
forgedhallpass a431d6d6a8 RES-84 # Improve Nuclei CLI interface
* linter related
* removed some un-used code
2021-07-20 13:06:18 +03:00
forgedhallpass 5d89bb8056 RES-84 # Improve Nuclei CLI interface
* fixed issues reported by the linter
2021-07-19 21:04:08 +03:00
forgedhallpass c9217d2775 RES-84 # Improve Nuclei CLI interface (WIP) 2021-07-19 17:29:28 +03:00
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
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 784dd1090b RES-84 # Improve Nuclei CLI interface
* "enum" for safely working with severities
2021-07-12 16:28:43 +03:00
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 017b171169 Some UI changes to nuclei 2021-07-08 15:15:26 +05:30
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 53cfeb1d58 Pleasing linter part - 2 2021-07-07 19:23:25 +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 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 1037dace47 Misc bug fixes with workflow execution and tags 2021-07-05 21:01:51 +05:30
Ice3man543 aaf38a531e Fixed lint errors + misc 2021-07-05 17:29:45 +05:30
Ice3man543 0726acc3d1 Workflows restructured to work with filters + tag support 2021-07-05 04:35:53 +05:30
sandeep 53a84f7e93 Update runner.go 2021-07-03 17:43:02 +05:30
Ice3man543 56ff3a0554 Fixed update printing logic 2021-07-03 16:37:21 +05:30
Ice3man543 6c4753afb5 Fixed integration tests 2021-07-03 16:28:47 +05:30
Ice3man543 cc7e55b8dd Fixed update tests 2021-07-03 16:20:19 +05:30
Ice3man543 57f29c8136 Auto template download/update 2021-07-03 16:13:32 +05:30
Ice3man ffa733b8ff
Merge branch 'dev' into loader-fix 2021-07-02 15:44:18 +05:30
Ice3man543 12deece54b Fixed bug with .nuclei-config check 2021-07-01 20:57:22 +05:30
Ice3man543 d58180d588 Added vv flag to display more extra verbose information 2021-07-01 18:22:08 +05:30
Ice3man543 e440ab5cba Fixed nuclei/templates version check 2021-07-01 16:39:00 +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
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 08bfdaface version update 2021-06-12 17:17:22 +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
Ice3man543 b2e416b0dd Fixed nuclei panic for issue #760 2021-06-11 14:44:37 +05:30
sandeep bd38c16e0a Update banner.go 2021-06-08 16:46:34 +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
Sandeep Singh 1dcb3c0aca
Merge pull request #702 from projectdiscovery/nuclei-interact-improve
Improvements to interactsh integration + no fatal for interact
2021-05-09 02:38:01 +05:30
Ice3man543 f85a421550 Improvements to interactsh integration + no fatal for interact 2021-05-09 01:37:22 +05:30
sandeep ecae98b8a0 version update 2021-05-08 15:27:11 +05:30
sandeep e3e766c641 version update 2021-05-04 17:02:33 +05:30
Ice3man543 6a4f3e1336 Reporting added to OOB interaction results 2021-05-03 14:08:09 +05:30
Sandeep Singh 33f1e23e87
Merge branch 'dev' into interactsh-server-support 2021-05-01 12:05:27 +05:30
sandeep 4e390dbccf Version update 2021-04-28 10:55:33 +05:30
Ice3man543 993416d77c Misc 2021-04-18 17:29:01 +05:30
Ice3man543 33bf306f28 Working interactsh integration 2021-04-18 16:10:10 +05:30
mzack 54540f3a22 adding shared fastdialer + missing cleanup 2021-04-18 11:57:43 +02:00
Ice3man543 4c594627a9 Started work on interact.sh support 2021-04-16 16:56:41 +05:30
sandeep dbaa573b97 version update 2021-04-02 22:06:59 +05:30
Ice3man543 459fe31e0b Lint error fix 2021-04-02 21:32:56 +05:30
Ice3man543 8da933af53 Misc 2021-04-02 18:44:28 +05:30
Ice3man543 0d0e3f5523 Merge branch 'master' of https://github.com/projectdiscovery/nuclei 2021-04-02 18:41:07 +05:30
Ice3man543 6804bd79e8 New ignore functionality + error to warning 2021-04-02 18:40:58 +05:30
sandeep 5ea05b385a version update 2021-04-01 01:46:40 +05:30
Ice3man543 973e0be3e1 MIsc 2021-04-01 01:39:25 +05:30
Ice3man543 8d3163a842 Fixed a small bug 2021-04-01 01:37:40 +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 6f491b8c6c Bug fix 2021-03-22 17:30:49 +05:30
sandeep 86ced85a02 version bump 2021-03-22 17:26:47 +05:30
Ice3man543 893aff46f6 Fixed linter 2021-03-22 17:17:58 +05:30
Ice3man543 363fb34520 Misc 2021-03-22 17:10:58 +05:30
Ice3man543 9521daf3aa Fixed nuclei ignore to read from .config 2021-03-22 15:48:27 +05:30
Ice3man543 bfa2dacb7b Misc 2021-03-22 15:00:26 +05:30
Ice3man543 6794cbf4b6 Bug fixes 2021-03-22 14:48:11 +05:30
Ice3man543 f6a480f0b4 Added disk exporters + changed some reporting modules around 2021-03-22 14:03:05 +05:30
Ice3man 39d57ea509
Fixed various post v2.3.1 release bugs (#636)
* Don't print timestamp with no metadata

* Fixed all templates running with some inputs

* Upgraded clistats to fix crash

* Fixed crash with ignored payload file

* Fixed stats counter issue for network templates
2021-03-19 22:13:41 +05:30
Ice3man543 4d752b4811 Bump version 2021-03-14 01:46:55 +05:30
Ice3man543 4a96f95086 Misc fixes 2021-03-14 01:39:52 +05:30
Ice3man543 788465fc36 Bug fix: missing parantheses 2021-03-14 01:19:43 +05:30
Ice3man543 bafa8661c9 Added exclude-tag flags 2021-03-14 01:15:33 +05:30
Ice3man543 d8bb580618 Add severity to executable tags 2021-03-13 23:34:44 +05:30
Ice3man543 f6fc4e58e7 Fixed severity parsing for templates with commas 2021-03-13 23:24:30 +05:30
Ice3man543 589778d9d2 Moved internal/progress to pkg, used interface 2021-03-09 17:19:03 +05:30
Ice3man543 195c6b7692 Fixed linting errors 2021-03-09 15:00:22 +05:30
Ice3man543 220c779a9a Misc 2021-03-07 11:45:00 +05:30
sandeep 91295266e3 version update 2021-03-06 20:47:49 +05:30
Ice3man543 0dd2e10fd2 Misc changes / fixes 2021-03-06 14:31:21 +05:30
Ice3man543 dafe819c8b Misc changes 2021-03-05 12:17:10 +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
Mzack9999 b7c19e7ffe adding final print for stats 2021-03-03 19:55:34 +01:00