mzack
75183c7660
Merge branch 'dev' into maint-memory
2024-03-07 17:10:32 +01:00
mzack
b445f7fc87
making memguardian optional
2024-03-07 16:16:07 +01:00
Ramana Reddy
0a8beb26e9
Make self-contained optional in http request ( #4838 )
2024-03-05 22:40:12 +05:30
mzack
52beea3bcd
Merge branch 'dev' into maint-memory
2024-03-05 01:26:06 +01:00
mzack
ea3ecbf2d2
adding disk storage + memguardian + other memory optimizations
2024-03-05 01:08:01 +01:00
Tarun Koyalwar
8a2ff17ad8
allow specifying self-contained at http request level ( #4812 )
...
* allow specifying self-contained at requestlevel
* fix IsSMTP js example
* update smtp + fix examples
* update smtp error message
* add code reference in js protocol
* update js docs
* remove debug stmt
2024-03-01 16:38:56 +05:30
mzack
4d29bff759
using disk storage for large kv
2024-03-01 02:11:18 +01:00
Dogan Can Bakir
6abff96435
use maxsize ( #4814 )
2024-02-29 03:21:17 +05:30
Tarun Koyalwar
4b55c26fc0
add header nil check ( #4766 )
2024-02-19 02:09:52 +05:30
Tarun Koyalwar
2cbc21e228
fix stop-at-first-match issue in http protocol ( #4752 )
...
* fix stop-at-first-match issue in http protocol
* spm: synchronize callback exec
* bump nuclei version to v3.2.0-dev
* add spm support for race & pipelined http requests
* support stop-at-first-match in race request
* update spm logic in parallel http & pipeline requests
* fix duplicated event issue
* spm: exit early + threads value override issue
2024-02-13 01:20:19 +05:30
Tarun Koyalwar
ead58f4ab9
implicit thread count when not specified in payloads + threads support in dns,network ( #4715 )
...
* default threads + add threads support in dns payloads
* add threads support in network protocol
* add optional callback to override threadSetter
* fix broken fuzz integration tests
2024-02-02 02:05:30 +05:30
Dogan Can Bakir
5f4dcfb6be
use projectdiscovery/useragent ( #4708 )
...
* use projectdiscovery/useragent
* minor
2024-02-01 03:12:38 +05:30
Tarun Koyalwar
5bd9d9ee68
memory leak fixes and optimizations ( #4680 )
...
* feat http response memory optimization + reuse buffers
* update nuclei version
* feat: reuse js vm's and compile to programs
* fix failing http integration test
* remove dead code + add -jsc
* feat reuse js vms in pool with concurrency
* update comments as per review
* bug fix+ update interactsh test to look for dns interaction
* try enabling all interactsh integration tests
---------
Co-authored-by: mzack <marco.rivoli.nvh@gmail.com>
2024-01-31 01:59:49 +05:30
Tarun Koyalwar
c7c35ffb94
fix multiple mem leaks + optimizations ( #4630 )
...
* fix mem leak
* bump version tag
* http: add global resp body read limit of 4MB
* skip creating templateCtx in normal templates
* fix mem leak via retryablehttp , fastdialer
* go mod tidy
* remove unused var
* dep update
---------
Co-authored-by: sandeep <8293321+ehsandeep@users.noreply.github.com>
2024-01-18 05:53:42 +05:30
Tarun Koyalwar
d064801270
fallthrough extracted values in order ( #4574 )
...
* fallthrough extracted values in order
* fix unit test & update .gitignore
* remove temp file
---------
Co-authored-by: Sandeep Singh <sandeep@projectdiscovery.io>
2024-01-05 05:25:31 +05:30
Dogan Can Bakir
f6ebe7f5f1
fix fuzzing self-contained input requirement ( #4531 )
2023-12-24 14:16:09 +05:30
Dogan Can Bakir
e6133ef6bc
fix missing eq sign ( #4513 )
2023-12-20 17:00:34 +05:30
M. Ángel Jimeno
7da3921c12
http: support arbitrary strings on TLS SNI annotation ( #4462 )
2023-12-06 14:15:30 +05:30
Tarun Koyalwar
6e969cbd3c
add additional json fields: port,ip,scheme,url ( #4417 )
...
* add additional json fields: port,ip,scheme,url
* include host field in case of ip input
2023-11-28 14:26:23 +05:30
Dogan Can Bakir
ce5df9cc02
introduce scan context ( #4373 )
...
* introduce scan context
* minor
* add joined errors to resultevents
* change `executor` funcs' signature
* fix tests
* join errors in `LogError` func
* change func signature
* add guard
2023-11-28 00:24:45 +05:30
Dogan Can Bakir
a9efb75d59
introduce disable-cookie ( #4292 )
...
* introduce disable-cookie
* remove debug statement
* fix headless template
* increase `-interactions-poll-duration` value to 5
* docs update
---------
Co-authored-by: Tarun Koyalwar <tarun@projectdiscovery.io>
Co-authored-by: sandeep <8293321+ehsandeep@users.noreply.github.com>
2023-11-18 13:02:10 +05:30
Dogan Can Bakir
7c2db9c394
introduce template-encoded field ( #4315 )
...
* introduce `template-encoded` field
* remove IsCustomTemplate func
* refactor and move encoding to `MakeResultEventItem` func
* encode template in case of no results were found
* commit to last commit
* don't encode templates when`-ms` is used
2023-11-11 04:42:27 +05:30
Tarun Koyalwar
e9ab5f498a
template preprocessor + multi request variables indexing bug fix ( #4262 )
...
* add randstr preprocessor to defaults
* fix indexing in http + preprocessor integration test
* add multi-request integration test
* skip test if asnmap is down
2023-10-20 17:54:10 +05:30
Tarun Koyalwar
dc44105baf
nuclei v3 : misc updates ( #4247 )
...
* use parsed options while signing
* update project layout to v3
* fix .gitignore
* remove example template
* misc updates
* bump tlsx version
* hide template sig warning with env
* js: retain value while using log
* fix nil pointer derefernce
* misc doc update
---------
Co-authored-by: sandeep <8293321+ehsandeep@users.noreply.github.com>
2023-10-17 17:44:13 +05:30