Mzack9999
093d691c16
Issue 3033 deny list ( #3037 )
...
* fixing file deny list + refactoring
* err variable renaming
* removing redundant function
* removing unused code
* adding check on empty operator
* updating tests
2022-12-21 02:29:28 +05:30
xm1k3
bbb561b097
CLI variables are not accessible in SSL Protocol ( #3069 )
...
* added vars payload also in ssl
* fix on ssl.go, moved function on payloadValues creation
* added integration test
* rebase + minor changes
Co-authored-by: Mzack9999 <mzack9999@protonmail.com>
2022-12-21 02:02:18 +05:30
xm1k3
aaae68ee50
The debug flags do not work correctly with headless templates ( #3030 )
...
* added check on BaseURL
* added debug flag instead on info
* added also debug response flag
* code refactoring
2022-12-20 17:30:34 +05:30
Tarun Koyalwar
63150a8ee4
add stop-at-first-match for headless protocol ( #3034 )
...
* headless: adds stop-at-first-match
* GH workflow fix
* misc fix
* headless use spm option
Co-authored-by: sandeep <8293321+ehsandeep@users.noreply.github.com>
2022-12-19 19:52:17 +05:30
Tarun Koyalwar
a5b39dcaa5
automerge url parameters from input and templates ( #3010 )
...
* fix automerge url parameters
* fix url encoding & refactor raw request
* handle trailing slash edgecases
* minor code refactoring
2022-12-13 12:09:31 +05:30
Mzack9999
96c1dd3720
Adding custom ip to protocol generated variables ( #3011 )
...
* lint errors
* Extending context args support
* Ip => ip
2022-12-10 00:17:03 +05:30
Ice3man
30f26a32ed
Do not consider fuzzing template during clustering
2022-12-05 23:07:38 +05:30
xm1k3
628b96f768
added force http2 option ( #2919 )
...
* added force http2 option
* implemented http2 with transport method
* fix and added forcehttp on clientpool
* updated readme with new flag
* option update
Co-authored-by: sandeep <8293321+ehsandeep@users.noreply.github.com>
2022-12-04 22:32:01 +05:30
Ice3man
514c6e2d1e
Added timestamp optional flag + user-agent to probing ( #2962 )
...
* Added timestamp optional flag + user-agent to probing
* fix typo
* misc update
Co-authored-by: sandeep <8293321+ehsandeep@users.noreply.github.com>
2022-12-04 22:16:55 +05:30
Mzack9999
fdd22bf0a8
Adding client/server hello in ssl templates ( #2782 )
...
* Adding client/server hello in ssl templates
* go mod update
* go mod update
Co-authored-by: sandeep <8293321+ehsandeep@users.noreply.github.com>
2022-12-04 22:04:18 +05:30
Sandeep Singh
6ae9eee8d3
README + misc updates ( #2961 )
...
* readme update
* version + banner update
* misc option update
* go fmt'ed code
* misc update
2022-12-04 20:51:33 +05:30
Sandeep Singh
515503f5f6
Added connection refused error to skip with MaxHostError option ( #2955 )
2022-12-03 12:54:03 +05:30
Tarun Koyalwar
3b31799847
Issue 2840 aws signature ( #2924 )
...
* docker go version update
* docker fix
* version update
* update chinese readme and typo fixes. (#2862 )
* fix aws request signer
* fix reader by upgrading retryablehttp-go
* go mod tidy
Co-authored-by: Sandeep Singh <sandeep@projectdiscovery.io>
Co-authored-by: sandeep <8293321+ehsandeep@users.noreply.github.com>
Co-authored-by: Xc1Ym <xuedongyuming2233@gmail.com>
2022-12-03 07:10:57 +05:30
Mzack9999
6308d90cd7
Fixing reported dialed ip ( #2950 )
...
* Fixing reported dialed ip
* go mod update
* mod fix
Co-authored-by: sandeep <sandeep@projectdiscovery.io>
2022-12-03 06:29:22 +05:30
dependabot[bot]
9d6ca66da9
chore(deps): bump github.com/projectdiscovery/uncover from 0.0.9 to 1.0.0 in /v2 ( #2926 )
...
* chore(deps): bump github.com/projectdiscovery/uncover in /v2
Bumps [github.com/projectdiscovery/uncover](https://github.com/projectdiscovery/uncover ) from 0.0.9 to 1.0.0.
- [Release notes](https://github.com/projectdiscovery/uncover/releases )
- [Changelog](https://github.com/projectdiscovery/uncover/blob/main/.goreleaser.yml )
- [Commits](https://github.com/projectdiscovery/uncover/compare/v0.0.9...v1.0.0 )
---
updated-dependencies:
- dependency-name: github.com/projectdiscovery/uncover
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* Add uncover netlas source
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: shubhamrasal <shubhamdharmarasal@gmail.com>
2022-11-30 20:29:55 +05:30
Shubham Rasal
ebfd2e648a
Remove nuclei-updatecheck-api as dependency ( #2923 )
...
* Remove nuclei-updatecheck-api as dependency
* Run go mod tidy
* go mod tidy
Co-authored-by: Sandeep Singh <sandeep@projectdiscovery.io>
Co-authored-by: sandeep <8293321+ehsandeep@users.noreply.github.com>
2022-11-29 23:53:05 +05:30
Mzack9999
b3d4dba047
Reverting retryablehttp-go to fix custom http client ( #2900 )
...
* Reverting retryablehttp-go to fix custom http client
* fixing sandbox test
2022-11-24 21:16:03 +05:30
Ice3man
291a0fea94
Merge pull request #2856 from projectdiscovery/sandbox-pr
...
Added sandboxing for payload files and requests
2022-11-24 14:07:33 +05:30
Parth Malhotra
3014b40ac6
Fixes #2885 ( #2886 )
...
* docker go version update
* docker fix
* version update
* update chinese readme and typo fixes. (#2862 )
* Fixes #2885
Fixes #2885
Co-authored-by: Sandeep Singh <sandeep@projectdiscovery.io>
Co-authored-by: sandeep <8293321+ehsandeep@users.noreply.github.com>
Co-authored-by: Xc1Ym <xuedongyuming2233@gmail.com>
2022-11-23 18:21:22 +05:30
Ice3man
e7fb40a413
Added sandboxing for payload files and requests
2022-11-16 13:49:24 +05:30
Shubham Rasal
6b142d794a
Issue 2254 uncover integration ( #2786 )
...
* nuclei -uq 'vuln:CVE-2021-26855' -t cves/2021/
- `nuclei -uq 'vuln:CVE-2021-26855' -t cves/2021/`
* Add automatic template execution using metadata
- Query uncover after the template is loaded.
- Add the received hosts to the input provider from uncover
- Make NormalizeStoreInputValue() function public to add hosts from the
runner after uncover hosts received.
* run go mod tidy
* Remove unnecessary comments
* Resolve the requested changes
- move uncover code to protocols/common/uncover package
- Use uncover delay to create uncover rate limiter
- Use single ratelimiter object and remove not required ratelimiters
- Create Set() method for input provider interface
- Rename normalizeStoreInputValue to Set() method
* Solved the uncover running twice.
- flag StringSliceVarP adds the default value twice in the variable
- Check if provider keys exists or not
- Add uncover help block to english readme.md
* Add uncover field functionality
- ./nuclei -uq 'vuln:CVE-2021-26855' -t dns -duc -uf host
- ./nuclei -uq 'vuln:CVE-2021-26855' -t dns -duc -uf ip:port
* Update error messages and solve nuclei hang for wrong uncover engine
- Get uncover engine values from uncover package
* Resolve merge conflicts
* misc option update
* Update logging for templates
- remove duplicate env log printing
- Log message for template queries
Co-authored-by: sandeep <8293321+ehsandeep@users.noreply.github.com>
2022-11-16 11:12:39 +05:30
Mzack9999
1fbbca66f9
Adding support to scan all v4/v6 IPs ( #2709 )
...
* Adding support to scan all v4/v6 IPs
* adding tests
* metainput prototype
* using new signature
* fixing nil pointer
* adding request context with metadata
* removing log instruction
* fixing merge conflicts
* adding clone helpers
* attempting to fix ipv6 square parenthesis wrap
* fixing dialed ip info
* fixing syntax
* fixing output ip selection
* adding integration tests
* disabling test due to gh ipv6 issue
* using ipv4 only due to GH limited networking
* extending metainput marshaling
* fixing hmap key
* adding test for httpx integration
* fixing lint error
* reworking marshaling/id-calculation
* adding ip version validation
* improving handling non url targets
* fixing condition check
2022-11-09 18:48:56 +05:30
Mzack9999
6ac669eb43
Replacing rdap with fixed fork ( #2819 )
...
* Replacing rdap with pd fixed fork
* mod tidy
* updating rdap commit ref
* reworking rdap client pool
* removing unused code
2022-11-08 17:27:18 +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
e1b0564c0a
Fixed nested expression replacement using fasttemplate ( #2790 )
2022-11-03 18:31:04 +05:30
Ice3man
b9472cf7e1
Added fuzzing support for query params + var dump feature ( #2679 )
...
* Added fuzzing support for query params + var dump feature
* Added query-fuzz integration test
* Fixed payloads + added keys-regex fuzz parameter
* Fixed interactsh not working + misc
* Fixed evaluation + added global variables/dsl support to payloads
* Misc fixes related to variables evaluations
* Added http variables support to fuzz
* misc
* Misc
* Added testing playground + misc renaming
* Added support for path and raw request to fuzzing
* Fixed fuzz integration test
* Fixed variable unresolved issue
* Add multiple parameter support with same name
* Added parameter value as 'value' dsl variable for parts
Co-authored-by: Sandeep Singh <sandeep@projectdiscovery.io>
2022-11-01 20:28:50 +05:30
Sajad
e163a301b9
add dns protocol ratelimit ( #2763 )
...
* add dns protocol ratelimit
* move dns ratelimit to just before sending the request
2022-10-29 04:29:13 +02:00
Mzack9999
cc0c20053a
Improving unsafe uri path ( #2722 )
...
* Improving unsafe uri path
* fixing raw path output
2022-10-27 20:09:38 +02:00
mzack
fe798c07eb
fixing function syntax
2022-10-25 21:01:42 +02:00
Sajad
928f082109
set content_length as len(body) if response ContentLength is -1 ( #2407 )
...
* set content_length as len(body) if response ContentLength is -1
* move content-length calculation to utils
* adding basic tests
Co-authored-by: Mzack9999 <mzack9999@protonmail.com>
2022-10-24 16:37:09 +02:00
Ice3man
363ffb75db
Added probing for URL + input based on protocol ( #2614 )
...
* Added workflow names based condition
* Added conditional filtering to workflow executor
* Replaced names with single name stringslice
* Added probing for URL + input based on protocol
* Remove debug comments
* Fixed typo
* Fixed failing tests
* Fixed workflow matcher condition + tests
* Fixed workflow item name
* Switch to if-else
* Fixed review comment strict
* Increase bulk size
* Added default port for SSL protocol + misc changes
* Fixed failing tests
* Fixed misc changes to executer
* Fixed failing self-contained and offlinehttp tests
* Fixed atomic increment operation
* misc update
* Fixed failing builds
Co-authored-by: sandeep <8293321+ehsandeep@users.noreply.github.com>
2022-10-20 17:23:00 +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
Mzack9999
9493dfdb20
Adding automatic request condition detection ( #2707 )
...
* Adding automatic request condition detection
* adding missing checks on part
* test update as per latest change
Co-authored-by: sandeep <8293321+ehsandeep@users.noreply.github.com>
2022-10-15 15:19:04 +05:30
LuitelSamikshya
cb0da81a14
ratelimit library
2022-10-12 22:04:37 -05:00
Bertold Kolics
1af96fc679
Issue 2460: extended unit tests for replacer ( #2691 )
2022-10-10 22:00:43 +05:30
mzack
70cecf83fb
Adding custom cancel function
2022-10-10 08:10:07 +02:00
Ice3man
9944f5e94e
Added response truncation support with flags ( #2688 )
...
* Added response truncation support with flags
* Fixed failing tests for no size
2022-10-07 20:10:00 +05:30
Mzack9999
33ed5e7c93
Merge pull request #2671 from bertold/bk/randomip-unittest
...
Unit test for GetRandomIPWithCidr and fixes
2022-10-04 12:29:41 +02:00
Bertold Kolics
087be32ae0
Added unit test for GetRandomIPWithCidr
...
Fixed an issue with handling non-zero based networks
Fixed an issue handling network addresses with single IPs
2022-10-03 18:30:55 -05:00
Mzack9999
781e4e6105
Shared Execution Context Prototype ( #2576 )
...
* renaming var
* Introducing shared execution context prototype
* fixing field name
* adding shared values propagation
* adding shared context lock
* add slice values normalization
* adding integration tests
* adding metadata support for dns
* adding multi-protocol context sharing test
* removing debug test files
* moving contextargs around
* adding comments
* refactoring code
- getter/setter for complex types
- using pointers to avoid heap allocations
2022-10-03 15:42:20 +05:30
Mzack9999
0b1ff2bfa4
Forcing conns to be gc-ed by default disabling keep-alive ( #2642 )
...
* Forcing conns to be gc-ed with keep-alive
* removing redundant code
keep-alive are disabled by default
* fixing merge conflict
Co-authored-by: Sandeep Singh <sandeep@projectdiscovery.io>
2022-09-30 04:25:56 +05:30
Mzack9999
18f14b631c
Adding same host redirect support ( #2655 )
...
* simplifying test syntax
* adding same host redirect + refactoring redirect handling
* adding missing file
* adding support for template syntax
* adding integration test
* updating options
* fixing issue on same host redirect
2022-09-29 04:11:28 +05:30
mzack
2cf0005eaa
updating syntax
2022-09-28 01:51:47 +02:00
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
Sajad
5377ee3f36
add proxy support at dialer level ( #2549 )
...
* add proxy support at dailer level
* add forward dialer to proxy
2022-09-16 21:36:17 +05:30
Mzack9999
7ce03bcc5b
Optional use of local chrome for headless tests via tags ( #2568 )
2022-09-07 16:09:22 +05:30
Ice3man
e193e7c87e
Added tlsx integration to nuclei ( #2522 )
...
* Added tlsx integration to nuclei
* tls tests fix
* Added helper functions + upgrade tlsx to fix
* go mod update
* workflow fix to race test on windows
Co-authored-by: sandeep <8293321+ehsandeep@users.noreply.github.com>
2022-09-01 23:56:55 +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
M. Ángel Jimeno
62a4e0aa52
Return wrapped errors for DSL compilation problems ( #2492 )
...
This allows the DSL help information to be printed when in debug mode.
Fixes #2481
2022-08-29 13:41:32 +05:30
Ice3man
8892250583
Updated goflags to latest + misc
2022-08-27 19:35:17 +05:30