base 64 Image captcha problem



  • Hi I wanted to know how solve this base 64 image captcha

    {"img": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAAjCAYAAABfLc7mAAALIUlEQVR4nO1be1CTVxY/eUETiEAA5WEIBDMBxSBvLMLIq9htt4vKQztKu9IBsax0WlxRdJphVWh1dmjtsLiKUtyyWNSlsCNghSLgIBQaQFALNPKQYkl5BQiQEO7+gXcnQyEkIWmq9cz8Zr4v99zvnO/+7uN8594QEELwQp5fIerbgReiWyHr2wEsTU1NHhcvXtxXV1e3eXR01HTNmjU/+fv718TGxuZwudzv9e3fsyqEpaZomUxGKS4ufqO+vt5nZGTEzNraeiAkJOTWli1baolE4py2HBgfH6fv378/Oz8//83Fyslk8uzRo0dP8fl8PoFAeLGeqCsIoV+gtLR029q1a/sAAC2Eo6NjV2tr68bF6qkLiURC9fDwaMTPZjKZvQwGY+jkyZNHw8LCyhTtJiUlZWrD5u8Nv/ghJydnH4FAmFuMXAwTE5PRjo4OzkqNHzly5BR+Jp/P/7CxsdGDRqNNisViurOz831TU9MRFovVjXVKSkpe13eDaQMSiYR6//5959bW1o1DQ0OMX43g2tpaPxKJNIsblM1m/5CWlnY8Jydn3+HDhzOYTGYvLvPw8Gicm5sjrMS4hYWFCADQW2+9lYsQgtTU1BM7duy4lpaWdhwAUHBw8C0AQAYGBjMAgNzc3L7TNzkrQU1NzZbQ0NCbim0MAMjV1bU5Ly9vr04JlslkZC6X+xAb3blz51WJREJVVBaJRBaOjo5dWKewsDBCU8P9/f02C0emq6trc3p6egqNRps0MDCY4fF4LQQCYS4hISELABCNRpvUN0ma4vLly3uIRKIcABCBQJhzcnJ64O7u3mRkZDSB2yExMfGszgi+fPnyHmyIx+O1zMzMGCxWoaysLAzrhYaG3tTUsFgspuOl4NSpU0cGBwctSSTSrKen57cAgPDU7OPjcxd3PDs7ux59E6UJpFIpxdzc/Gccw3R1dTnisomJCaPIyMgvcZs2Nze76oRgb2/vemzkm2++2aqs0vr169sBAJFIp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psy2QyskAg2KT4SVhfX++tE4JFIpEFXmOMjIwm2tvb1y9Ufvz4sa21tfWPAICIRKL83r17LvomaKXA75yVlZWgin5XV5cjJqOurs5XHVtRUVFXSCTSLMbCs2/46JI28f+D7xYWFj/z+Xw+AMDk5KRRUFBQZWFhYeTk5KRRX18fMzMz8z1PT8/GgYEBa4D5vK2Li0vbSgK834KsXbv2MQAATpUuJ48ePXLA17a2tv3q2JLL5SRFEAgEZG5uPhQUFFSZm5v79qVLl/6slvOqiCLbcrmcuH379uuwTNDz8ssv35mamnpJ36NPG3j33Xc/A5g/DjQ5OUlbTj86OroAABCHw+nQt++q4Bc/SKVSysGDBz9ZLKVGpVIlSUlJmc8LuQgh6Ojo4OADB/Hx8dnKkiiKn4eqTun6xpIFQqHQIS0t7XhMTMznCQkJWdnZ2fHDw8Nm+nZYF/j4448PYeICAgJuX7t2bcfAwICVTCYjj4yMmN6+fTsgNjb2Aj4VGRgYWKls3/i3BL078FtBRkbG4eWODgHMHyfW9dkwbWLJ/yb9HkUoFLKzs7P3V1VVbRUKheyxsTETY2PjCRsbmx8DAgKq9+zZ8y8/P787+vZTHXlB8HMuL/4f/JzLC4Kfc/kfLEhgMkyXFtYAAAAASUVORK5CYII="}

    Screen Shot 2020-05-27 at 11.33.06 PM.png
    Screen Shot 2020-05-27 at 11.33.22 PM.png

    I 've got "Bad credentials! ERROR_WRONG_USER_KEY"
    And also tried without "data:image/jpeg;base64" seems nothing work!


  • Admin

    Well... I think the error is self explanatory. Solving captchas is not free, you have to set up an account in a solving service and put the api key in the settings section of OB (Settings > RuriLib > Captchas). If you just need image captchas, try TrueCaptcha, they give free API keys.



  • Thanks for fast reply :))
    I will try



  • I thought base64 iss free thanks alot it's working now



  • After u parse data, use function block to base64 encode then use info in solve captcha block.



  • @ruri here can we know what function does ob use to further convert the base64 variable and send post request to 2captcha?


  • Admin

    @thelurker OB uses a library I wrote, it's called CaptchaSharp, search it on github, you can use it in your own project as well


Log in to reply