Created
September 14, 2018 08:33
-
-
Save AZcaptcha/759e2ed9f4170569da2d95625a677e62 to your computer and use it in GitHub Desktop.
Change hostname for other captcha
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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% | |
rem ------------------------- | |
setlocal EnableDelayedExpansion | |
if not "%1"=="am_admin" (powershell start -verb runas '%0' am_admin & exit) | |
echo [+] azcaptcha captcha gate (hostsfile editor) | |
echo [+] -------------------------------------------- | |
echo [+] %toRedirect% gate | |
for /f "tokens=1,2 delims=[]" %%a IN ('ping -n 1 !myServer!') DO ( | |
if "%%b" NEQ "" set ip=%%b | |
) | |
echo [+] IP address %ip% | |
echo.>>%hostsFile% | |
echo #azcaptcha gate>>%hostsFile% | |
echo !ip! %toRedirect%>>%hostsFile% | |
echo [+] Appended to hosts file: !hostsFile! | |
echo [+] Check page and make sure you get the message: Captcha gate enabled ^^! | |
echo [+] -------------------------------------------------------------------------------- | |
timeout /t 10 | |
start "" http://%toRedirect% | |
pause |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
set hostsFile=%SYSTEMROOT%\System32\drivers\etc\hosts | |
set myServer=azcaptcha.com | |
set toRedirect=api.anti-captcha.com | |
rem ------------------------- | |
rem azcaptcha captcha gate | |
rem ------------------------- | |
rem %toRedirect% | |
rem ------------------------- | |
setlocal EnableDelayedExpansion | |
if not "%1"=="am_admin" (powershell start -verb runas '%0' am_admin & exit) | |
echo [+] azcaptcha captcha gate (hostsfile editor) | |
echo [+] -------------------------------------------- | |
echo [+] %toRedirect% gate | |
for /f "tokens=1,2 delims=[]" %%a IN ('ping -n 1 !myServer!') DO ( | |
if "%%b" NEQ "" set ip=%%b | |
) | |
echo [+] IP address %ip% | |
echo.>>%hostsFile% | |
echo #azcaptcha gate>>%hostsFile% | |
echo !ip! %toRedirect%>>%hostsFile% | |
echo [+] Appended to hosts file: !hostsFile! | |
echo [+] Check page and make sure you get the message: Captcha gate enabled ^^! | |
echo [+] -------------------------------------------------------------------------------- | |
timeout /t 10 | |
start "" http://%toRedirect% | |
pause |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
set hostsFile=%SYSTEMROOT%\System32\drivers\etc\hosts | |
set myServer=azcaptcha.com | |
set toRedirect=api.dbcapi.me | |
rem ------------------------- | |
rem azcaptcha captcha gate | |
rem ------------------------- | |
rem %toRedirect% | |
rem ------------------------- | |
setlocal EnableDelayedExpansion | |
if not "%1"=="am_admin" (powershell start -verb runas '%0' am_admin & exit) | |
echo [+] azcaptcha captcha gate (hostsfile editor) | |
echo [+] -------------------------------------------- | |
echo [+] %toRedirect% gate | |
for /f "tokens=1,2 delims=[]" %%a IN ('ping -n 1 !myServer!') DO ( | |
if "%%b" NEQ "" set ip=%%b | |
) | |
echo [+] IP address %ip% | |
echo.>>%hostsFile% | |
echo #azcaptcha gate>>%hostsFile% | |
echo !ip! %toRedirect%>>%hostsFile% | |
echo [+] Appended to hosts file: !hostsFile! | |
echo [+] Check page and make sure you get the message: Captcha gate enabled ^^! | |
echo [+] -------------------------------------------------------------------------------- | |
timeout /t 10 | |
start "" http://%toRedirect% | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment