LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > LinuxQuestions.org > LQ Suggestions & Feedback
User Name
Password
LQ Suggestions & Feedback Do you have a suggestion for this site or an idea that will make the site better? This forum is for you.
PLEASE READ THIS FORUM - Information and status updates will also be posted here.

Notices


Reply
  Search this Thread
Old 12-26-2015, 01:04 PM   #1
Michael Uplawski
Senior Member
 
Registered: Dec 2015
Posts: 1,620
Blog Entries: 40

Rep: Reputation: Disabled
Captcha unusable in *text-browsers*


Good evening.

While I was able to search and read your forums in the w3m text-browser, the registration form was impossible to complete.

The issue that I am reporting has no priority and may not concern many people. However, I deem the inconvenience artificial and unnecessary. Let me explain:

A computer that I try to upgrade from a hacked, illegally installed Windows to a recent version of Debian will not let me start XOrg because of some nasty incompatibilities of the graphics chip with the monitor and my own inability to provide a matching xorg.conf file.

With w3m I could read many threads on the topic of missing screen-sections and screen-sections that were unusable, but finally decided, that I had to register an account with LinuxQuestions.org to present my own log-output and settings.

It was unfortunately impossible to see and activate the captcha-button.

So, I had to shut down the system, start my own machine, wait for the account to be validated and then retry with w3m on the defective system again.

Whatever may be the volume of evil that the captchas divert from your forum, could there not be an easy way to provide an alternative test for users of text-browsers ?
I am sure that alternatives exist.

Thank you anyway,

Michael

Last edited by Michael Uplawski; 12-26-2015 at 01:06 PM.
 
Old 12-27-2015, 10:10 AM   #2
mjolnir
Member
 
Registered: Apr 2003
Posts: 815

Rep: Reputation: 99
Interesting. I often browse this forum with e-links after a login but I had never thought about a captcha in the registration process. Here is one approach to the problem I found on the net:

http://minds.coremedia.com/2013/06/1...n-gui-systems/
"Responding to CAPTCHA Challenges on non-GUI Systems
by Moritz Kleine on June 14, 2013
When moving a service that gathers data from a 3rd party system to a hosted non-GUI system (e.g., AWS EC2) you may need to enable access to the 3rd party system from that non-GUI system by responding to a CAPTCHA challenge.

Problem
The problem is that your 3rd party service provider will recognize attempts to log into your account from a new location and may protect your account by presenting a CAPTCHA challenge.

CAPTCHA stands for Completely Automated Public Turing test to tell Computers and Humans Apart. Common challenges are images containing blurry letters which can be read by humans but cannot be extracted by todays image processing algorithms. So there is no way of scripting a response to the challenge. Human interaction is required at some point.

If the shell is all you can use, you can of course access the login page of your 3rd party system, e.g., using wget, but remember that each login request will get a new challenge and will only be granted if the response to the challenge is the right one. So youll better use a text browser but then you will still be unable to view the image that youre supposed to decipher.

Solution
Lynx can be configured to use an external image viewer by editing lynx.cfg. If you dont find lynx.cfg on your system, just create your own (or download one) and pass it to lynx using the -cfg command line option. On our system, the image viewer xv was configured:

XLOADIMAGE_COMMAND:xv s

The trick is now to replace xv with a command line tool that helps you to finally see the image. I used scp (using SSH public key authentication) to copy the image file to my local machine so that I was able to use my favorite image viewer to read the text.

You could also print the image or email it to someone who will then read the images text aloud when you call him. Anyway, once you got the image to another device, youre nearly done.

Conclusion
Lynx and scp can be combined to help you to respond to CAPTCHA challenges. The approach outlined here works for graphical challenges but can also be used for auditive challenges as long as theres any chance to download the audio file or to capture the stream."
 
Old 12-27-2015, 02:51 PM   #3
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
i think the forum software ate the % again... fixed it:
Quote:
Originally Posted by mjolnir View Post
XLOADIMAGE_COMMAND:xv %s
 
Old 12-28-2015, 09:32 AM   #4
Michael Uplawski
Senior Member
 
Registered: Dec 2015
Posts: 1,620

Original Poster
Blog Entries: 40

Rep: Reputation: Disabled
Thank you for the idea.
What may have kept me from using an external application was probably the fact that w3m-img is not working on the system that I had to use for the registration, as there is no framebuffer available and there was no working X-server (still is not).

If you know of an image viewer application like the old zgv (which should not be used any more for security reasons), but which does not need the framebuffer... ah hell. I am registered now and do not have the problem any more. The procedure is however complicated and I would first think about replacing the graphical Captcha against something else. But, as I wrote above..: No Priority.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CentOs init 3 unusable, constant stream of text pinkyzbrain Linux - General 7 06-20-2013 01:39 PM
LQ searching with text browsers dive LQ Suggestions & Feedback 1 12-31-2006 11:16 AM
Text Editors in Web Browsers rjlee Linux - Software 3 06-02-2005 03:43 PM
text mode is unusable (not working) if nvidia 3D drivers are enabled K6H Linux - Software 6 01-12-2005 07:06 AM
Best Text based browsers saurya_s Linux - Software 7 01-02-2004 11:53 AM

LinuxQuestions.org > Forums > LinuxQuestions.org > LQ Suggestions & Feedback

All times are GMT -5. The time now is 06:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration