ropnop / kerbrute

A tool to perform Kerberos pre-auth bruteforcing
Apache License 2.0
2.64k stars 415 forks source link

panic: runtime error: invalid memory address or nil pointer dereference #61

Open vlutz opened 1 year ago

vlutz commented 1 year ago

Hi, i have an issue running kerbrute, here is my output

└─$ ./kerbrute userenum --dc 10.10.190.154 -d spookysec.local ~/userlist.txt

__             __               __     

/ / / /_ ___ / /___ / /// \/ / \/ / / / / / \ / ,< / / / / // / / / // / /_/ / //||_// /.// _,/_/\/

Version: v1.0.0 (191510e) - 03/16/23 - Ronnie Flathers @ropnop

2023/03/16 13:52:24 > Using KDC(s): 2023/03/16 13:52:24 > 10.10.190.154:88

2023/03/16 13:52:24 > [+] VALID USERNAME: james@spookysec.local panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x6849d9]

goroutine 24 [running]: github.com/ropnop/kerbrute/session.KerbruteSession.HandleKerbError(0x7ffd2e0162a6, 0xf, 0xc0000c0500, 0xf, 0xc0001da540, 0xc0000be100, 0x80, 0xc00013a000, 0x0, 0x0, ...) /go/src/github.com/ropnop/kerbrute/session/session.go:110 +0x29 github.com/ropnop/kerbrute/cmd.testUsername(0x780160, 0xc0000c81c0, 0xc0000154b0, 0x9) /go/src/github.com/ropnop/kerbrute/cmd/worker.go:84 +0x2ca github.com/ropnop/kerbrute/cmd.makeEnumWorker(0x780160, 0xc0000c81c0, 0xc000266000, 0xc0000c0c90) /go/src/github.com/ropnop/kerbrute/cmd/worker.go:50 +0x14a created by github.com/ropnop/kerbrute/cmd.userEnum /go/src/github.com/ropnop/kerbrute/cmd/userenum.go:46 +0x17c