Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't allow eval just for OCRAD.js #102

Open
siphomateke opened this issue Mar 17, 2019 · 2 comments
Open

Don't allow eval just for OCRAD.js #102

siphomateke opened this issue Mar 17, 2019 · 2 comments

Comments

@siphomateke
Copy link
Owner

siphomateke commented Mar 17, 2019

OCRAD.js uses eval to do OCR on ZRA's login captchas. This is blocked in extensions by default to increase security. We've had to allow evals to run just so OCRAD.js runs normally.

A better workaround should be found rather than just allowing all evals to run. Perhaps using a different OCR library or running OCRAd in an iframe.

@hbzhang3
Copy link

exactly, @siphomateke did you find any alternatives for this? I tried Tesseract, it is much slower than ocrad.

@siphomateke
Copy link
Owner Author

@hbzhang3 Hey, I haven't worked on this project in over 3 years, so I'm afraid I can't help much. That said, I switched to using a more advanced OCR model than Ocrad.js, which you can see here https://github.com/siphomateke/zra-captcha-solver.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants