Tarun Koyalwar
f7fe99f806
add flow support in template (i.e javascript scripting) ( #4015 )
...
* add flow logic
* progress
* working POC
* fix string slice normalization issue in variables
* update
* fix nil panic
* remove poll()
* load file with sandbox and more
* fix failing integration tests
* JS: log: print in vardump format
* fix missing id in protocols
* fix proto prefix in template context
* flow: add unit tests
* conditional flow support using flow
* fix proto callbacks + more unit tests
* adds integration test
* conditional flow: check if req has any matchers
* fix lint error
* deprecate iterate-all+ missing multi-proto implementation
* fix ip input in raw request
* JS: feat dedupe object+ more builtin funcs
* feat: hide protocol result using hide
* feat: async execution
* complete async execution support
* fix condition-flow without any matchers
* refactor: template executer package (tmplexec)
* flow executor working
* fix data race in templateCtx
* templateCtx redesign
* fix failing unit test
* add multiprotocol support to deprecated syntax
* fix race condition in utils & tlsx
* add documentation in flow package
* remove regions.txt file
* fix minor issue with self contained templates
* fix typos of copilot
* dep + misc update
* fix reqID: use req.Type instead of template.Type
---------
Co-authored-by: sandeep <8293321+ehsandeep@users.noreply.github.com>
2023-08-31 18:03:01 +05:30
Mzack9999
e5154d362a
fixing payload load ( #3927 )
...
* fixing payload load
* Added tests for load payloads edge-case + fixed error
* Added separate flags for network and file sandbox
* Fixed tests for payload loader
* Fixed integration tests locally
* readme update
---------
Co-authored-by: Ice3man <nizamulrana@gmail.com>
Co-authored-by: sandeep <8293321+ehsandeep@users.noreply.github.com>
2023-07-14 19:39:32 +05:30
Keith Chason
4d6080f3bc
"Executer" to "Executor" ( #3760 )
...
* Fix spelling of "executer" to "executor"
* minor change: use defer file.Close()
---------
Co-authored-by: Tarun Koyalwar <tarun@projectdiscovery.io>
2023-06-01 02:28:10 +05:30
Tarun Koyalwar
bf08913cd0
update logic + config management refactor ( #3567 )
...
* adds template manager
* refactor: checkpoint
* centrailized config & template download logic
* refactor removed unused code
* use global template directory
* update related bug fixes
* bug fix create cfg dir if missing
* fix lint error
* bug fix skip writing template dir in callback
* misc update
* remove unused code
* use strings.equalfold for comparison
---------
Co-authored-by: sandeep <8293321+ehsandeep@users.noreply.github.com>
2023-04-19 21:58:48 +05:30
Tarun Koyalwar
d9e953acfa
fix file input in custom vars for self contained http template ( #3385 )
...
* fix file input in variables(-V)
* fix lint error
* fix nuclei-ignore file failures
2023-03-04 04:57:27 +05:30
王一之
85090b7531
fix some json deserialization issues
2023-02-17 14:21:25 +08:00
Ice3man
e7fb40a413
Added sandboxing for payload files and requests
2022-11-16 13:49:24 +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
d956f08cb9
Added attack-type option to override template attack-type ( #2724 )
...
* Added attack-type option to override template attack-type
* Added docs + integration tests
2022-10-19 03:51:45 +05:30
Ice3man
7875b06fc8
Added exclude-matchers support for template & matchers ( #2218 )
...
* Added exclude-matchers support for template & matchers
* Fixed panics due to typo
* Added support for only template ID + misc cleanup
2022-06-24 23:09:27 +05:30
forgedhallpass
72af50155d
Typo fixes
2022-02-07 16:41:55 +02:00
Sajad Parra
7a96a7c931
Merge branch 'dev' into dsl-variable-support
2021-12-02 16:50:50 +05:30
Sajad Parra
10e5595980
Merge branch 'dev' into dsl-variable-support
2021-11-30 18:41:18 +05:30
Ice3man543
eb7c704d36
Merging from dev
2021-11-30 16:23:39 +05:30
Sandeep Singh
be66166b9d
Merge pull request #1282 from projectdiscovery/network-vars
...
Added additional variables for network + simplified logic
2021-11-30 12:10:26 +05:30
Sajad Parra
d97aee01c3
Merge branch 'dev' of https://github.com/projectdiscovery/nuclei into dsl-variable-support
2021-11-29 13:36:09 +05:30
sandeep
5a1c7a62b2
missing goimports
2021-11-28 04:55:18 +05:30
Sandeep Singh
670f0d6775
Merge branch 'dev' into network-vars
2021-11-28 04:42:08 +05:30
Ice3man543
c720354be2
Added part definition information to docs + misc
2021-11-26 16:23:54 +05:30
forgedhallpass
7e22d70ded
refactor/documentation: typos and grammatical errors
2021-11-25 18:54:16 +02:00
Ice3man543
caaa5c6594
Automatically generate docs for enum values
2021-11-25 19:34:01 +05:30
Sajad Parra
7e9272776d
add variable support to dsl, remove dynamicValues from request struct
2021-11-25 16:19:42 +05:30
Ice3man543
6c819d7917
Added additional variables for network + simplified logic
2021-11-23 10:44:31 +05:30
Mzack9999
7f5f791e23
Adding dns trace support in dns templates ( #1236 )
...
* Adding dns trace support in dns templates + minor refactoring
2021-11-18 19:22:11 +05:30
LuitelSamikshya
64a93a4570
enum changes for network type ( #1233 )
...
* enum changes for network type
2021-11-18 19:18:47 +05:30
Ice3man543
8ad3ebcd05
Made code changes as per review comments
2021-11-05 03:01:41 +05:30
Ice3man543
a60b10afca
Added an enum for attackType
2021-11-04 02:41:56 +05:30
Ice3man543
a7c8d0473c
Removed duplicate attackType logic + move attackType to generators
2021-11-04 02:28:48 +05:30
Ice3man
aa8b15c1f4
Merge pull request #1111 from projectdiscovery/issue-829-network-read-all
...
Adding support to read tcp data stream till the end
2021-10-25 17:28:56 +05:30
Ice3man543
612ab61df4
Reworked self-contained requests to template
2021-10-19 21:29:18 +05:30
Mzack9999
cdfafa3013
Merge branch 'dev' into issue-829-network-read-all
2021-10-19 11:28:33 +02:00
Ice3man543
8c9d9a77bf
Added self-contained to network protocol
2021-10-17 18:50:07 +05:30
Ice3man
c4cc0ad0bf
Merge pull request #1114 from projectdiscovery/misc-cleanups
...
Misc sniper payload cleanups
2021-10-14 16:13:44 +05:30
sandeep
a9cb83ff27
misc sniper cleanups
2021-10-13 13:19:00 +05:30
mzack
f8d5d02570
Adding support to read tcp data stream till the end
2021-10-12 23:28:24 +02:00
forgedhallpass
8392143944
Merge remote-tracking branch 'origin/dev' into colorize_responses
2021-10-11 14:00:53 +03:00
Ice3man
e79c6262b9
Merge branch 'dev' into cli-variables-as-payload
2021-10-09 19:57:48 +05:30
Ice3man543
df1c133f68
Misc
2021-10-09 19:53:37 +05:30
Ice3man543
3584a4b12a
Added validation for invalid payload attack type
2021-10-09 19:53:12 +05:30
mzack
12b6b2ca89
Add support for CLI payload variables
2021-10-07 12:36:27 +02:00
forgedhallpass
898c9431b5
[feature] Add coloring to debug information #999
...
* corrected/renamed receivers from one character names to human-readable format
2021-10-01 14:30:04 +03:00
sandeep
aff4197ea9
Merge branch 'dev' of https://github.com/projectdiscovery/nuclei into matchers-enhancement#555
2021-09-21 16:36:58 +05:30
forgedhallpass
c5a1753548
Merge branch 'dev' into patch-4
2021-09-16 20:35:43 +03:00
Geeknik Labs
2aee208050
Update network.go
...
minor nit
2021-09-16 11:33:20 -05:00
Sajad Parra
f1ad6f6bc5
add payload, variable, helper support to matchers
2021-09-15 18:02:22 +05:30
forgedhallpass
0ce33927c7
Typo fixes.
2021-09-07 17:31:46 +03:00
sandeep
cb5c0cde1d
misc docs update
2021-09-01 15:08:46 +05:30
Ice3man543
6a673053c2
Added jsonschema generation for yaml syntax
2021-08-23 23:50:45 +05:30
Ice3man543
01dcb01867
Added more docs examples + Misc
2021-08-04 14:20:48 +05:30
Ice3man543
334243d160
Adding documentation generation to nuclei
2021-08-03 22:33:50 +05:30