reCaptcha has blocked me out of my website I had enabled reCaptcha yesterday on my site. The keys that I had entered were generated for my real site while I had been working using my temp.

My site displayed this message continuously:


  Input error: Invalid referer


I didn't take it seriously for I thought it will be resolved when I start using the real url for my site. 

Today, when I logged out, I realized that I was wrong. I am not able to log inside my administrator account because the captcha is blocking me out. This is the message that I got when I tried to enter the site using my login id password: 


  The answer you entered for the CAPTCHA was not correct.


I can not disable the captcha on login screen because I am not able to enter the site. Should I delete the captcha module from my directory right way? Or will that screw up things further because I won't be able to clear the cache of my website?
If you can use SSH, or other shell, it's easy:


Install Drush. On Ubuntu, follow this document. Or simply unpack it and add it's directory to system's PATH variable (OS dependant).
Enter your Drupal's directory
Execute drush dis recaptcha


I strongly advise this approach, it may be a bit hard to set up initially, but drush is a powerful tool that can help you in future.

If you cannot, but you can use SQL client, it's not so bad too:


Login to your Drupal database with your SQL client
Back up your entire database
Execute UPDATE system SET status = 0 WHERE name = "recaptcha";


In both cases, you should be able to login, and uninstall reCaptcha module via UI to get rid of messed configuration data.