Skip to content

type切换查询模式的时候,会出现runtime error内存地址报错 #213

@xiaoe888

Description

@xiaoe888

enscan.exe -n 小米 -type aqc,miit
查询后,继续使用-type all查询,会爆出如下错误
Image

必须删除目录下的enscan.gob缓存文件才能继续进行查询

[ERR] 未找到 xlb 任务模式panic: runtime error: invalid memory address or nil pointer dereference[signaL 0xc0000005 code=0x0 addr=0x18 pc=0x8009dc]
goroutine 82 [running]:github.com/wgpsec/ENScan/runner.(EnJob).SearchBykeyWord(Oxc0003ac360, {0xc000032168, Ox18})/home/runner/work/ENScan_G0/ENScan_G0/runner/enscan.go:15 +0x3cgithub.com/wgpsec/ENScan/runner.CE5Job).processTask(Oxc00019b1e0, ff0xc000032168, Ox18},{0x9cb5d1, Ox33, {0x0,0x0}})/home/runner/work/ENScan_G0/ENScan_G0/runner/runner.go:180 +0x587github.com/wgpsec/ENScan/runner.(*ESJob).StartENworkers.func1()/home/runner/work/ENScan_G0/ENScan_G0/runner/runner.go:302 +0xcccreated by github.com/wgpsec/ENScan/runner.(*ESJob).StartENworkers in goroutine 1/home/runner/work/ENScan_G0/ENScan_G0/runner/runner.go:300 +0x66

go版本信息:
go version go1.25.5 windows/amd64

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions