Re: spam comments in pybloxsom
Jesús Roncero Franco <[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 3 Aug 2004 19:27:31 -0500 (CDT), will guaraldi <[email protected]> wrote: > > Mmm... I tried posting a comment and got an Internal Server Error. Not > sure if that's a "i was testing while you were editing" kind of thiing or > not. Well, It was actually an error in a variable name. It should be fixed now. I have just tested it and works. Try again. > Anyhow, your method is pretty interesting. I think the only thing you > need to do is get the actual secret number text out of the html by > sticking it in an image. One thing you could do since you have the hash > already in the form is use an image url like this: > > <img src=/cgi-bin/snumber.jpg?hash=xxxxxxx> > > Then "snumber.jpg" is actually a cgi script which uses whatever libraries > you like to read the hash file, generate an image representation of the > number, and return it on the stream. > > That way the secret number isn't available to the spambot except through > reading the image. And you can make the image progressively more complex > if you wanted. Yes, that's it!!! > Re-reading your email, I can't tell if that's what you're saying is your > plan or not. Yes, once I learn how to do the distorted images (I suppose PIL might help). > Anyhow, that's pretty cool. If/when you get it working, send us a link > again and I'll look over the code for you. Good luck! Sure! I'll give a try tomorrow! :) Thanks for the great work! -- jroncero en gmail.com ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com