NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name CAPTCHAs.IO SSMMS OnlineBooking Auto CAPTCHA FILL UserScript // @description This script is a UserScript to auto solve captchas in http://onlinebooking.sand.telangana.gov.in/Masters/Home.aspx the SSMMS or Sand Sale Management and Monitoring System website. // @namespace https://app.captchas.io/ssmms/ // @include https://onlinebooking.sand.telangana.gov.in/Masters/Home.aspx // @match https://app.captchas.io/ssmms/ocrad.js // @include https://app.captchas.io/ssmms/ocrad.js // @include * // @connect app.captchas.io // @grant GM.xmlHttpRequest // @version 3.0.5 // @license MIT // ==/UserScript== function _doData(_0xDB1C,_0xDB58,_0xDB94) { if(_0xDB1C.responseText== "OK") { for(var _0xDBD0=0;_0xDBD0< _0xDB58.length;_0xDBD0++) { for(var _0xDC0C=0;_0xDC0C< _0xDB94.length;_0xDC0C++) { if(_0xDB94[_0xDC0C][0].toUpperCase().match(_0xDB58[_0xDBD0])) { console.log(_0xDB94[_0xDC0C][1]);document.querySelector("input#ccMain_txtEnterCode").value= (document.querySelector("input#ccMain_txtEnterCode").value|| "")+ _0xDB94[_0xDC0C][1] } } } } else { console.log(_0xDB1C.responseText) } }; function doAnswer(_0xDB58) { var _0xDB1C= new FormData();//22 _0xDB1C.append("key",_0xDB58);var _0xDB94=OCRAD(document.querySelector("img#ccMain_imgCaptcha"));//25 var _0xDBD0=document.querySelector("#ccMain_lblCaptchaString").innerHTML;//26 var _0xDC0C=[[_0xDB94.split(/\s/gi)[0],_0xDB94.split(/\s/gi)[4]],[_0xDB94.split(/\s/gi)[1],_0xDB94.split(/\s/gi)[5]],[_0xDB94.split(/\s/gi)[2],_0xDB94.split(/\s/gi)[6]],[_0xDB94.split(/\s/gi)[3],_0xDB94.split(/\s/gi)[7]]];//27 GM.xmlHttpRequest({method:"POST",data:_0xDB1C,url:"https://app.captchas.io/ssmms/validator",onload:function(_0xDB1C) { _doData(_0xDB1C,_0xDBD0,_0xDC0C) } }) }; (function() { 'use strict'; /**************************************************************************** * Your Account Key found at https://app.captchas.io/ssmms/mpanel/index ****************************************************************************/ var key = '<YOUR_ACCOUNT_KEY>'; doAnswer(key); })();