索引越界报错(index out of range)
扫描时报错
panic: runtime error: index out of range [0] with length 0 [recovered]
panic: runtime error: index out of range [0] with length 0
goroutine 88 [running]: encoding/json.(*encodeState).marshal.func1() $GOROOT/src/encoding/json/encode.go:326 +0x6e panic({0xaa2320, 0xc0040a2018}) $GOROOT/src/runtime/panic.go:884 +0x213 encoding/json.mapEncoder.encode({0xa1db00?}, 0xc002ee2000, {0xab10a0?, 0xc003364770?, 0x6?}, {0xd?, 0x0?}) $GOROOT/src/encoding/json/encode.go:798 +0x750 encoding/json.structEncoder.encode({{{0xc001ed4000?, 0x34?, 0x2?}, 0xc0006f3050?}}, 0xc002ee2000, {0xace2a0?, 0xc0033646c0?, 0x411967?}, {0x0, 0x1}) $GOROOT/src/encoding/json/encode.go:759 +0x1f4 encoding/json.ptrEncoder.encode({0xc001b11d10?}, 0xc002ee2000, {0xa9c9e0?, 0xc0033646c0?, 0xa9c9e0?}, {0x0?, 0x0?}) $GOROOT/src/encoding/json/encode.go:943 +0x21c encoding/json.(*encodeState).reflectValue(0xc002ee2000?, {0xa9c9e0?, 0xc0033646c0?, 0x3fe267?}, {0xff?, 0xff?}) $GOROOT/src/encoding/json/encode.go:358 +0x78 encoding/json.(*encodeState).marshal(0x3f65bd?, {0xa9c9e0?, 0xc0033646c0?}, {0x10?, 0x84?}) $GOROOT/src/encoding/json/encode.go:330 +0xfa encoding/json.Marshal({0xa9c9e0, 0xc0033646c0}) $GOROOT/src/encoding/json/encode.go:161 +0xe5 github.com/chainreactors/parsers.(*SprayResult).ToJson(...) pkg/mod/github.com/chainreactors/[email protected]/spray.go:317 github.com/chainreactors/spray/core.(*Runner).Output(0xc001bd1cc0, 0xc0009a4420) /home/runner/work/spray/spray/core/runner.go:406 +0x267 github.com/chainreactors/spray/core.(*Runner).OutputHandler.func2() /home/runner/work/spray/spray/core/runner.go:455 +0x29 created by github.com/chainreactors/spray/core.(*Runner).OutputHandler /home/runner/work/spray/spray/core/runner.go:448 +0x97