OpenBullet2 icon indicating copy to clipboard operation
OpenBullet2 copied to clipboard

[Bug]: 2Captcha GeeTest returns empty "successful" response

Open ShayMe21 opened this issue 4 years ago • 3 comments

Version of the software

0.2.3

Operating system

MacOS 12.2.1

Browser / Native

Chrome Version 100.0.4896.75

What happened?

I am using the 2captcha service to solve this GeeTest slider for fun: https://www.geetest.com/demo/slide-float.html AFAIK, this is not GeeTest v4 because captcha_id parameter is not there as per guide 2captcha guide here.

I get a solution but it is always empty like this: image

Relevant LoliCode if needed

BLOCK:CurrentUnixTime
  => VAR @now
ENDBLOCK

BLOCK:HttpRequest
LABEL:Http Request - GeeTest challenge page
  url = $"https://www.geetest.com/demo/gt/register-slide?t=<now>"
  maxNumberOfRedirects = 7
  customHeaders = {}
  TYPE:STANDARD
  $""
  "application/x-www-form-urlencoded"
ENDBLOCK

BLOCK:Parse
LABEL:Parse GeeTest Script - challenge
  input = @data.SOURCE
  attributeName = ""
  jToken = "challenge"
  multiLine = True
  MODE:Json
  => VAR @challenge
ENDBLOCK

BLOCK:Parse
LABEL:Parse GeeTest Script - gt
  input = @data.SOURCE
  attributeName = ""
  jToken = "gt"
  multiLine = True
  MODE:Json
  => VAR @gt
ENDBLOCK

BLOCK:SolveGeeTestCaptcha
  gt = @gt
  apiChallenge = @challenge
  apiServer = "apiv6.geetest.com"
  siteUrl = "https://www.geetest.com/demo/slide-float.html"
  => VAR @solveGeeTestCaptchaOutput
ENDBLOCK

ShayMe21 avatar Apr 07 '22 05:04 ShayMe21

Hello, please open the issue on the CaptchaSharp repository (it's still maintained by me) since this is a CaptchaSharp issue https://github.com/openbullet/CaptchaSharp

openbullet avatar Apr 07 '22 17:04 openbullet

There you go: https://github.com/openbullet/CaptchaSharp/issues/16

ShayMe21 avatar Apr 07 '22 22:04 ShayMe21

I made PR fixing this https://github.com/openbullet/CaptchaSharp/issues/20

londek avatar Oct 06 '22 14:10 londek