Update 9Hits Viewer 2.4.0 and 9Hits Bot 1.2.4

Important announcements from 9Hits
Post Reply
daniel
Site Admin
Posts: 239
Joined: Fri Feb 23, 2018 10:50 am

Update 9Hits Viewer 2.4.0 and 9Hits Bot 1.2.4

Post by daniel » Fri Oct 11, 2019 7:10 am

Hi guys, a new update has just released with the following changes:
- Support Anti-Captcha in macros.
- Fixed the annoyance of running in the hidden mode (windows). You can run the viewer without annoying now.
- Improve macros and performance.
You may take the download link on the 9hits panel.

Let take a look at the anti-captcha function
You may wanna see the demo and the usage.

Image captcha

Code: Select all

//https://www.phpcaptcha.org/try-securimage/

await WaitForLoading();
var AcKey = "ef1bd148819abdf28037c7d7320f5450";
var image = await GetImageByXpath('//*[@id="captcha_one"]');
if(image)
{
    var result = await ACSolve({
        "clientKey":AcKey,
        "task":
        {
            "type":"ImageToTextTask",
            "body":image,
            "phrase":false,
            "case":false,
            "numeric":false,
            "math":0,
            "minLength":0,
            "maxLength":0
        }
    }, 150);
    
    //success without error
    if(result && result.errorId == 0)
    {
        SetByXpath(GenerateXpath("input", "name", "ct_captcha0"), "value", result.solution.text);
        await Delay(1000);
        await ClickByXpath(GenerateXpath("input", "type", "submit"));
        
		//check the result is correct or not
        await WaitForLoading();
        if(await EvaluateScript('document.body.innerText.includes("Sorry, the code entered was incorrect.")'))
        {
            Alert("Incorect");
            ACReportIncorrectImage(AcKey, result.taskId);
        }
        else Alert("Success");
    }
}

Recaptcha

Code: Select all

//https://www.google.com/recaptcha/api2/demo

await WaitForLoading();
var AcKey = "ef1bd148819abdf28037c7d7320f5450";
var siteKey = await EvaluateScript('document.getElementById("recaptcha-demo").getAttribute("data-sitekey")');
var pageUrl = await EvaluateScript('window.location.href');

var result = await ACSolve({
    "clientKey": AcKey,
    "task":
    {
        "type":"NoCaptchaTaskProxyless",
        "websiteURL":pageUrl,
        "websiteKey":siteKey
    }
}, 600);
    
    
//success without error
if(result && result.errorId == 0)
{
    SetById("g-recaptcha-response", "text", result.solution.gRecaptchaResponse);
    await Delay(1000);
    await ClickById("recaptcha-demo-submit");
    
	//check the result is correct or not
    await WaitForLoading();
    if(await EvaluateScript('document.body.innerText.includes("Verification Success")'))
        Alert("Success");
    else
    {
        Alert("Incorect");
        ACReportIncorrectRecaptcha(AcKey, result.taskId);
    }
}

hesham19
Posts: 2
Joined: Wed Sep 25, 2019 9:12 am

Re: Update 9Hits Viewer 2.4.0 and 9Hits Bot 1.2.4

Post by hesham19 » Fri Oct 11, 2019 11:00 am

Great work.Thank you very much 8-) 8-)

wernerk93
Posts: 12
Joined: Thu Mar 01, 2018 1:13 pm

Re: Update 9Hits Viewer 2.4.0 and 9Hits Bot 1.2.4

Post by wernerk93 » Fri Oct 11, 2019 12:43 pm

i love it. keep it up bro.
Thanks for your work!
Chr111s

HitzBooster
Posts: 38
Joined: Wed Apr 24, 2019 1:30 am
Location: Venezuela
Contact:

Re: Update 9Hits Viewer 2.4.0 and 9Hits Bot 1.2.4

Post by HitzBooster » Fri Oct 11, 2019 3:37 pm

Well done!
Thanks a lot

hzguang
Posts: 2
Joined: Sun Nov 10, 2019 11:47 am

Re: Update 9Hits Viewer 2.4.0 and 9Hits Bot 1.2.4

Post by hzguang » Sun Nov 10, 2019 1:37 pm

GooD

hzguang
Posts: 2
Joined: Sun Nov 10, 2019 11:47 am

Re: Update 9Hits Viewer 2.4.0 and 9Hits Bot 1.2.4

Post by hzguang » Tue Nov 19, 2019 5:11 pm

Good good

Post Reply