Skip to content

releases v2.14.1版本使用-m 参数失败 #122

@UUU7777777

Description

@UUU7777777

使用的版本
https://github.com/chainreactors/gogo/releases/tag/v2.14.1
运行环境kali
┌──(root㉿kali)-[~/Videos]
└─# ./gogo_linux_amd64 -i 10.1.1.1/16 -m s
[] gogo: , 2025-12-16 06:52.41
[warn] System fd limit: 1024 , Please exec 'ulimit -n 65535'
[warn] Now set threads to 924
[
] Current goroutines: 924, Version Level: 0,Exploit: none, PortSpray: false , 2025-12-16 06:52.41
[] Start task 10.1.1.1/16 ,total ports: 3 , mod: s , 2025-12-16 06:52.41
[
] ports: 80,443,8080 , 2025-12-16 06:52.41
[] Spraying 10.1.1.1/16 with s, Estimated to take 284 seconds , 2025-12-16 06:52.41
[
] Smart port probes: 80,icmp , 2025-12-16 06:52.41
panic: runtime error: index out of range [4] with length 4

goroutine 9 [running]:
github.com/chainreactors/utils.(*CIDR).LastIP(0xc000aaa180)
pkg/mod/github.com/chainreactors/[email protected]/cidr.go:127 +0x1ae
github.com/chainreactors/utils.(*CIDR).Split(0xc000a7be60, 0x18)
pkg/mod/github.com/chainreactors/[email protected]/cidr.go:142 +0x165
github.com/chainreactors/gogo/v2/core.(*IpGenerator).smartIpGenerator(0xc000aaa030, 0x0)
/home/runner/work/gogo/gogo/v2/core/generator.go:41 +0x3e
github.com/chainreactors/gogo/v2/core.(*IpGenerator).generatorDispatch.func1()
/home/runner/work/gogo/gogo/v2/core/generator.go:96 +0x58
created by github.com/chainreactors/gogo/v2/core.(*IpGenerator).generatorDispatch
/home/runner/work/gogo/gogo/v2/core/generator.go:91 +0xdd

Image

Metadata

Metadata

Assignees

No one assigned

    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