Skip to content
This repository has been archived by the owner on Jul 7, 2024. It is now read-only.

Commit

Permalink
Add Antigate anti-captcha support
Browse files Browse the repository at this point in the history
  • Loading branch information
0x0d committed Aug 26, 2013
1 parent 47d6047 commit 06334ac
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion fetchraif.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ var captchaDecoders = {
'cmd': './deathbycaptcha.sh',
'args': [casper.cli.options['deathby-login'], casper.cli.options['deathby-password'], 'raif.png']
},
'antigate': {
'cmd': './antigatecaptcha.sh',
'args': [casper.cli.options['antigate-key'], 'raif.png']
},
'manual': {
'cmd': 'yad',
'args': ['--image', 'raif.png', '--entry']
Expand All @@ -18,7 +22,7 @@ var captchaDecoders = {
var captchaDecoder = captchaDecoders[casper.cli.options['captcha-decoder']];

if (Object.keys(casper.cli.options).length < 3) {
casper.echo("usage: fetchraif.js --captcha-decoder=[deathby|manual] --raif-login=RCONNECT_LOGIN --raif-password=RCONNECT_PASS [--deathby-login=DEATHBY_LOGIN --deathby-password=DEATHBY_PASS]").exit();
casper.echo("usage: fetchraif.js --captcha-decoder=[deathby|antigate|manual] --raif-login=RCONNECT_LOGIN --raif-password=RCONNECT_PASS [--deathby-login=DEATHBY_LOGIN --deathby-password=DEATHBY_PASS --antigate-key=ANTIGATE_KEY]").exit();
}

casper.start('https://connect.raiffeisen.ru/rba/Login.do').then(function () {
Expand Down

0 comments on commit 06334ac

Please sign in to comment.