Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding global cache clear + shortening var names #3254

Closed
wants to merge 5 commits into from

Conversation

Mzack9999
Copy link
Member

@Mzack9999 Mzack9999 commented Jan 30, 2023

Proposed changes

This PR implements an interactsh rework in order to decouple interactsh ongoing session from template execution (note: might break current run as code example)

Checklist

  • Pull request is created against the dev branch
  • All checks passed (lint, unit/integration/regression tests etc.) with my changes (locally, gh ones seems to fail for unclear reasons)
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

@Mzack9999 Mzack9999 added the Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors. label Jan 30, 2023
@Mzack9999 Mzack9999 self-assigned this Jan 30, 2023
@Mzack9999 Mzack9999 linked an issue Jan 30, 2023 that may be closed by this pull request
@Mzack9999 Mzack9999 marked this pull request as draft February 1, 2023 12:23
@Mzack9999 Mzack9999 removed the request for review from Ice3man543 February 2, 2023 17:34
@Mzack9999 Mzack9999 marked this pull request as ready for review February 3, 2023 11:12
@tarunKoyalwar
Copy link
Member

tarunKoyalwar commented Feb 3, 2023

@Mzack9999 , not sure if we cover this here but there is a data race in interactsh cache . these occur randomly but are more frequent in race/fuzz templates . Panic in issue description is almost similar . Seems like cache is cleared multiple times

looks like we have to sync Clear(),doDelete() and restart() operations on cache

==================
WARNING: DATA RACE
Write at 0x00c0006a21f0 by main goroutine:
  github.com/karlseguin/ccache.(*Cache).Clear()
      /Users/tarun/go/pkg/mod/github.com/karlseguin/ccache@v2.0.3+incompatible/cache.go:121 +0x90
  github.com/projectdiscovery/nuclei/v2/pkg/protocols/common/interactsh.(*Client).Close.func1()
      /Users/tarun/Codebase2/nuclei/v2/pkg/protocols/common/interactsh/interactsh.go:267 +0xe8
  github.com/projectdiscovery/nuclei/v2/pkg/protocols/common/interactsh.(*Client).Close()
      /Users/tarun/Codebase2/nuclei/v2/pkg/protocols/common/interactsh/interactsh.go:271 +0xc8
  github.com/projectdiscovery/nuclei/v2/internal/runner.(*Runner).RunEnumeration()
      /Users/tarun/Codebase2/nuclei/v2/internal/runner/runner.go:553 +0x20c4
  main.main()
      /Users/tarun/Codebase2/nuclei/v2/cmd/nuclei/main.go:104 +0x5e4
  fmt.Fscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:143 +0xa0
  fmt.Sscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:114 +0x1b8
  github.com/syndtr/goleveldb/leveldb/storage.fsParseName()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:657 +0x120
  fmt.(*ss).doScanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:1230 +0x304
  fmt.Fscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:143 +0xa0
  fmt.Sscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:114 +0x118
  github.com/syndtr/goleveldb/leveldb/storage.fsParseName()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:643 +0x1c
  github.com/syndtr/goleveldb/leveldb/storage.(*fileStorage).List()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:458 +0x2a4
  github.com/syndtr/goleveldb/leveldb.(*DB).checkAndCleanFiles()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db_util.go:52 +0x15c
  github.com/syndtr/goleveldb/leveldb.openDB()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db.go:130 +0x678
  github.com/syndtr/goleveldb/leveldb/storage.(*fileStorage).List()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:458 +0x2a4
  fmt.Fscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:143 +0xa0
  fmt.Sscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:114 +0x118
  github.com/syndtr/goleveldb/leveldb/storage.fsParseName()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:643 +0x1c
  github.com/syndtr/goleveldb/leveldb/storage.(*fileStorage).List()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:458 +0x2a4
  fmt.Fscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:143 +0xa0
  fmt.Sscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:114 +0x118
  github.com/syndtr/goleveldb/leveldb/storage.fsParseName()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:643 +0x1c
  github.com/syndtr/goleveldb/leveldb/storage.(*fileStorage).List()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:458 +0x2a4
  fmt.Fscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:143 +0xa0
  fmt.Sscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:114 +0x1b8
  github.com/syndtr/goleveldb/leveldb/storage.fsParseName()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:657 +0x120
  fmt.(*ss).doScanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:1230 +0x304
  fmt.Fscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:143 +0xa0
  fmt.Sscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:114 +0x118
  github.com/syndtr/goleveldb/leveldb/storage.fsParseName()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:643 +0x1c
  github.com/syndtr/goleveldb/leveldb/storage.(*fileStorage).List()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:458 +0x2a4
  github.com/syndtr/goleveldb/leveldb.(*DB).recoverJournal()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db.go:476 +0x84
  github.com/syndtr/goleveldb/leveldb.openDB()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db.go:125 +0x66c
  github.com/syndtr/goleveldb/leveldb.Open()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db.go:197 +0x238
  fmt.Fscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:143 +0xa0
  fmt.Sscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:114 +0x118
  github.com/syndtr/goleveldb/leveldb/storage.fsParseName()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:643 +0x1c
  github.com/syndtr/goleveldb/leveldb/storage.(*fileStorage).List()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:458 +0x2a4
  github.com/syndtr/goleveldb/leveldb.(*session).recover.func1()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/session.go:113 +0xb4
  runtime.deferreturn()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/runtime/panic.go:476 +0x30
  github.com/syndtr/goleveldb/leveldb.Open()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db.go:183 +0x94
  github.com/syndtr/goleveldb/leveldb.OpenFile()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db.go:219 +0x6c
  github.com/projectdiscovery/hmap/store/disk.OpenLevelDB()
      /Users/tarun/go/pkg/mod/github.com/projectdiscovery/hmap@v0.0.6/store/disk/leveldb.go:25 +0x5c
  github.com/projectdiscovery/hmap/store/hybrid.New()
      /Users/tarun/go/pkg/mod/github.com/projectdiscovery/hmap@v0.0.6/store/hybrid/hybrid.go:158 +0x4d0
  github.com/projectdiscovery/nuclei/v2/pkg/core/inputs/hybrid.New()
      /Users/tarun/Codebase2/nuclei/v2/pkg/core/inputs/hybrid/hmap.go:59 +0xb4
  github.com/projectdiscovery/nuclei/v2/internal/runner.New()
      /Users/tarun/Codebase2/nuclei/v2/internal/runner/runner.go:187 +0xb6c
  main.main()
      /Users/tarun/Codebase2/nuclei/v2/cmd/nuclei/main.go:76 +0x3f0
  fmt.(*ss).doScanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:1230 +0x304
  fmt.Fscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:143 +0xa0
  fmt.Sscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:114 +0x118
  github.com/syndtr/goleveldb/leveldb/storage.fsParseName()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:643 +0x1c
  github.com/syndtr/goleveldb/leveldb/storage.(*fileStorage).List()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:458 +0x2a4
  github.com/syndtr/goleveldb/leveldb.(*DB).checkAndCleanFiles()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db_util.go:52 +0x15c
  github.com/syndtr/goleveldb/leveldb.openDB()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db.go:130 +0x678
  github.com/syndtr/goleveldb/leveldb/storage.(*fileStorage).List()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:458 +0x2a4
  fmt.Fscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:143 +0xa0
  fmt.Sscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:114 +0x118
  github.com/syndtr/goleveldb/leveldb/storage.fsParseName()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:643 +0x1c
  github.com/syndtr/goleveldb/leveldb/storage.(*fileStorage).List()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:458 +0x2a4
  fmt.Fscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:143 +0xa0
  fmt.Sscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:114 +0x118
  github.com/syndtr/goleveldb/leveldb/storage.fsParseName()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:643 +0x1c
  github.com/syndtr/goleveldb/leveldb/storage.(*fileStorage).List()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:458 +0x2a4
  fmt.Fscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:143 +0xa0
  fmt.Sscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:114 +0x1b8
  github.com/syndtr/goleveldb/leveldb/storage.fsParseName()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:657 +0x120
  fmt.(*ss).doScanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:1230 +0x304
  fmt.Fscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:143 +0xa0
  fmt.Sscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:114 +0x118
  github.com/syndtr/goleveldb/leveldb/storage.fsParseName()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:643 +0x1c
  github.com/syndtr/goleveldb/leveldb/storage.(*fileStorage).List()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:458 +0x2a4
  github.com/syndtr/goleveldb/leveldb.(*DB).recoverJournal()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db.go:476 +0x84
  github.com/syndtr/goleveldb/leveldb.openDB()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db.go:125 +0x66c
  github.com/syndtr/goleveldb/leveldb.Open()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db.go:197 +0x238
  fmt.Fscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:143 +0xa0
  fmt.Sscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:114 +0x118
  github.com/syndtr/goleveldb/leveldb/storage.fsParseName()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:643 +0x1c
  github.com/syndtr/goleveldb/leveldb/storage.(*fileStorage).List()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:458 +0x2a4
  github.com/syndtr/goleveldb/leveldb.(*session).recover.func1()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/session.go:113 +0xb4
  runtime.deferreturn()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/runtime/panic.go:476 +0x30
  github.com/syndtr/goleveldb/leveldb.Open()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db.go:183 +0x94
  github.com/syndtr/goleveldb/leveldb.OpenFile()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db.go:219 +0x6c
  github.com/projectdiscovery/hmap/store/disk.OpenLevelDB()
      /Users/tarun/go/pkg/mod/github.com/projectdiscovery/hmap@v0.0.6/store/disk/leveldb.go:25 +0x5c
  github.com/projectdiscovery/hmap/store/hybrid.New()
      /Users/tarun/go/pkg/mod/github.com/projectdiscovery/hmap@v0.0.6/store/hybrid/hybrid.go:158 +0x4d0
  github.com/projectdiscovery/fastdialer/fastdialer.NewDialer()
      /Users/tarun/go/pkg/mod/github.com/projectdiscovery/fastdialer@v0.0.21/fastdialer/dialer.go:56 +0x368
  fmt.Sscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:114 +0x118
  github.com/syndtr/goleveldb/leveldb/storage.fsParseName()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:643 +0x1c
  github.com/syndtr/goleveldb/leveldb/storage.(*fileStorage).List()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:458 +0x2a4
  fmt.Fscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:143 +0xa0
  fmt.Sscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:114 +0x1b8
  github.com/syndtr/goleveldb/leveldb/storage.fsParseName()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:657 +0x120
  fmt.(*ss).doScanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:1230 +0x304
  fmt.Fscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:143 +0xa0
  fmt.Sscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:114 +0x118
  github.com/syndtr/goleveldb/leveldb/storage.fsParseName()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:643 +0x1c
  github.com/syndtr/goleveldb/leveldb/storage.(*fileStorage).List()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:458 +0x2a4
  github.com/syndtr/goleveldb/leveldb.(*DB).checkAndCleanFiles()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db_util.go:52 +0x15c
  github.com/syndtr/goleveldb/leveldb.openDB()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db.go:130 +0x678
  github.com/syndtr/goleveldb/leveldb/storage.(*fileStorage).List()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:458 +0x2a4
  fmt.Fscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:143 +0xa0
  fmt.Sscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:114 +0x118
  github.com/syndtr/goleveldb/leveldb/storage.fsParseName()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:643 +0x1c
  github.com/syndtr/goleveldb/leveldb/storage.(*fileStorage).List()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:458 +0x2a4
  fmt.Fscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:143 +0xa0
  fmt.Sscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:114 +0x118
  github.com/syndtr/goleveldb/leveldb/storage.fsParseName()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:643 +0x1c
  github.com/syndtr/goleveldb/leveldb/storage.(*fileStorage).List()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:458 +0x2a4
  fmt.Fscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:143 +0xa0
  fmt.Sscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:114 +0x1b8
  github.com/syndtr/goleveldb/leveldb/storage.fsParseName()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:657 +0x120
  fmt.(*ss).doScanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:1230 +0x304
  fmt.Fscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:143 +0xa0
  fmt.Sscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:114 +0x118
  github.com/syndtr/goleveldb/leveldb/storage.fsParseName()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:643 +0x1c
  github.com/syndtr/goleveldb/leveldb/storage.(*fileStorage).List()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:458 +0x2a4
  github.com/syndtr/goleveldb/leveldb.(*DB).recoverJournal()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db.go:476 +0x84
  github.com/syndtr/goleveldb/leveldb.openDB()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db.go:125 +0x66c
  github.com/syndtr/goleveldb/leveldb.Open()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db.go:197 +0x238
  fmt.Fscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:143 +0xa0
  fmt.Sscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:114 +0x118
  github.com/syndtr/goleveldb/leveldb/storage.fsParseName()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:643 +0x1c
  github.com/syndtr/goleveldb/leveldb/storage.(*fileStorage).List()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:458 +0x2a4
  github.com/syndtr/goleveldb/leveldb.(*session).recover.func1()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/session.go:113 +0xb4
  runtime.deferreturn()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/runtime/panic.go:476 +0x30
  github.com/syndtr/goleveldb/leveldb.Open()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db.go:183 +0x94
  github.com/syndtr/goleveldb/leveldb.OpenFile()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db.go:219 +0x6c
  github.com/projectdiscovery/hmap/store/disk.OpenLevelDB()
      /Users/tarun/go/pkg/mod/github.com/projectdiscovery/hmap@v0.0.6/store/disk/leveldb.go:25 +0x5c
  github.com/projectdiscovery/hmap/store/hybrid.New()
      /Users/tarun/go/pkg/mod/github.com/projectdiscovery/hmap@v0.0.6/store/hybrid/hybrid.go:158 +0x4d0
  github.com/projectdiscovery/fastdialer/fastdialer.NewDialer()
      /Users/tarun/go/pkg/mod/github.com/projectdiscovery/fastdialer@v0.0.21/fastdialer/dialer.go:47 +0x278
  github.com/projectdiscovery/nuclei/v2/pkg/protocols/common/protocolstate.Init()
      /Users/tarun/Codebase2/nuclei/v2/pkg/protocols/common/protocolstate/state.go:100 +0xa2c
  github.com/projectdiscovery/nuclei/v2/pkg/protocols/common/protocolinit.Init()
      /Users/tarun/Codebase2/nuclei/v2/pkg/protocols/common/protocolinit/init.go:19 +0xa4
  github.com/projectdiscovery/nuclei/v2/internal/runner.ParseOptions()
      /Users/tarun/Codebase2/nuclei/v2/internal/runner/options.go:104 +0x92c
  main.main()
      /Users/tarun/Codebase2/nuclei/v2/cmd/nuclei/main.go:68 +0x31c

Previous write at 0x00c0006a21f0 by goroutine 32:
  github.com/karlseguin/ccache.(*Cache).doDelete()
      /Users/tarun/go/pkg/mod/github.com/karlseguin/ccache@v2.0.3+incompatible/cache.go:196 +0x88
  github.com/karlseguin/ccache.(*Cache).worker()
      /Users/tarun/go/pkg/mod/github.com/karlseguin/ccache@v2.0.3+incompatible/cache.go:176 +0x188
  github.com/karlseguin/ccache.(*Cache).restart.func1()
      /Users/tarun/go/pkg/mod/github.com/karlseguin/ccache@v2.0.3+incompatible/cache.go:136 +0x34

Goroutine 32 (running) created at:
  github.com/karlseguin/ccache.(*Cache).restart()
      /Users/tarun/go/pkg/mod/github.com/karlseguin/ccache@v2.0.3+incompatible/cache.go:136 +0x1cc
  github.com/karlseguin/ccache.New()
      /Users/tarun/go/pkg/mod/github.com/karlseguin/ccache@v2.0.3+incompatible/cache.go:36 +0x384
  github.com/projectdiscovery/nuclei/v2/pkg/protocols/common/interactsh.New()
      /Users/tarun/Codebase2/nuclei/v2/pkg/protocols/common/interactsh/interactsh.go:111 +0x134
  github.com/projectdiscovery/nuclei/v2/internal/runner.New()
      /Users/tarun/Codebase2/nuclei/v2/internal/runner/runner.go:282 +0x176c
  github.com/syndtr/goleveldb/leveldb/storage.(*fileStorage).List()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:458 +0x2a4
  fmt.Fscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:143 +0xa0
  fmt.Sscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:114 +0x1b8
  github.com/syndtr/goleveldb/leveldb/storage.fsParseName()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:657 +0x120
  fmt.(*ss).doScanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:1230 +0x304
  fmt.Fscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:143 +0xa0
  fmt.Sscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:114 +0x118
  github.com/syndtr/goleveldb/leveldb/storage.fsParseName()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:643 +0x1c
  github.com/syndtr/goleveldb/leveldb/storage.(*fileStorage).List()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:458 +0x2a4
  github.com/syndtr/goleveldb/leveldb.(*DB).checkAndCleanFiles()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db_util.go:52 +0x15c
  github.com/syndtr/goleveldb/leveldb.openDB()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db.go:130 +0x678
  github.com/syndtr/goleveldb/leveldb/storage.(*fileStorage).List()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:458 +0x2a4
  fmt.Fscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:143 +0xa0
  fmt.Sscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:114 +0x118
  github.com/syndtr/goleveldb/leveldb/storage.fsParseName()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:643 +0x1c
  github.com/syndtr/goleveldb/leveldb/storage.(*fileStorage).List()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:458 +0x2a4
  fmt.Fscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:143 +0xa0
  fmt.Sscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:114 +0x118
  github.com/syndtr/goleveldb/leveldb/storage.fsParseName()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:643 +0x1c
  github.com/syndtr/goleveldb/leveldb/storage.(*fileStorage).List()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:458 +0x2a4
  fmt.Fscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:143 +0xa0
  fmt.Sscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:114 +0x1b8
  github.com/syndtr/goleveldb/leveldb/storage.fsParseName()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:657 +0x120
  fmt.(*ss).doScanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:1230 +0x304
  fmt.Fscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:143 +0xa0
  fmt.Sscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:114 +0x118
  github.com/syndtr/goleveldb/leveldb/storage.fsParseName()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:643 +0x1c
  github.com/syndtr/goleveldb/leveldb/storage.(*fileStorage).List()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:458 +0x2a4
  github.com/syndtr/goleveldb/leveldb.(*DB).recoverJournal()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db.go:476 +0x84
  github.com/syndtr/goleveldb/leveldb.openDB()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db.go:125 +0x66c
  github.com/syndtr/goleveldb/leveldb.Open()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db.go:197 +0x238
  fmt.Fscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:143 +0xa0
  fmt.Sscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:114 +0x118
  github.com/syndtr/goleveldb/leveldb/storage.fsParseName()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:643 +0x1c
  github.com/syndtr/goleveldb/leveldb/storage.(*fileStorage).List()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:458 +0x2a4
  github.com/syndtr/goleveldb/leveldb.(*session).recover.func1()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/session.go:113 +0xb4
  runtime.deferreturn()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/runtime/panic.go:476 +0x30
  github.com/syndtr/goleveldb/leveldb.Open()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db.go:183 +0x94
  github.com/syndtr/goleveldb/leveldb.OpenFile()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db.go:219 +0x6c
  github.com/projectdiscovery/hmap/store/disk.OpenLevelDB()
      /Users/tarun/go/pkg/mod/github.com/projectdiscovery/hmap@v0.0.6/store/disk/leveldb.go:25 +0x5c
  github.com/projectdiscovery/hmap/store/hybrid.New()
      /Users/tarun/go/pkg/mod/github.com/projectdiscovery/hmap@v0.0.6/store/hybrid/hybrid.go:158 +0x4d0
  github.com/projectdiscovery/nuclei/v2/pkg/core/inputs/hybrid.New()
      /Users/tarun/Codebase2/nuclei/v2/pkg/core/inputs/hybrid/hmap.go:59 +0xb4
  github.com/projectdiscovery/nuclei/v2/internal/runner.New()
      /Users/tarun/Codebase2/nuclei/v2/internal/runner/runner.go:187 +0xb6c
  main.main()
      /Users/tarun/Codebase2/nuclei/v2/cmd/nuclei/main.go:76 +0x3f0
  fmt.(*ss).doScanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:1230 +0x304
  fmt.Fscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:143 +0xa0
  fmt.Sscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:114 +0x118
  github.com/syndtr/goleveldb/leveldb/storage.fsParseName()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:643 +0x1c
  github.com/syndtr/goleveldb/leveldb/storage.(*fileStorage).List()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:458 +0x2a4
  github.com/syndtr/goleveldb/leveldb.(*DB).checkAndCleanFiles()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db_util.go:52 +0x15c
  github.com/syndtr/goleveldb/leveldb.openDB()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db.go:130 +0x678
  github.com/syndtr/goleveldb/leveldb/storage.(*fileStorage).List()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:458 +0x2a4
  fmt.Fscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:143 +0xa0
  fmt.Sscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:114 +0x118
  github.com/syndtr/goleveldb/leveldb/storage.fsParseName()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:643 +0x1c
  github.com/syndtr/goleveldb/leveldb/storage.(*fileStorage).List()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:458 +0x2a4
  fmt.Fscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:143 +0xa0
  fmt.Sscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:114 +0x118
  github.com/syndtr/goleveldb/leveldb/storage.fsParseName()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:643 +0x1c
  github.com/syndtr/goleveldb/leveldb/storage.(*fileStorage).List()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:458 +0x2a4
  fmt.Fscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:143 +0xa0
  fmt.Sscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:114 +0x1b8
  github.com/syndtr/goleveldb/leveldb/storage.fsParseName()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:657 +0x120
  fmt.(*ss).doScanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:1230 +0x304
  fmt.Fscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:143 +0xa0
  fmt.Sscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:114 +0x118
  github.com/syndtr/goleveldb/leveldb/storage.fsParseName()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:643 +0x1c
  github.com/syndtr/goleveldb/leveldb/storage.(*fileStorage).List()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:458 +0x2a4
  github.com/syndtr/goleveldb/leveldb.(*DB).recoverJournal()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db.go:476 +0x84
  github.com/syndtr/goleveldb/leveldb.openDB()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db.go:125 +0x66c
  github.com/syndtr/goleveldb/leveldb.Open()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db.go:197 +0x238
  fmt.Fscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:143 +0xa0
  fmt.Sscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:114 +0x118
  github.com/syndtr/goleveldb/leveldb/storage.fsParseName()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:643 +0x1c
  github.com/syndtr/goleveldb/leveldb/storage.(*fileStorage).List()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:458 +0x2a4
  github.com/syndtr/goleveldb/leveldb.(*session).recover.func1()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/session.go:113 +0xb4
  runtime.deferreturn()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/runtime/panic.go:476 +0x30
  github.com/syndtr/goleveldb/leveldb.Open()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db.go:183 +0x94
  github.com/syndtr/goleveldb/leveldb.OpenFile()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db.go:219 +0x6c
  github.com/projectdiscovery/hmap/store/disk.OpenLevelDB()
      /Users/tarun/go/pkg/mod/github.com/projectdiscovery/hmap@v0.0.6/store/disk/leveldb.go:25 +0x5c
  github.com/projectdiscovery/hmap/store/hybrid.New()
      /Users/tarun/go/pkg/mod/github.com/projectdiscovery/hmap@v0.0.6/store/hybrid/hybrid.go:158 +0x4d0
  github.com/projectdiscovery/fastdialer/fastdialer.NewDialer()
      /Users/tarun/go/pkg/mod/github.com/projectdiscovery/fastdialer@v0.0.21/fastdialer/dialer.go:56 +0x368
  fmt.Sscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:114 +0x118
  github.com/syndtr/goleveldb/leveldb/storage.fsParseName()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:643 +0x1c
  github.com/syndtr/goleveldb/leveldb/storage.(*fileStorage).List()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:458 +0x2a4
  fmt.Fscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:143 +0xa0
  fmt.Sscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:114 +0x1b8
  github.com/syndtr/goleveldb/leveldb/storage.fsParseName()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:657 +0x120
  fmt.(*ss).doScanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:1230 +0x304
  fmt.Fscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:143 +0xa0
  fmt.Sscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:114 +0x118
  github.com/syndtr/goleveldb/leveldb/storage.fsParseName()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:643 +0x1c
  github.com/syndtr/goleveldb/leveldb/storage.(*fileStorage).List()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:458 +0x2a4
  github.com/syndtr/goleveldb/leveldb.(*DB).checkAndCleanFiles()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db_util.go:52 +0x15c
  github.com/syndtr/goleveldb/leveldb.openDB()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db.go:130 +0x678
  github.com/syndtr/goleveldb/leveldb/storage.(*fileStorage).List()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:458 +0x2a4
  fmt.Fscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:143 +0xa0
  fmt.Sscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:114 +0x118
  github.com/syndtr/goleveldb/leveldb/storage.fsParseName()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:643 +0x1c
  github.com/syndtr/goleveldb/leveldb/storage.(*fileStorage).List()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:458 +0x2a4
  fmt.Fscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:143 +0xa0
  fmt.Sscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:114 +0x118
  github.com/syndtr/goleveldb/leveldb/storage.fsParseName()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:643 +0x1c
  github.com/syndtr/goleveldb/leveldb/storage.(*fileStorage).List()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:458 +0x2a4
  fmt.Fscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:143 +0xa0
  fmt.Sscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:114 +0x1b8
  github.com/syndtr/goleveldb/leveldb/storage.fsParseName()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:657 +0x120
  fmt.(*ss).doScanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:1230 +0x304
  fmt.Fscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:143 +0xa0
  fmt.Sscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:114 +0x118
  github.com/syndtr/goleveldb/leveldb/storage.fsParseName()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:643 +0x1c
  github.com/syndtr/goleveldb/leveldb/storage.(*fileStorage).List()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:458 +0x2a4
  github.com/syndtr/goleveldb/leveldb.(*DB).recoverJournal()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db.go:476 +0x84
  github.com/syndtr/goleveldb/leveldb.openDB()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db.go:125 +0x66c
  github.com/syndtr/goleveldb/leveldb.Open()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db.go:197 +0x238
  fmt.Fscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:143 +0xa0
  fmt.Sscanf()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/fmt/scan.go:114 +0x118
  github.com/syndtr/goleveldb/leveldb/storage.fsParseName()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:643 +0x1c
  github.com/syndtr/goleveldb/leveldb/storage.(*fileStorage).List()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/storage/file_storage.go:458 +0x2a4
  github.com/syndtr/goleveldb/leveldb.(*session).recover.func1()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/session.go:113 +0xb4
  runtime.deferreturn()
      /opt/homebrew/Cellar/go/1.19.4/libexec/src/runtime/panic.go:476 +0x30
  github.com/syndtr/goleveldb/leveldb.Open()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db.go:183 +0x94
  github.com/syndtr/goleveldb/leveldb.OpenFile()
      /Users/tarun/go/pkg/mod/github.com/syndtr/goleveldb@v1.0.0/leveldb/db.go:219 +0x6c
  github.com/projectdiscovery/hmap/store/disk.OpenLevelDB()
      /Users/tarun/go/pkg/mod/github.com/projectdiscovery/hmap@v0.0.6/store/disk/leveldb.go:25 +0x5c
  github.com/projectdiscovery/hmap/store/hybrid.New()
      /Users/tarun/go/pkg/mod/github.com/projectdiscovery/hmap@v0.0.6/store/hybrid/hybrid.go:158 +0x4d0
  github.com/projectdiscovery/fastdialer/fastdialer.NewDialer()
      /Users/tarun/go/pkg/mod/github.com/projectdiscovery/fastdialer@v0.0.21/fastdialer/dialer.go:47 +0x278
  github.com/projectdiscovery/nuclei/v2/pkg/protocols/common/protocolstate.Init()
      /Users/tarun/Codebase2/nuclei/v2/pkg/protocols/common/protocolstate/state.go:100 +0xa2c
  github.com/projectdiscovery/nuclei/v2/pkg/protocols/common/protocolinit.Init()
      /Users/tarun/Codebase2/nuclei/v2/pkg/protocols/common/protocolinit/init.go:19 +0xa4
  github.com/projectdiscovery/nuclei/v2/internal/runner.ParseOptions()
      /Users/tarun/Codebase2/nuclei/v2/internal/runner/options.go:104 +0x92c
  main.main()
      /Users/tarun/Codebase2/nuclei/v2/cmd/nuclei/main.go:68 +0x31c
==================

@Mzack9999
Copy link
Member Author

Superseded by #3312

@Mzack9999 Mzack9999 closed this Feb 14, 2023
@Mzack9999 Mzack9999 deleted the issue-3174-shared-interact branch February 14, 2023 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

panic: send on closed channel (interactsh)
2 participants