Sami
512eab7b21
tl flag improvements ( #2596 )
...
* tl flag improvements
* tl flag enhancement with additional filters
* added ExcluedTags filter
* tl flas to list template paths
* using stdout
* misc update
Co-authored-by: sandeep <sandeep@projectdiscovery.io>
2022-09-21 03:03:57 +05:30
Mzack9999
99c14f4c9c
implementation of rate limiter with bucket refill and unrestricted token burst ( #2536 )
...
* implementation of rate limiter with interval burst
* fixing import path
* fixing syntax
* adding tests
* fixing lint errors
* adding support for context
* moving rate limiter earlier to avoid hitting timeout
2022-09-19 17:09:28 +05:30
mzack
37c016a5f0
fixing lint errors
2022-09-19 08:38:52 +02:00
Ice3man
04b47b0309
Added custom json-unmarshaller + misc updates ( #2556 )
...
* Added custom json-unmarshaller + misc updates
* Added support for nuclei-cloud based scan execution
* Removed unnecessary files
* Misc
* Changes as per review comments
* misc option update
Co-authored-by: sandeep <sandeep@projectdiscovery.io>
2022-09-19 01:13:59 +05:30
forgedhallpass
fc0763641f
New dsl functions ( #2545 )
...
* Update GO version to 1.18
* Removed redundant entry from the .gitignore file
* Added new DSL functions
to_unix_time(input string, optionalLayout string) int64
hex_to_dec(input string) float64
oct_to_dec(input string|number) float64
bin_to_dec(intput string|number) float64
* Notify if debug is enabled when a proxy cannot be validated
* Documentation: Go version requirement updated to 1.18
* test fix: Timezone agnostic date expectation in the assertion
* code review: extracted the default date-time layouts into a global variable
2022-09-07 00:44:29 +05:30
Ice3man
466176e9e8
Merge pull request #2500 from projectdiscovery/goflags-update
...
Updated goflags to latest + misc
2022-08-30 11:52:25 +05:30
Sandeep Singh
e329428684
fix: make headless template validation optional ( #2507 )
2022-08-29 03:00:58 +05:30
Ice3man
8892250583
Updated goflags to latest + misc
2022-08-27 19:35:17 +05:30
Mzack9999
30054d1fb6
Adding advanced template filtering ( #2374 )
...
* Adding advanced template filtering
* fixing bug in slice
* refactoring tests
* adding test cases
* increasing error verbosity
* fixing quoted fields with spaces
* adding more test cases
* fixing merge error
* fixing lint errors
* switching to []string
* updating tag filter tests
* updating functional tests
* fixing functional test cases
* updating syntax
2022-08-25 16:52:08 +05:30
Sami
0aac36a44b
added custom config flag ( #2399 )
...
* added custom config flag
* config.yaml file in custom directory
* lint error fix
* few updates and error checks
* fix lint error
* copy config.yaml file if the dest folder does not exist
* lint error check
* added integration test
* improved test cases
* lint error fix
2022-08-25 16:10:07 +05:30
Ice3man
7b7936b7a5
Added show-actions flag to display headless actions ( #2456 )
...
* Added show-actions flag to display headless actions
* misc update
* readme update
Co-authored-by: sandeep <sandeep@projectdiscovery.io>
2022-08-25 10:43:32 +05:30
Ice3man
77c81834b2
Fixed loader templateConfig nil pointer crash ( #2486 )
2022-08-24 19:32:56 +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
b942ddc6ad
Fixing map race condition ( #2340 )
2022-07-26 18:30:15 +05:30
Mike Rheinheimer
9efba05e0c
expose hosterrorscache.Cache as an interface ( #2291 )
...
* expose hosterrorscache as an interface, change signature to capture the error reason
* use the hosterrorscache.CacheInterface as struct field so users of Nuclei embedded can provide their own cache implementation
Co-authored-by: Mike Rheinheimer <mrheinheimer@atlassian.com>
2022-07-19 02:05:53 +05:30
invist
db727db006
Optionally disable templates syntax strict check ( #2266 )
...
* nuclei::templates|define strict option (default)
* renaming flag and internal variable
* misc flag update
Co-authored-by: c-f <you@example.com>
Co-authored-by: mzack <marco.rivoli.nvh@gmail.com>
Co-authored-by: sandeep <sandeep@projectdiscovery.io>
2022-07-13 17:00:11 +05:30
Sami
6c2fdd3387
Issue 2227 ntv flag run new templates added in specific version ( #2275 )
...
* ntv flag to run templates added in specified version
* added missing arguments
* misc update
* added functional test and err check
* updated the min version
Co-authored-by: sandeep <sandeep@projectdiscovery.io>
2022-07-13 16:49:06 +05:30
Sajad
be73fde0db
use go-homedir instead of standard os.userhomedir ( #2262 )
...
* use go-homedir instead of standard os.userhomedir
* set r.templatesConfig before write attempt to avoid panic
2022-07-13 13:33:13 +05:30
Mzack9999
476773ff8c
Replacing hasstdin with helper library ( #2191 )
...
* Replacing hasstdin with helper library
* adding timeout reader on stdin
* adding large input read timeout
* reducing stdin timeout + nostdin flag
* go mod update
* readme update
* go mod tidy
Co-authored-by: sandeep <sandeep@projectdiscovery.io>
2022-06-30 17:51:54 +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
Mzack9999
0b351e83f3
Add self diagnostic functionality ( #2178 )
...
* Adding Self-Diagnostic
* adding comment
2022-06-22 00:40:10 +05:30
Ice3man
3648c47e35
Fixed template validation edge cases ( #2051 )
2022-05-25 11:26:05 +05:30
Mzack9999
184f3fdc30
Fixing concurrent read/write map ( #1989 )
2022-05-17 14:38:48 +05:30
Mzack9999
a534b9f06c
Fixing directory walk error check on windows ( #1951 )
...
* Fixing directory walk error check on windows
* moving check to helper package
* replacing godirwalk with standard library
2022-05-08 12:22:21 +05:30
LuitelSamikshya
3ccbfe4626
disable redirects flag
2022-04-27 11:19:44 -05:00
sandeep
1b953655d1
misc updates
2022-04-19 16:14:49 +05:30
LuitelSamikshya
5eae7159c7
nil value check
2022-04-18 17:21:33 -05:00
Sami
ce79a8dc57
Template folder exists changes ( #1825 )
2022-04-11 11:59:22 +05:30
Sandeep Singh
c5712c98f4
Fixed the default behavior of srd flag ( #1817 )
...
* fix: fixed automatic storing of debug response
* small code refactor
Co-authored-by: Mzack9999 <mzack9999@protonmail.com>
2022-04-06 16:49:36 +05:30
Mzack9999
0bab297328
improving default template path logic ( #1806 )
2022-04-05 04:03:49 +05:30
Sami
301307bb77
Issue 1705 save responses on disk ( #1727 )
...
* save response on disk
* lint error check
* store raw request/response
* lint error fix
* file path
* mock test fix
* readme update
* .txt extension
Co-authored-by: sandeep <sandeep@projectdiscovery.io>
2022-04-02 00:59:02 +05:30
Sandeep Singh
8ee4f9f797
Merge branch 'dev' into proxy-internal-requests
2022-03-23 23:12:51 +05:30
mzack
e9125f8fca
Fix for nil unexpected return value in workflow execution
2022-03-21 11:33:10 +01:00
sandeep
49c5cca78b
Merge branch 'dev' of https://github.com/projectdiscovery/nuclei into proxy-internal-requests
2022-03-21 13:03:17 +05:30
mzack
6e5e7f23e5
Implements github request with token fallback
2022-03-17 15:57:35 +01:00
Ice3man
660a81c1ab
Fixed crash + added unique tags for execution
2022-03-14 16:25:27 +05:30
Ice3man
32bc6c1718
Misc changes, moving things around as per review
2022-03-14 12:32:05 +05:30
Ice3man
14dab085ac
Merge branch 'dev' of https://github.com/projectdiscovery/nuclei into automatic-workflows
2022-03-14 12:17:39 +05:30
mzack
3f5c055aca
adding flag check
2022-03-09 12:38:26 +01:00
mzack
6f5489b8b6
restoring code for catch all cases
2022-03-09 12:37:03 +01:00
mzack
d2b5579303
Adding proxy support for internal standard HTTP requests
2022-03-09 12:31:12 +01:00
sandeep
8096737e1a
Merge branch 'dev' of https://github.com/projectdiscovery/nuclei into update-custom-dir
2022-03-09 01:52:08 +05:30
sandeep
78bb099412
Update runner.go
2022-03-08 10:11:06 +05:30
Sandeep Singh
ce2a5c3d81
Merge branch 'dev' into issue-1594-regexp
2022-03-08 10:05:06 +05:30
Ice3man
d9a121344c
Merge branch 'dev' of https://github.com/projectdiscovery/nuclei into automatic-workflows
2022-03-07 13:19:37 +05:30
Ice3man
88c5ca68eb
Ignore error on pprof server close
2022-03-07 10:28:25 +05:30
Ice3man
f6dc6264dd
Added pprof-server support with ena
...
ble-pprof flag
2022-03-03 19:44:29 +05:30
mzack
64bea4da8c
Merge branch 'dev' into issue-1594-regexp
2022-03-02 17:28:04 +01:00
mzack
630bf44c8b
adding gh token
2022-03-02 17:02:51 +01:00
mzack
6e9ea761a7
Adding GH token detection
2022-03-02 16:56:32 +01:00