Stan Ivanov

Results 21 comments of Stan Ivanov

This will be useful. I'd like to embed nuclei as a library and be able to cancel it at any time.

I looked at the change log but I don't see any memory improvements. I can give it a try. Does the SDK settings look good to you? Am I missing...

I've been running it all day today with the latest version v3.1.10 but I see the same issues. Also added `GOMEMLIMIT=500MiB` and `GOGC=20` but still ran out of memory even...

Here is a pprof from a successful run on a smaller scale: ``` Showing nodes accounting for 421.32MB, 91.26% of 461.68MB total Dropped 861 nodes (cum

A profile of a more intense run: ``` top50 Showing nodes accounting for 1118.57MB, 92.07% of 1214.85MB total Dropped 1016 nodes (cum

And this uses what you suggested 25 template/host concurrency: ``` (pprof) top50 Showing nodes accounting for 1191.23MB, 92.63% of 1285.96MB total Dropped 960 nodes (cum

Actually your proposal of having 25 concurrent hosts/templates worked on one of my test setups. I setup a constrained memory container with 2048MB RAM and aggressive GC settings: `GOMEMLIMIT=500MiB` and...

Another update - using 25/25 for host/template concurrency when scanning 360 targets still resulted in OOM kill but it ran for a significantly longer time. I will set the garbage...

I'll continue debugging this but here is a run on a 16GB container with 8 CPUs which is scanning 358 hosts with 25/25 host/template concurrency and max host error set...

@tarunKoyalwar thank you for looking into this issue! I have a question about `-max-host-error`. I want to use nuclei to try all templates on a host. If I understand this...