Implex-ltd / HcaptchaSolver

Hcaptcha enterprise challenge solver
https://hcaptcha.com
Apache License 2.0
26 stars 7 forks source link

[Bug] Recognizer `panic: runtime error: index out of range [1] with length 1` #9

Open 0xF7A4C6 opened 1 year ago

0xF7A4C6 commented 1 year ago
panic: runtime error: index out of range [1] with length 1

goroutine 4226 [running]:
github.com/Implex-ltd/hcsolver/internal/recognizer.SolvePicSelect(0xc00137d3e0?, {0xc000de9260, 0x26}, {0xc004237e90, 0x12})
        C:/Users/arm/Documents/GitHub/HcaptchaSolver/internal/recognizer/nocap.go:280 +0xfbe
github.com/Implex-ltd/hcsolver/internal/recognizer.(*Recognizer).LabelAreaSelect(0xc004326f00)
        C:/Users/arm/Documents/GitHub/HcaptchaSolver/internal/recognizer/recognizer.go:418 +0x2e7
github.com/Implex-ltd/hcsolver/internal/recognizer.(*Recognizer).Recognize(0xc004326f00)
        C:/Users/arm/Documents/GitHub/HcaptchaSolver/internal/recognizer/recognizer.go:124 +0x4d0
github.com/Implex-ltd/hcsolver/internal/hcaptcha.(*Hcap).SolveImages(0xc000d257c0, 0xc001f69a40)
        C:/Users/arm/Documents/GitHub/HcaptchaSolver/internal/hcaptcha/answer.go:25 +0xc5
github.com/Implex-ltd/hcsolver/internal/hcaptcha.(*Hcap).CheckCaptcha.func1()
        C:/Users/arm/Documents/GitHub/HcaptchaSolver/internal/hcaptcha/hcaptcha.go:198 +0x5a
created by github.com/Implex-ltd/hcsolver/internal/hcaptcha.(*Hcap).CheckCaptcha in goroutine 4194
        C:/Users/arm/Documents/GitHub/HcaptchaSolver/internal/hcaptcha/hcaptcha.go:197 +0x18c
exit status 2
make: *** [Makefile:10: run] Error 1
Appuyez sur une touche pour continuer...