GoMapEnum icon indicating copy to clipboard operation
GoMapEnum copied to clipboard

issue with Go

Open w0x68y opened this issue 2 years ago • 6 comments

cmd :

GoMapEnum owa brute -u 123456 -p 1234567 -t mail.xx.com

Then:

panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x1354431]

goroutine 33 [running]: GoMapEnum/src/orchestrator.(*Orchestrator).UserEnum.func1(0xc0000b0b40?) /Users/gardenvan/Desktop/git/exchange/GoMapEnum/src/orchestrator/userEnum.go:43 +0x1b1 created by GoMapEnum/src/orchestrator.(*Orchestrator).UserEnum /Users/gardenvan/Desktop/git/exchange/GoMapEnum/src/orchestrator/userEnum.go:33 +0x297

I'm using go version go1.20.4 darwin/amd64, and use last commit

w0x68y avatar May 29 '23 08:05 w0x68y

Thank you for the issue. Do you encounter the error each time your run this command ? On my side, I am not able to reproduce the issue with the command you put. image

nodauf avatar May 29 '23 13:05 nodauf

Thank you for the issue. Do you encounter the error each time your run this command ? On my side, I am not able to reproduce the issue with the command you put. image

Yes,This error occurs when using a website that can be accessed normally. like: GoMapEnum bruteSpray owa -u 123 -p 123 -t mail.yuexiu.com

w0x68y avatar May 29 '23 13:05 w0x68y

The issue should be fixed with the last commit.

nodauf avatar May 29 '23 16:05 nodauf

After verifying the user name, an error will be reported when entering the password cracking module:

panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x1353836]

goroutine 454 [running]: GoMapEnum/src/orchestrator.(*Orchestrator).Bruteforce.func1(0x1ec9acdb4162d3f2?) /Users/gardenvan/Desktop/git/exchange/GoMapEnum/src/orchestrator/brute.go:84 +0x536 created by GoMapEnum/src/orchestrator.(*Orchestrator).Bruteforce /Users/gardenvan/Desktop/git/exchange/GoMapEnum/src/orchestrator/brute.go:59 +0x585

w0x68y avatar May 30 '23 02:05 w0x68y

You can change CheckIfValid to false, and then blast the account password,which can trigger an error report,like: GoMapEnum owa brute -u administrator -p 123 -t mail.yuexiu.com image

w0x68y avatar May 30 '23 02:05 w0x68y

Thank you for the bug, it appears than the owa module was only partially updated when the code base was changed. For information, you can change the -c without -c=false.

nodauf avatar May 30 '23 16:05 nodauf