96 Commits

Author SHA1 Message Date
shubhamrasal
cff0d88742 Add tests for parse function
- update the ioutils to io.ReadAll
- remove extra line
2022-12-19 18:51:20 +05:30
shubhamrasal
de3dda0030 Update the Parse function to use ParseFromReader 2022-12-15 17:41:07 +05:30
shubhamrasal
198d84ec25 Add ParseFromReader function 2022-12-13 12:57:47 +05:30
vrenzolaverace
2aaf2a2158
Use utils helpers libraries (#2809) (#2810)
* Use utils helpers libraries (#2809)

* Use utils helpers libraries (#2809)
2022-11-07 01:54:23 +05:30
Ice3man
7e209dad01
Added multi-protocol requests support for templates (#2611) 2022-09-16 23:10:39 +05:30
Ice3man
67d5769cd9
Added initial catalog interface implementation (#2318)
* Added initial catalog interface implementation

* Added OpenFile to Catalog + disk catalog implementation

* Fixed merge issues

Co-authored-by: sandeep <sandeep@projectdiscovery.io>
2022-08-10 11:05:58 -07:00
Mzack9999
3c945f6ae9
Adding stricter check on offline templates list (#2213) 2022-07-11 22:38:07 +05:30
Ice3man
a0ece302d1 Moved variables to template level + misc 2022-03-31 00:54:35 +05:30
Sajad Parra
c6de2ca406 rename few vars, extract duplicate functions to utils 2022-01-24 16:48:12 +05:30
Sajad Parra
d1303797c0 * Add support to run remote template
* Add remote-template-domain config only flag to specify allowed domain list to load remote templates from
2022-01-12 18:33:17 +05:30
Sandeep Singh
2dc877a99f
Merge pull request #1247 from projectdiscovery/research-aws-signing
Adding support for aws request signing
2021-12-20 01:06:13 +05:30
Sajad
5200bcd94f
Whois Protocol Support (using rdap) (#1354)
* init rdap

* add an integration test, option to supply RDAP server to execute the request on

* add rdap protocolMappings

* add debug info, add IP, ASN query type support

* rename rdap to whois, Host to Query in template

* rename pending rdap to whois

* remove port from whois varaiables

* set Host variable even if input is not a parsable url
2021-12-16 17:08:02 +05:30
mzack
c47196bcc8 Merge branch 'dev' into research-aws-signing 2021-12-06 08:17:03 +01:00
Sajad Parra
f60e93aae1 add template level stop at first match option 2021-11-29 16:01:06 +05:30
mzack
38ff8f75b1 adding signature syntax validation 2021-11-17 01:28:35 +01:00
mzack
eb61c519c3 converting to post-processor prototype 2021-11-13 03:17:05 +01:00
mzack
34889d50f8 correcting variable name 2021-11-12 19:58:12 +01:00
mzack
882a156b63 Merge branch 'dev' into research-aws-signing 2021-11-12 19:55:35 +01:00
mzack
041361c45e Adding aws sign prototype 2021-11-12 19:29:45 +01:00
Ice3man543
a10b79d7a8 merge from engine-refactor and dev 2021-10-29 18:26:06 +05:30
Ice3man543
97645dde52 Added new workpool package + Misc refactor 2021-10-27 15:53:04 +05:30
Ice3man543
2a84b9eb44 misc 2021-10-26 20:40:02 +05:30
Ice3man543
a0318ffc8f Started refactor of template compilation + protocol building 2021-10-26 20:36:44 +05:30
Ice3man
f25c7c3a1d
Merge branch 'dev' into more-protocols 2021-10-20 21:29:28 +05:30
Ice3man543
612ab61df4 Reworked self-contained requests to template 2021-10-19 21:29:18 +05:30
Ice3man543
396f17484e Added websocket protocol support to nuclei 2021-09-27 18:02:49 +05:30
Ice3man543
f6e9acf06f More work on other protocol additions 2021-09-23 18:30:44 +05:30
Ice3man543
5c31b75ac7 Added ssl protocol to nuclei 2021-09-22 22:41:07 +05:30
forgedhallpass
0cabce518f Merge branch 'dev' into code_smells 2021-09-02 12:30:43 +03:00
Ice3man543
c3e32f5e15 Added new stats counters + validation fixes 2021-08-31 19:27:26 +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
Ice3man543
1946d2ec52 Fixed a crash in workflow loader 2021-08-30 16:58:11 +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
08fdc3bdcc Added cache package + misc changes to loaders 2021-08-28 00:15:28 +05:30
forgedhallpass
36b1c08edc Optimize template validation 2021-08-27 17:06:06 +03: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
TheSecEng
2bea3f4b14
all for custom preprocessor 2021-07-20 22:32:44 -07:00
forgedhallpass
5d89bb8056 RES-84 # Improve Nuclei CLI interface
* fixed issues reported by the linter
2021-07-19 21:04:08 +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
Ice3man543
4db5e92cee Fixed lint errors 2021-07-06 13:59:38 +05:30
Ice3man543
0726acc3d1 Workflows restructured to work with filters + tag support 2021-07-05 04:35:53 +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
d9bb1393d3 Improvements to sarif report 2021-06-05 23:00:59 +05:30
Ice3man543
35402d6414 Cosmetic changes 2021-03-14 01:44:35 +05:30
Ice3man543
35bdde6be6 Fixed a bug with exclude lists 2021-03-14 01:23:41 +05:30