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

Captcha Issues #15

Open
Astroida opened this issue Dec 6, 2018 · 1 comment
Open

Captcha Issues #15

Astroida opened this issue Dec 6, 2018 · 1 comment

Comments

@Astroida
Copy link

Astroida commented Dec 6, 2018

Hi @NullArray, having issues with the Google captcha when using DorkNet. When it gets to the captcha screen, after about 5-10 seconds the tool crashes and I am unable to even complete the captcha. This is the output I get:

Traceback (most recent call last): File "./dorknet.py", line 180, in <module> proc_one = search() File "./dorknet.py", line 145, in search elem.clear() File "/usr/lib/python2.7/dist-packages/selenium/webdriver/remote/webelement.py", line 95, in clear self._execute(Command.CLEAR_ELEMENT) File "/usr/lib/python2.7/dist-packages/selenium/webdriver/remote/webelement.py", line 501, in _execute return self._parent.execute(command, params) File "/usr/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 311, in execute self.error_handler.check_response(response) File "/usr/lib/python2.7/dist-packages/selenium/webdriver/remote/errorhandler.py", line 237, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.InvalidElementStateException: Message: Unable to clear element that cannot be edited: <input name="q" type="hidden">

Looks to be an issue interacting with the q element from the captcha.

@NullArray
Copy link
Owner

NullArray commented Jan 2, 2019

Yeah, the q element is only present on the Google search page. After the latest update i committed to the repo i have been having more trouble with captchas as well. A stop gap measure could be to have a small list of proxies available, so you can switch IPs before Google starts to complain.

To that end you may find this wrapper i wrote helpful. Link to Wrapper

Also, it may interest you to know i've been looking into means of bypassing captcha, for a new DorkNet update.

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