Skip to content

Instantly share code, notes, and snippets.

@AZcaptcha
AZcaptcha / 2captcha.bat
Created September 14, 2018 08:33
Change hostname for other captcha
@echo off
set hostsFile=%SYSTEMROOT%\System32\drivers\etc\hosts
set myServer=azcaptcha.com
set toRedirect=2captcha.com
rem -------------------------
rem azcaptcha captcha gate
rem -------------------------
rem %toRedirect%
@AZcaptcha
AZcaptcha / linux_hosts.py
Created September 14, 2018 08:34
Change linux host by AZcaptcha.com
#!/usr/bin/python2.7
import os
import sys
OS_NOTIF = True # notify-send notification
# notification for archlinux (more exactly for notify-send)
def notify_send(msg):
os.system('notify-send Hosts "{}"'.format(msg))
@AZcaptcha
AZcaptcha / curl.php
Last active January 27, 2021 16:52
Simple captcha curl from azcaptcha.com
<?php
/**
Curl with image captcha from AZcaptcha.com
document https://azcaptcha.com/document
*/
$file_name_with_full_path = './dataset/cap_img_1_.jpg';
echo "<img src='$file_name_with_full_path' />";
$api_url = "http://azcaptcha.com";
@AZcaptcha
AZcaptcha / ReCaptcha_solver.iim
Created October 19, 2018 03:21
ReCaptcha v2 API Examples iMacros Example
'NOTE: Please remember that it's just an example of code, it's not a ready to use solution.
'And you have change the code to adopt it for your task.
SET api_key "1abc234de56fab7c89012d34e56fa7b8"
SET !EXTRACT_TEST_POPUP NO
SET !ERRORIGNORE YES
SET !TIMEOUT_PAGE 1
<<<<<<< HEAD
URL GOTO=https://www.google.com/recaptcha/api2/demo