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

"Please confirm you are human." message blocks bots #13

Closed
butterflynx opened this issue Dec 5, 2017 · 13 comments
Closed

"Please confirm you are human." message blocks bots #13

butterflynx opened this issue Dec 5, 2017 · 13 comments

Comments

@butterflynx
Copy link

DeviantArt's "Please confirm you are human." message prevents dAbot from working. It appears when you try to login. The full message is:

"Access to this page has been denied because we believe you are using automated tools to log into and browse DeviantArt.

This may happen as a result of the following:

  • Javascript is disabled or blocked by an extension. Please click here to learn how to re-enable Javascript, and avoid using extensions and plugins that hinder necessary parts of the website from loading.
  • Your browser does not support cookies or you have disabled them. Click here for information on how to re-enable cookies.

Please make sure Javascript and cookies are enabled on your browser in order to browse DeviantArt."

@ericlovesmath
Copy link

Did you make sure Javascript and cookies are enabled on your browser? It's should be on Develop > Enable Javascript on a Mac

@KishanBagaria
Copy link
Owner

Seems like a temporary issue. It works over here.

@theothersophie
Copy link

I'm getting the same message. Tried for two days now and can't log in.

@Koopzington
Copy link

Same result for a week now... this time it might not be a temporary issue.

@KishanBagaria
Copy link
Owner

I tried it here again and it works. Maybe DA is throttling specific user accounts who're sending too many requests. Or it could be the IP/country or any random pattern or variable.

Try logging out of all other sessions: https://www.deviantart.com/settings/sessions

@Koopzington
Copy link

well would you look at that... it seems like dA put my IP on their blacklist. Even created a new account to check if that one worked, nope.
Tried running the bot from another IP adress and it works fine there.
I can still access the website normally using the "banned" IP though... i'd love to know how they can differentiate between me using a legitimate browser and the bot... The useragent and OS is getting spoofed... maybe we are missing some Request Headers in the bot's requests?

@KishanBagaria
Copy link
Owner

Yeah, it could be a missing request header which is easy to spoof once the exact headers have been found out. Or it could be some piece of JS on the login page sending a request saying the browser is not-a-bot.

@KishanBagaria
Copy link
Owner

KishanBagaria commented Jan 9, 2018

You can try fishing out the exact headers which can fix it or you can try contacting a developer at http://dt.deviantart.com or the helpdesk.

@jukesama
Copy link

jukesama commented Jan 13, 2018

the captcha only appears when you spam login

i have solved my problem it was a problem with the way i was killing the console that didn't let it save the cookies witch made it look like i was constantly login in with different cookies ever time that caused the spam lockout to happen
atexit — Exit handlers
"Note: The functions registered via this module are not called when the program is killed by a signal not handled by Python, when a Python fatal internal error is detected, or when os._exit() is called."

so if you logout of your account on a browser then run the bot and the bot relogs in then you kill the bot without using python it will not save the cookie and will login everytime instead of staying logged in all the time and if you keep doing this it will lock out your account just like KishanBagaria said make sure to check https://www.deviantart.com/settings/sessions there should not be multiple sessions if you see more than the ones you are using you have this problem

@theothersophie
Copy link

I think I made the same mistake as jukesama, so how long does it take before I can log in again after triggering the spam login captcha?

@jukesama
Copy link

for me my account was unlocked after 3 days mind you any login attempts during that period will prolong the lockout or "reset the timer" i also think the length of time depends on how many time you spammed the login because one of my other accounts is still locked out... but it should be no longer than at least a week but you cannot attempt to re-login at anytime during this period or it WILL RESET THE TIMER!!!

@KishanBagaria
Copy link
Owner

That explains, thanks for figuring this out @jukesama

DA would definitely block further logins if there are already dozens of login sessions on one account.

I was always closing the bot by pressing Ctrl+C or waiting for it to close itself so it didn't create a new login session everytime I ran it. I'll see if I can update it to save the cookie when it exits in other ways.

@DRSDavidSoft
Copy link
Collaborator

@KishanBagaria I investigated this reCAPTCHA issue for my own bot, and posted a summary for bypass and a patch in #21 and #22 respectively.

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

7 participants