Print Topic - Archive
E-Blah Community / E-Blah Bugs / E-Blah suffering from spam
Posted by: thetoad, May 21, 2006, 11:14am
I have a board that only allows registered users to create or respond to threads, but somehow the cialas/viagra people have found a way around it and we are getting inundated w/ spam.
how can we fix this?
Posted by: stuseattle, May 21, 2006, 1:52pm; Reply: 1
I have a board that only allows registered users to create or respond to threads, but somehow the cialas/viagra people have found a way around it and we are getting inundated w/ spam.
how can we fix this?
Sme thing here. We've been overrun with cialas/viagra postings the past week. In addition, this morning, all of the topics and posts in one of our boards disappeared this morning...you can still find a message or two in there but it's all labeled "unavailable."
Thoughts?
stu
Posted by: Craig, May 21, 2006, 3:50pm; Reply: 2
Justin, you have to find a fix to this. Users shouldn't have to disallow guest access to prevent bots from posting. Isn't there a way to disable all bots from posting a message?
Posted by: Martin, May 21, 2006, 7:09pm; Reply: 3
I may have a fix for this, try posting a new thread or reply to the test thread over at:
http://www.opportunitynowhere.co.uk/cgi-bin/975/Blah.pl?It's an extra
Confirm Post selection which a bot will not be able to do so can't post as a guest.
If you think it is OK then I'll make a mod, this was done in 9.71b
Posted by: Justin, May 22, 2006, 6:06am; Reply: 4
Hmm, I think P9.5 or so had a post bug where guests could still post even if permissions were turned off. Make sure you're up to date.
I'm
looking into Akismet, but I doubt I can incorporate it.
In P9.75+ you can use capatula and it'll make sure that people who register are actual people and not bots.
Akismet should work:
http://search.cpan.org/~nikolay/Net-Akismet/lib/Net/Akismet.pmThe problem is, I'll have to make a spam board where these posts will go because not all posts are spam. We will be one of the first/only forums to have this feature though.
I may just make it report an error for guests, while all registered users will be able to post since they use Capatula. PLUS it'd be a lot of bandwidth for checking all posts on heavy forums.
Posted by: Martin, May 22, 2006, 7:31am; Reply: 5
My way works, a bot can't make a choice from a dropdown menu. I don't get spam on my boards that have guest posting enabled.
Posted by: Justin, May 22, 2006, 7:50am; Reply: 6
Akismet protects a lot of the WordPress blogs out there.
Quoted Text
Live Spam Zeitgeist
36,774,250 spams caught so far
708,898 so far today
90% of all comments are spam
http://akismet.com/
Posted by: kidmuto, May 22, 2006, 9:02am; Reply: 7
the confirm post works now but bots can be taught to select a drop down. the best thing would be one of those word confirmations, where the user has to type in a word to verify. there are some free packages that do this which can be integrated into eblah - i'll look into it. i dont have time to write a mod, unfortunately, but with the amount of cialis finding its way onto my board i may not have a choice!
Posted by: Justin, May 22, 2006, 9:06am; Reply: 8
I've already said I'm thinking of adding Aksimet protection. I use it on my blog and haven't got a single spam since it was installed.
Posted by: Martin, May 22, 2006, 9:11am; Reply: 9
I've already said I'm thinking of adding Aksimet protection. I use it on my blog and haven't got a single spam since it was installed.
That would be 1st class Justin and E-Blah would just be even better. Wish I was more knowledgable to help out.
I've seen one mod out there for Phorum which is php and that mod just deletes the post so no extra board.
Posted by: Justin, May 22, 2006, 9:32am; Reply: 10
Yeah, what I was thinking is having the option to the admin to offer an error page to the user OR just deleting the post without even telling the user.
You'll have to register your site with Akismet though, but it's free and easy.
And you need to read my e-mail post on the Admin board, Martin.
Posted by: kidmuto, May 22, 2006, 9:52am; Reply: 11
justin - askimet is supposedly great but i beleive it is a hosted solution. what if askimet is down, or just slow, or if they decide to start charging for their service, etc... also, i think askimet works by scanning the post.
dont get me wrong! i think askimet is a great solution but if you could have multiple methods then why not. it certainly wouldnt hurt if a mod was out there to do what i described as well, and let the user choose which method they want.
by the way, i tried to temporarily put a password on the board in question, but it seems that requires you to be logged in as well... i have no excuses, of course - its really time for me to upgrade. just hard to find time for these things and my board has 1600+ users who dont tolerate downtime so well...
Posted by: Justin, May 22, 2006, 10:03am; Reply: 12
Quoted Text
One of the reasons we're doing Akismet is we've built up a highly fault-tolerant infrastructure that can handle huge amounts of traffic and processing. However if something ever does go wrong your comments will simply go into the moderation queue.
http://akismet.com/faq/This would only target guest posts. Nothing else.
I doubt they'll ever charge for it ...
Posted by: kidmuto, May 22, 2006, 10:15am; Reply: 13
that is probably true. are you saying you prefer if i DONT write up a mod for the numerical/word verification system? i just didnt think it would hurt but you seem to be very into the askimet idea?
Posted by: Justin, May 22, 2006, 10:29am; Reply: 14
I know Akismet works because of all the spam it catches on
my blog.
You could do a capatula system about the same way I did on the Register pages, but I suggest against it (those things are
lame and just make it so no one
wants to post on your forum, I think :P).
Posted by: Craig, May 22, 2006, 11:12am; Reply: 15
You use capatula here, and when you opened up to guest posting, the bots started spamming again. That is why I am confused. I haven't looked into any of it, but I am sure what ever way you come up with will work:)
Posted by: Justin, May 22, 2006, 11:23am; Reply: 16
He's talking about image verification for all guests posting messages.
Posted by: kidmuto, May 22, 2006, 11:42am; Reply: 17
what is capatula? i cant seem to find it anywhere on the net. they are quite annoying but for guest posts its not a big deal. on my site - only registered users are allowed, except for the tech support board (in case people are having issues logging in or registering). a number system would be ideal for that, if i limited to that board only. and it doesnt require bandwidth or have any outside dependancies...
Posted by: Justin, May 22, 2006, 11:48am; Reply: 18
Posted by: kidmuto, May 22, 2006, 11:48am; Reply: 19
Posted by: Justin, May 22, 2006, 11:55am; Reply: 20
I gave you a link to Wikipedia. :P
Posted by: kidmuto, May 22, 2006, 12:25pm; Reply: 21
i know - i meant i'll look up the wiki :)
seems simple enough to write a mod. there is a perl captcha module. at work now but will play with it later this week....
Posted by: Martin, May 22, 2006, 12:53pm; Reply: 22
I have an earlier mod that creates a random 6 digit verification number also.
Posted by: kidmuto, May 22, 2006, 1:27pm; Reply: 23
do you have a link to it? is it a captcha system?
Posted by: Martin, May 22, 2006, 1:51pm; Reply: 24
Not a captcha system, it generates a random number and then compares it to the input from the user. I wrote it for registration authentication on 9.6
Give me a while and I'll convert to 9.71b for posting authentication then install/test it. I'll send you a link when done.
Posted by: Justin, May 22, 2006, 1:56pm; Reply: 25
Not a captcha system, it generates a random number and then compares it to the input from the user. I wrote it for registration authentication on 9.6
Give me a while and I'll convert to 9.71b for posting authentication then install/test it. I'll send you a link when done.
Actually, this will not prevent all bots from posting.
Posted by: Martin, May 22, 2006, 2:07pm; Reply: 26
Actually, this will not prevent all bots from posting.
So how do they input a randomly generated number?
Posted by: kidmuto, May 22, 2006, 2:08pm; Reply: 27
this is still programmable behavior for a bot. captcha systems work because computers are not good at deciphering the distorted images, but humans can if just look at them and figure it out.
Posted by: Justin, May 22, 2006, 2:12pm; Reply: 28
So how do they input a randomly generated number?
You've
got to make a hash of some sort (MD5 is what I use).
If you do not, you're just as bad as you are without the captcha system.
Posted by: Martin, May 24, 2006, 8:56am; Reply: 29
OK, thought I would carry on looking into this as these random image authentication scripts require GD which not everyone has. In fact 2 out of my 3 test sites did not have it.
I now have a random and encrypted verification system on my test site at:
http://www.opportunitynowhere.co.uk/cgi-bin/forum/Blah.pl?I have incorporated into Post.pl so guests would need to paste the verification code into the input box before a post is accepted.
I am now working on a Registration version.
Posted by: Craig, May 24, 2006, 9:01am; Reply: 30
Hey, that is kind of cool. Good job Martin.
Posted by: Martin, May 24, 2006, 9:07am; Reply: 31
Just doing the mod now so it will go back to standard while I test it.
Posted by: Justin, May 24, 2006, 9:22am; Reply: 32
That won't work either.
The purpose of the verification codes are so computers can't easily enter in the data. The way it is now they could just pass the "random" value to the post script ...
Look, here's how the image verification works ...
When you go to the page a random series of numbers and letters are generated, and then added to an image. That image is then saved as the hash value of that random number and letter sequence. A user must enter the correct sequence and the value of that image. The users sequence will be verified by the image with that name AND with a valid verification ID (the hash) embedded in the registration page itself. The value needed IS NOT in clear text ANYWHERE. After this is verified, the user is accepted. If not, then the image is deleted and a new one is created. It would take a LOT of work for a computer to randomize and get that hash. Possible? Yes. It would take a ton of time and effort though ... and that's just for one user. If the value is wrong, the image is deleted.
Posted by: Martin, May 24, 2006, 1:22pm; Reply: 33
I'm not giving up on this ;D
As it is now:
A random number is generated and displayed for input
This number is then encrypted and passed to a hidden form
The user then inputs the verification code
This is then encrypted and passed to a hidden form
Finally, the 2 encrypted files are then compared, if they match the post is made
If they don't match then an error message will appear
Once posted the form is cleared so no random number and no encrypted files
I'm going to try another way not sure if it will work so won't say anything yet ;)
Posted by: Justin, May 24, 2006, 1:43pm; Reply: 34
You're not getting it. :P
A computer can read the page and then enter the value. If it's clear text, it's not going to work.
Posted by: Martin, May 25, 2006, 6:25am; Reply: 35
Posted by: Justin, May 25, 2006, 6:28am; Reply: 36
Posted by: Apollo, May 25, 2006, 6:46am; Reply: 37
Posted by: Martin, May 25, 2006, 7:55am; Reply: 38
The images do not load.
My fault, I have a an extra path statement in Settings.pl, not configured to keep it yet so when I done a save the path to the images went.
Loading fine for me now.
Posted by: Justin, May 25, 2006, 8:19am; Reply: 39
Posted by: Martin, May 25, 2006, 8:21am; Reply: 40
Posted by: Justin, May 25, 2006, 8:53am; Reply: 41
Don't think so ...
A computer can find all the letters by going through all the numbers and getting the letter. It may would work, just doubt it. Also, how are you verifying it? The hidden text is blank?
Posted by: Martin, May 25, 2006, 9:16am; Reply: 42
This is a pukka captcha script that I have modified extensively.
It does exactly what you said it needed to do earlier.
It takes 6 random images from 25 jpg's, then makes them into one image which is then displayed.
This is then encrypted and sent to a log file.
my $security_key2=sha1_hex($secret_word)
After the user enters the letters this is then compared against the $ecret_word
A computer can find all the letters by going through all the numbers and getting the letter. It may would work, just doubt it.
I doubt it as they are all jpg images and not actual letters.
Posted by: Justin, May 25, 2006, 9:23am; Reply: 43
Hmm ...
What you need to do is have the ?i=# be totally random. That way if you call ?i=# twice it'll change the number/letter shown. That should make it work ...
Posted by: Martin, May 25, 2006, 9:48am; Reply: 44
Hey, I'm just a beginer compared to you, not sure if I could acieve that but I have an idea that I will try.
At the moment the script calls rand_key.pl which I have attached.
Posted by: Justin, May 26, 2006, 9:35pm; Reply: 45
Posted by: Martin, May 27, 2006, 1:16am; Reply: 46
All my hard work down the pan!!!
Posted by: Justin, May 27, 2006, 9:54am; Reply: 47
All my hard work down the pan!!!
Eh? :P
I e-mailed the Akismet people, maybe they'll list us as a project that uses their stuff. :P
Posted by: Martin, June 2, 2006, 1:57pm; Reply: 48
Here's the latest and I think the best. The image is created purely from html, no GD or Imagemagick.
It is also encrypted and if any mistakes are made during registration the image is scrapped and re-drawn.
If you right-click and look at the properties it will be F.gif
And this is the image if you try to link directly:
http://www.warlock.4you.za.org/blahdocs975/images/F.gifHave a go and look at the source code for the image.
The amount of characters displayed can also be set in the Admin Center - Main Preferences
http://www.warlock.4you.za.orgI'm working on a way to set transparency but what you see is 100% functional.
Posted by: Justin, June 2, 2006, 2:05pm; Reply: 49
Posted by: Martin, June 2, 2006, 2:12pm; Reply: 50
It's only on the Registration page at the moment, I' just doing it for Guest posting.
Posted by: Justin, June 2, 2006, 2:14pm; Reply: 51
I didn't see it there either? lol
Posted by: Martin, June 2, 2006, 2:21pm; Reply: 52
It's there now, deleted a wrong entry while cleaning up ;D
** Edit **
It's also now setup for posts as well.
Posted by: Justin, June 2, 2006, 3:20pm; Reply: 53
Well, I've tried your sites ... don't see it. The URL you posted leads to a dir listing, not a forum.
Posted by: Martin, June 2, 2006, 4:11pm; Reply: 54
Posted by: Justin, June 2, 2006, 4:54pm; Reply: 55
I don't think that's gonna work.
Posted by: Martin, June 2, 2006, 5:06pm; Reply: 56
Why not?? How can it not work!!
It's an image, it's 100% random, it's encrypted, it's not saved anywhere and is re-drawn with every form load. The images can not be copied/saved, right click and save it, see what you actually get.
I really can't see where there could be a problem.
Posted by: Justin, June 2, 2006, 9:30pm; Reply: 57
You've got to understand that computers can get text right off of images easily.
Posted by: Martin, June 2, 2006, 11:52pm; Reply: 58
You've got to understand that computers can get text right off of images easily.
My last one was all images with no text and you suggested that it wasn't random enough. With this one you can't get more random.
This is one is not text on an image, it is an actual image made up of lots of other images. This is what an image is actual made up with (apologies for the size), I currently have the max characters set to 8:
|
Code
<table width="13" cellspacing="0" cellpadding="0" heigth="23"><tr><td> <img src="F.gif" height="1" width="13"><br> <img src="F.gif" height="1" width="13"><br> <img src="F.gif" height="1" width="13"><br> <img src="F.gif" height="1" width="2"><img src="E.gif" height="1" width="2"><img src="F.gif" height="1" width="9"><br> <img src="F.gif" height="1" width="2"><img src="8.gif" height="1"><img src="0.gif" height="1"><img src="B.gif" height="1"><img src="F.gif" height="1" width="8"><br> <img src="F.gif" height="1" width="2"><img src="8.gif" height="1"><img src="0.gif" height="1"><img src="B.gif" height="1"><img src="F.gif" height="1" width="8"><br> <img src="F.gif" height="1" width="2"><img src="8.gif" height="1"><img src="0.gif" height="1"><img src="B.gif" height="1"><img src="F.gif" height="1" width="8"><br> <img src="F.gif" height="1" width="2"><img src="8.gif" height="1"><img src="0.gif" height="1"><img src="B.gif" height="1"><img src="F.gif" height="1" width="4"><img src="E.gif" height="1" width="2"><img src="F.gif" height="1" width="2"><br> <img src="F.gif" height="1" width="2"><img src="8.gif" height="1"><img src="0.gif" height="1"><img src="B.gif" height="1"><img src="F.gif" height="1" width="2"><img src="E.gif" height="1"><img src="4.gif" height="1"><img src="0.gif" height="1"><img src="A.gif" height="1"><img src="F.gif" height="1" width="2"><br> <img src="F.gif" height="1" width="2"><img src="8.gif" height="1"><img src="0.gif" height="1"><img src="B.gif" height="1"><img src="F.gif" height="1"><img src="E.gif" height="1"><img src="4.gif" height="1"><img src="0.gif" height="1"><img src="A.gif" height="1"><img src="F.gif" height="1" width="3"><br> <img src="F.gif" height="1" width="2"><img src="8.gif" height="1"><img src="0.gif" height="1"><img src="B.gif" height="1"><img src="E.gif" height="1"><img src="4.gif" height="1"><img src="0.gif" height="1"><img src="A.gif" height="1"><img src="F.gif" height="1" width="4"><br> <img src="F.gif" height="1" width="2"><img src="8.gif" height="1"><img src="0.gif" height="1"><img src="9.gif" height="1"><img src="4.gif" height="1"><img src="0.gif" height="1"><img src="B.gif" height="1"><img src="F.gif" height="1" width="5"><br> <img src="F.gif" height="1" width="2"><img src="8.gif" height="1"><img src="0.gif" height="1" width="4"><img src="A.gif" height="1"><img src="F.gif" height="1" width="5"><br> <img src="F.gif" height="1" width="2"><img src="8.gif" height="1"><img src="0.gif" height="1" width="2"><img src="A.gif" height="1"><img src="0.gif" height="1" width="2"><img src="E.gif" height="1"><img src="F.gif" height="1" width="4"><br> <img src="F.gif" height="1" width="2"><img src="8.gif" height="1"><img src="0.gif" height="1"><img src="A.gif" height="1"><img src="F.gif" height="1"><img src="A.gif" height="1"><img src="0.gif" height="1"><img src="6.gif" height="1"><img src="F.gif" height="1" width="4"><br> <img src="F.gif" height="1" width="2"><img src="8.gif" height="1"><img src="0.gif" height="1"><img src="B.gif" height="1"><img src="F.gif" height="1" width="2"><img src="6.gif" height="1"><img src="0.gif" height="1"><img src="A.gif" height="1"><img src="F.gif" height="1" width="3"><br> <img src="F.gif" height="1" width="2"><img src="8.gif" height="1"><img src="0.gif" height="1"><img src="B.gif" height="1"><img src="F.gif" height="1" width="2"><img src="E.gif" height="1"><img src="0.gif" height="1" width="2"><img src="D.gif" height="1"><img src="F.gif" height="1" width="2"><br> <img src="F.gif" height="1" width="2"><img src="8.gif" height="1"><img src="0.gif" height="1"><img src="B.gif" height="1"><img src="F.gif" height="1" width="3"><img src="A.gif" height="1"><img src="0.gif" height="1"><img src="4.gif" height="1"><img src="F.gif" height="1" width="2"><br> <img src="F.gif" height="1" width="2"><img src="A.gif" height="1"><img src="8.gif" height="1"><img src="C.gif" height="1"><img src="F.gif" height="1" width="4"><img src="8.gif" height="1" width="2"><img src="C.gif" height="1"><img src="F.gif" height="1"><br> <img src="F.gif" height="1" width="13"><br> <img src="F.gif" height="1" width="13"><br> <img src="F.gif" height="1" width="13"><br> <img src="F.gif" height="1" width="13"><br> </td></tr></table>
</td><td> <table width="9" cellspacing="0" cellpadding="0" heigth="23"><tr><td>
<img src="F.gif" height="1" width="9"><br> <img src="F.gif" height="1" width="9"><br> <img src="F.gif" height="1" width="9"><br> <img src="F.gif" height="1" width="4"><img src="C.gif" height="1"><img src="B.gif" height="1" width="2"><img src="D.gif" height="1"><img src="F.gif" height="1"><br> <img src="F.gif" height="1" width="3"><img src="8.gif" height="1"><img src="0.gif" height="1" width="3"><img src="8.gif" height="1"><img src="F.gif" height="1"><br> <img src="F.gif" height="1" width="2"><img src="E.gif" height="1"><img src="0.gif" height="1" width="2"><img src="B.gif" height="1"><img src="E.gif" height="1" width="2"><img src="F.gif" height="1"><br> <img src="F.gif" height="1" width="2"><img src="E.gif" height="1"><img src="0.gif" height="1" width="2"><img src="F.gif" height="1" width="4"><br> <img src="F.gif" height="1"><img src="E.gif" height="1"><img src="C.gif" height="1"><img src="0.gif" height="1" width="2"><img src="E.gif" height="1" width="2"><img src="F.gif" height="1" width="2"><br> <img src="F.gif" height="1"><img src="0.gif" height="1" width="6"><img src="F.gif" height="1" width="2"><br> <img src="F.gif" height="1"><img src="B.gif" height="1"><img src="A.gif" height="1"><img src="0.gif" height="1" width="2"><img src="B.gif" height="1" width="2"><img src="F.gif" height="1" width="2"><br> <img src="F.gif" height="1" width="2"><img src="E.gif" height="1"><img src="0.gif" height="1" width="2"><img src="F.gif" height="1" width="4"><br> <img src="F.gif" height="1" width="2"><img src="E.gif" height="1"><img src="0.gif" height="1" width="2"><img src="F.gif" height="1" width="4"><br> <img src="F.gif" height="1" width="2"><img src="E.gif" height="1"><img src="0.gif" height="1" width="2"><img src="F.gif" height="1" width="4"><br> <img src="F.gif" height="1" width="2"><img src="E.gif" height="1"><img src="0.gif" height="1" width="2"><img src="F.gif" height="1" width="4"><br> <img src="F.gif" height="1" width="2"><img src="E.gif" height="1"><img src="0.gif" height="1" width="2"><img src="F.gif" height="1" width="4"><br> <img src="F.gif" height="1" width="2"><img src="E.gif" height="1"><img src="0.gif" height="1" width="2"><img src="F.gif" height="1" width="4"><br> <img src="F.gif" height="1" width="2"><img src="E.gif" height="1"><img src="0.gif" height="1" width="2"><img src="F.gif" height="1" width="4"><br> <img src="F.gif" height="1" width="2"><img src="E.gif" height="1"><img src="0.gif" height="1" width="2"><img src="F.gif" height="1" width="4"><br> <img src="F.gif" height="1" width="2"><img src="E.gif" height="1"><img src="8.gif" height="1" width="2"><img src="F.gif" height="1" width="4"><br> <img src="F.gif" height="1" width="9"><br> <img src="F.gif" height="1" width="9"><br> <img src="F.gif" height="1" width="9"><br> <img src="F.gif" height="1" width="9"><br> </td></tr></table>
</td><td> <table width="13" cellspacing="0" cellpadding="0" heigth="23"><tr><td> <img src="F.gif" height="1" width="13"><br> <img src="F.gif" height="1" width="13"><br> <img src="F.gif" height="1" width="13"><br> <img src="F.gif" height="1" width="13"><br> <img src="F.gif" height="1" width="13"><br> <img src="F.gif" height="1" width="13"><br> <img src="F.gif" height="1" width="13"><br> <img src="F.gif" height="1"><img src="E.gif" height="1" width="2"><img src="F.gif" height="1" width="6"><img src="E.gif" height="1" width="2"><img src="F.gif" height="1" width="2"><br> <img src="F.gif" height="1"><img src="B.gif" height="1"><img src="0.gif" height="1"><img src="7.gif" height="1"><img src="F.gif" height="1" width="5"><img src="4.gif" height="1"><img src="0.gif" height="1"><img src="D.gif" height="1"><img src="F.gif" height="1"><br> <img src="F.gif" height="1" width="2"><img src="0.gif" height="1" width="2"><img src="F.gif" height="1" width="4"><img src="C.gif" height="1"><img src="0.gif" height="1"><img src="4.gif" height="1"><img src="F.gif" height="1" width="2"><br> <img src="F.gif" height="1" width="2"><img src="8.gif" height="1"><img src="0.gif" height="1"><img src="B.gif" height="1"><img src="F.gif" height="1" width="3"><img src="9.gif" height="1"><img src="0.gif" height="1"><img src="A.gif" height="1"><img src="F.gif" height="1" width="2"><br> <img src="F.gif" height="1" width="2"><img src="C.gif" height="1"><img src="0.gif" height="1"><img src="6.gif" height="1"><img src="F.gif" height="1" width="3"><img src="0.gif" height="1" width="2"><img src="E.gif" height="1"><img src="F.gif" height="1" width="2"><br> <img src="F.gif" height="1" width="3"><img src="4.gif" height="1"><img src="0.gif" height="1"><img src="E.gif" height="1"><img src="F.gif" height="1"><img src="C.gif" height="1"><img src="0.gif" height="1"><img src="7.gif" height="1"><img src="F.gif" height="1" width="3"><br> <img src="F.gif" height="1" width="3"><img src="A.gif" height="1"><img src="0.gif" height="1"><img src="A.gif" height="1"><img src="F.gif" height="1"><img src="7.gif" height="1"><img src="0.gif" height="1"><img src="C.gif" height="1"><img src="F.gif" height="1" width="3"><br> <img src="F.gif" height="1" width="3"><img src="E.gif" height="1"><img src="0.gif" height="1"><img src="4.gif" height="1"><img src="F.gif" height="1"><img src="0.gif" height="1" width="2"><img src="F.gif" height="1" width="4"><br> <img src="F.gif" height="1" width="4"><img src="6.gif" height="1"><img src="0.gif" height="1"><img src="9.gif" height="1"><img src="0.gif" height="1"><img src="9.gif" height="1"><img src="F.gif" height="1" width="4"><br> <img src="F.gif" height="1" width="4"><img src="B.gif" height="1"><img src="0.gif" height="1" width="3"><img src="D.gif" height="1"><img src="F.gif" height="1" width="4"><br> <img src="F.gif" height="1" width="5"><img src="0.gif" height="1" width="2"><img src="4.gif" height="1"><img src="F.gif" height="1" width="5"><br> <img src="F.gif" height="1" width="5"><img src="A.gif" height="1"><img src="8.gif" height="1"><img src="C.gif" height="1"><img src="F.gif" height="1" width="5"><br> <img src="F.gif" height="1" width="13"><br> <img src="F.gif" height="1" width="13"><br> <img src="F.gif" height="1" width="13"><br> <img src="F.gif" height="1" width="13"><br> </td></tr></table>
</td><td> <table width="17" cellspacing="0" cellpadding="0" heigth="23"><tr><td> <img src="F.gif" height="1" width="17"><br> <img src="F.gif" height="1" width="17"><br> <img src="F.gif" height="1" width="17"><br> <img src="F.gif" height="1" width="17"><br> <img src="F.gif" height="1" width="17"><br> <img src="F.gif" height="1" width="17"><br> <img src="F.gif" height="1" width="17"><br> <img src="F.gif" height="1"><img src="E.gif" height="1" width="2"><img src="F.gif" height="1" width="5"><img src="E.gif" height="1" width="2"><img src="F.gif" height="1" width="4"><img src="E.gif" height="1" width="2"><img src="F.gif" height="1"><br> <img src="F.gif" height="1"><img src="6.gif" height="1"><img src="0.gif" height="1"><img src="D.gif" height="1"><img src="F.gif" height="1" width="3"><img src="9.gif" height="1"><img src="0.gif" height="1"><img src="4.gif" height="1"><img src="F.gif" height="1" width="4"><img src="0.gif" height="1" width="2"><img src="F.gif" height="1"><br> <img src="F.gif" height="1"><img src="A.gif" height="1"><img src="0.gif" height="1"><img src="A.gif" height="1"><img src="F.gif" height="1" width="3"><img src="4.gif" height="1"><img src="0.gif" height="1" width="2"><img src="E.gif" height="1"><img src="F.gif" height="1" width="2"><img src="C.gif" height="1"><img src="0.gif" height="1"><img src="9.gif" height="1"><img src="F.gif" height="1"><br> <img src="F.gif" height="1"><img src="D.gif" height="1"><img src="0.gif" height="1"><img src="6.gif" height="1"><img src="F.gif" height="1" width="2"><img src="E.gif" height="1"><img src="0.gif" height="1" width="3"><img src="C.gif" height="1"><img src="F.gif" height="1" width="2"><img src="9.gif" height="1"><img src="0.gif" height="1"><img src="C.gif" height="1"><img src="F.gif" height="1"><br> <img src="F.gif" height="1" width="2"><img src="4.gif" height="1"><img src="0.gif" height="1"><img src="E.gif" height="1"><img src="F.gif" height="1"><img src="B.gif" height="1"><img src="0.gif" height="1"><img src="7.gif" height="1"><img src="0.gif" height="1"><img src="8.gif" height="1"><img src="F.gif" height="1" width="2"><img src="0.gif" height="1" width="2"><img src="F.gif" height="1" width="2"><br> <img src="F.gif" height="1" width="2"><img src="9.gif" height="1"><img src="0.gif" height="1"><img src="C.gif" height="1"><img src="F.gif" height="1"><img src="7.gif" height="1"><img src="0.gif" height="1"><img src="D.gif" height="1"><img src="0.gif" height="1" width="2"><img src="F.gif" height="1"><img src="D.gif" height="1"><img src="0.gif" height="1"><img src="7.gif" height="1"><img src="F.gif" height="1" width="2"><br> <img src="F.gif" height="1" width="2"><img src="C.gif" height="1"><img src="0.gif" height="1"><img src="9.gif" height="1"><img src="F.gif" height="1"><img src="0.gif" height="1"><img src="6.gif" height="1"><img src="F.gif" height="1"><img src="6.gif" height="1"><img src="0.gif" height="1"><img src="E.gif" height="1"><img src="A.gif" height="1"><img src="0.gif" height="1"><img src="B.gif" height="1"><img src="F.gif" height="1" width="2"><br> <img src="F.gif" height="1" width="3"><img src="0.gif" height="1" width="2"><img src="D.gif" height="1"><img src="0.gif" height="1"><img src="A.gif" height="1"><img src="F.gif" height="1"><img src="A.gif" height="1"><img src="0.gif" height="1"><img src="B.gif" height="1"><img src="6.gif" height="1"><img src="0.gif" height="1"><img src="E.gif" height="1"><img src="F.gif" height="1" width="2"><br> <img src="F.gif" height="1" width="3"><img src="7.gif" height="1"><img src="0.gif" height="1"><img src="7.gif" height="1"><img src="0.gif" height="1"><img src="C.gif" height="1"><img src="F.gif" height="1"><img src="D.gif" height="1"><img src="0.gif" height="1"><img src="4.gif" height="1"><img src="0.gif" height="1"><img src="6.gif" height="1"><img src="F.gif" height="1" width="3"><br> <img src="F.gif" height="1" width="3"><img src="C.gif" height="1"><img src="0.gif" height="1" width="3"><img src="F.gif" height="1" width="3"><img src="0.gif" height="1" width="3"><img src="A.gif" height="1"><img src="F.gif" height="1" width="3"><br> <img src="F.gif" height="1" width="4"><img src="0.gif" height="1" width="2"><img src="6.gif" height="1"><img src="F.gif" height="1" width="3"><img src="8.gif" height="1"><img src="0.gif" height="1" width="2"><img src="E.gif" height="1"><img src="F.gif" height="1" width="3"><br> <img src="F.gif" height="1" width="4"><img src="9.gif" height="1"><img src="8.gif" height="1"><img src="C.gif" height="1"><img src="F.gif" height="1" width="3"><img src="C.gif" height="1"><img src="8.gif" height="1" width="2"><img src="F.gif" height="1" width="4"><br> <img src="F.gif" height="1" width="17"><br> <img src="F.gif" height="1" width="17"><br> <img src="F.gif" height="1" width="17"><br> <img src="F.gif" height="1" width="17"><br> </td></tr></table>
</td><td> <table width="13" cellspacing="0" cellpadding="0" heigth="23"><tr><td> <img src="F.gif" height="1" width="13"><br> <img src="F.gif" height="1" width="13"><br> <img src="F.gif" height="1" width="13"><br> <img src="F.gif" height="1" width="13"><br> <img src="F.gif" height="1" width="13"><br> <img src="F.gif" height="1" width="13"><br> <img src="F.gif" height="1" width="13"><br> <img src="F.gif" height="1"><img src="E.gif" height="1" width="2"><img src="F.gif" height="1" width="6"><img src="E.gif" height="1" width="2"><img src="F.gif" height="1" width="2"><br> <img src="F.gif" height="1"><img src="B.gif" height="1"><img src="0.gif" height="1"><img src="7.gif" height="1"><img src="F.gif" height="1" width="5"><img src="4.gif" height="1"><img src="0.gif" height="1"><img src="D.gif" height="1"><img src="F.gif" height="1"><br> <img src="F.gif" height="1" width="2"><img src="0.gif" height="1" width="2"><img src="F.gif" height="1" width="4"><img src="C.gif" height="1"><img src="0.gif" height="1"><img src="4.gif" height="1"><img src="F.gif" height="1" width="2"><br> <img src="F.gif" height="1" width="2"><img src="8.gif" height="1"><img src="0.gif" height="1"><img src="B.gif" height="1"><img src="F.gif" height="1" width="3"><img src="9.gif" height="1"><img src="0.gif" height="1"><img src="A.gif" height="1"><img src="F.gif" height="1" width="2"><br> <img src="F.gif" height="1" width="2"><img src="C.gif" height="1"><img src="0.gif" height="1"><img src="6.gif" height="1"><img src="F.gif" height="1" width="3"><img src="0.gif" height="1" width="2"><img src="E.gif" height="1"><img src="F.gif" height="1" width="2"><br> <img src="F.gif" height="1" width="3"><img src="4.gif" height="1"><img src="0.gif" height="1"><img src="E.gif" height="1"><img src="F.gif" height="1"><img src="C.gif" height="1"><img src="0.gif" height="1"><img src="7.gif" height="1"><img src="F.gif" height="1" width="3"><br> <img src="F.gif" height="1" width="3"><img src="A.gif" height="1"><img src="0.gif" height="1"><img src="A.gif" height="1"><img src="F.gif" height="1"><img src="7.gif" height="1"><img src="0.gif" height="1"><img src="C.gif" height="1"><img src="F.gif" height="1" width="3"><br> <img src="F.gif" height="1" width="3"><img src="E.gif" height="1"><img src="0.gif" height="1"><img src="4.gif" height="1"><img src="F.gif" height="1"><img src="0.gif" height="1" width="2"><img src="F.gif" height="1" width="4"><br> <img src="F.gif" height="1" width="4"><img src="6.gif" height="1"><img src="0.gif" height="1"><img src="9.gif" height="1"><img src="0.gif" height="1"><img src="9.gif" height="1"><img src="F.gif" height="1" width="4"><br> <img src="F.gif" height="1" width="4"><img src="B.gif" height="1"><img src="0.gif" height="1" width="3"><img src="D.gif" height="1"><img src="F.gif" height="1" width="4"><br> <img src="F.gif" height="1" width="5"><img src="0.gif" height="1" width="2"><img src="4.gif" height="1"><img src="F.gif" height="1" width="5"><br> <img src="F.gif" height="1" width="5"><img src="A.gif" height="1"><img src="8.gif" height="1"><img src="C.gif" height="1"><img src="F.gif" height="1" width="5"><br> <img src="F.gif" height="1" width="13"><br> <img src="F.gif" height="1" width="13"><br> <img src="F.gif" height="1" width="13"><br> <img src="F.gif" height="1" width="13"><br> </td></tr></table>
</td><td> <table width="10" cellspacing="0" cellpadding="0" heigth="23"><tr><td> <img src="F.gif" height="1" width="10"><br> <img src="F.gif" height="1" width="10"><br> <img src="F.gif" height="1" width="10"><br> <img src="F.gif" height="1" width="10"><br> <img src="F.gif" height="1" width="10"><br> <img src="F.gif" height="1" width="10"><br> <img src="F.gif" height="1" width="10"><br> <img src="F.gif" height="1" width="2"><img src="E.gif" height="1" width="2"><img src="F.gif" height="1"><img src="C.gif" height="1"><img src="B.gif" height="1"><img src="C.gif" height="1"><img src="F.gif" height="1" width="2"><br> <img src="F.gif" height="1" width="2"><img src="8.gif" height="1"><img src="0.gif" height="1"><img src="7.gif" height="1"><img src="0.gif" height="1" width="3"><img src="C.gif" height="1"><img src="F.gif" height="1"><br> <img src="F.gif" height="1" width="2"><img src="8.gif" height="1"><img src="0.gif" height="1" width="2"><img src="A.gif" height="1"><img src="D.gif" height="1"><img src="9.gif" height="1"><img src="F.gif" height="1" width="2"><br> <img src="F.gif" height="1" width="2"><img src="8.gif" height="1"><img src="0.gif" height="1"><img src="7.gif" height="1"><img src="F.gif" height="1" width="5"><br> <img src="F.gif" height="1" width="2"><img src="8.gif" height="1"><img src="0.gif" height="1"><img src="B.gif" height="1"><img src="F.gif" height="1" width="5"><br> <img src="F.gif" height="1" width="2"><img src="8.gif" height="1"><img src="0.gif" height="1"><img src="B.gif" height="1"><img src="F.gif" height="1" width="5"><br> <img src="F.gif" height="1" width="2"><img src="8.gif" height="1"><img src="0.gif" height="1"><img src="B.gif" height="1"><img src="F.gif" height="1" width="5"><br> <img src="F.gif" height="1" width="2"><img src="8.gif" height="1"><img src="0.gif" height="1"><img src="B.gif" height="1"><img src="F.gif" height="1" width="5"><br> <img src="F.gif" height="1" width="2"><img src="8.gif" height="1"><img src="0.gif" height="1"><img src="B.gif" height="1"><img src="F.gif" height="1" width="5"><br> <img src="F.gif" height="1" width="2"><img src="8.gif" height="1"><img src="0.gif" height="1"><img src="B.gif" height="1"><img src="F.gif" height="1" width="5"><br> <img src="F.gif" height="1" width="2"><img src="8.gif" height="1"><img src="0.gif" height="1"><img src="B.gif" height="1"><img src="F.gif" height="1" width="5"><br> <img src="F.gif" height="1" width="2"><img src="A.gif" height="1"><img src="8.gif" height="1"><img src="C.gif" height="1"><img src="F.gif" height="1" width="5"><br> <img src="F.gif" height="1" width="10"><br> <img src="F.gif" height="1" width="10"><br> <img src="F.gif" height="1" width="10"><br> <img src="F.gif" height="1" width="10"><br> </td></tr></table>
</td><td> <table width="14" cellspacing="0" cellpadding="0" heigth="23"><tr><td> <img src="F.gif" height="1" width="14"><br> <img src="F.gif" height="1" width="14"><br> <img src="F.gif" height="1" width="14"><br> <img src="F.gif" height="1" width="14"><br> <img src="F.gif" height="1" width="14"><br> <img src="F.gif" height="1" width="14"><br> <img src="F.gif" height="1" width="14"><br> <img src="F.gif" height="1" width="5"><img src="C.gif" height="1"><img src="B.gif" height="1" width="2"><img src="D.gif" height="1"><img src="F.gif" height="1" width="5"><br> <img src="F.gif" height="1" width="3"><img src="B.gif" height="1"><img src="0.gif" height="1" width="5"><img src="6.gif" height="1"><img src="E.gif" height="1"><img src="F.gif" height="1" width="3"><br> <img src="F.gif" height="1" width="2"><img src="B.gif" height="1"><img src="0.gif" height="1" width="2"><img src="A.gif" height="1"><img src="E.gif" height="1"><img src="C.gif" height="1"><img src="7.gif" height="1"><img src="0.gif" height="1"><img src="4.gif" height="1"><img src="E.gif" height="1"><img src="F.gif" height="1" width="2"><br> <img src="F.gif" height="1" width="2"><img src="4.gif" height="1"><img src="0.gif" height="1"><img src="B.gif" height="1"><img src="F.gif" height="1" width="4"><img src="7.gif" height="1"><img src="0.gif" height="1"><img src="9.gif" height="1"><img src="F.gif" height="1" width="2"><br> <img src="F.gif" height="1"><img src="D.gif" height="1"><img src="0.gif" height="1" width="2"><img src="F.gif" height="1" width="5"><img src="D.gif" height="1"><img src="0.gif" height="1" width="2"><img src="F.gif" height="1" width="2"><br> <img src="F.gif" height="1"><img src="B.gif" height="1"><img src="0.gif" height="1"><img src="8.gif" height="1"><img src="F.gif" height="1" width="6"><img src="0.gif" height="1" width="2"><img src="E.gif" height="1"><img src="F.gif" height="1"><br> <img src="F.gif" height="1"><img src="B.gif" height="1"><img src="0.gif" height="1"><img src="8.gif" height="1"><img src="F.gif" height="1" width="6"><img src="0.gif" height="1" width="2"><img src="E.gif" height="1"><img src="F.gif" height="1"><br> <img src="F.gif" height="1"><img src="C.gif" height="1"><img src="0.gif" height="1"><img src="6.gif" height="1"><img src="F.gif" height="1" width="5"><img src="E.gif" height="1"><img src="0.gif" height="1" width="2"><img src="F.gif" height="1" width="2"><br> <img src="F.gif" height="1"><img src="E.gif" height="1"><img src="0.gif" height="1" width="2"><img src="E.gif" height="1"><img src="F.gif" height="1" width="4"><img src="A.gif" height="1"><img src="0.gif" height="1"><img src="6.gif" height="1"><img src="F.gif" height="1" width="2"><br> <img src="F.gif" height="1" width="2"><img src="8.gif" height="1"><img src="0.gif" height="1"><img src="7.gif" height="1"><img src="F.gif" height="1" width="3"><img src="C.gif" height="1"><img src="0.gif" height="1" width="2"><img src="B.gif" height="1"><img src="F.gif" height="1" width="2"><br> <img src="F.gif" height="1" width="2"><img src="E.gif" height="1"><img src="4.gif" height="1"><img src="0.gif" height="1" width="2"><img src="8.gif" height="1"><img src="6.gif" height="1"><img src="0.gif" height="1" width="2"><img src="9.gif" height="1"><img src="F.gif" height="1" width="3"><br> <img src="F.gif" height="1" width="4"><img src="A.gif" height="1"><img src="6.gif" height="1"><img src="0.gif" height="1" width="2"><img src="7.gif" height="1"><img src="C.gif" height="1"><img src="F.gif" height="1" width="4"><br> <img src="F.gif" height="1" width="14"><br> <img src="F.gif" height="1" width="14"><br> <img src="F.gif" height="1" width="14"><br> <img src="F.gif" height="1" width="14"><br> </td></tr></table>
</td><td> <table width="7" cellspacing="0" cellpadding="0" heigth="23"><tr><td>
<img src="F.gif" height="1" width="7"><br> <img src="F.gif" height="1" width="7"><br> <img src="F.gif" height="1" width="7"><br> <img src="F.gif" height="1" width="2"><img src="E.gif" height="1" width="2"><img src="F.gif" height="1" width="3"><br> <img src="F.gif" height="1" width="2"><img src="8.gif" height="1"><img src="0.gif" height="1"><img src="B.gif" height="1"><img src="F.gif" height="1" width="2"><br> <img src="F.gif" height="1" width="2"><img src="C.gif" height="1"><img src="B.gif" height="1"><img src="E.gif" height="1"><img src="F.gif" height="1" width="2"><br> <img src="F.gif" height="1" width="7"><br> <img src="F.gif" height="1" width="2"><img src="E.gif" height="1" width="2"><img src="F.gif" height="1" width="3"><br> <img src="F.gif" height="1" width="2"><img src="8.gif" height="1"><img src="0.gif" height="1"><img src="B.gif" height="1"><img src="F.gif" height="1" width="2"><br> <img src="F.gif" height="1" width="2"><img src="8.gif" height="1"><img src="0.gif" height="1"><img src="B.gif" height="1"><img src="F.gif" height="1" width="2"><br> <img src="F.gif" height="1" width="2"><img src="8.gif" height="1"><img src="0.gif" height="1"><img src="B.gif" height="1"><img src="F.gif" height="1" width="2"><br> <img src="F.gif" height="1" width="2"><img src="8.gif" height="1"><img src="0.gif" height="1"><img src="B.gif" height="1"><img src="F.gif" height="1" width="2"><br> <img src="F.gif" height="1" width="2"><img src="8.gif" height="1"><img src="0.gif" height="1"><img src="B.gif" height="1"><img src="F.gif" height="1" width="2"><br> <img src="F.gif" height="1" width="2"><img src="8.gif" height="1"><img src="0.gif" height="1"><img src="B.gif" height="1"><img src="F.gif" height="1" width="2"><br> <img src="F.gif" height="1" width="2"><img src="8.gif" height="1"><img src="0.gif" height="1"><img src="B.gif" height="1"><img src="F.gif" height="1" width="2"><br> <img src="F.gif" height="1" width="2"><img src="8.gif" height="1"><img src="0.gif" height="1"><img src="B.gif" height="1"><img src="F.gif" height="1" width="2"><br> <img src="F.gif" height="1" width="2"><img src="8.gif" height="1"><img src="0.gif" height="1"><img src="B.gif" height="1"><img src="F.gif" height="1" width="2"><br> <img src="F.gif" height="1" width="2"><img src="8.gif" height="1"><img src="0.gif" height="1"><img src="B.gif" height="1"><img src="F.gif" height="1" width="2"><br> <img src="F.gif" height="1" width="2"><img src="A.gif" height="1"><img src="8.gif" height="1"><img src="C.gif" height="1"><img src="F.gif" height="1" width="2"><br> <img src="F.gif" height="1" width="7"><br> <img src="F.gif" height="1" width="7"><br> <img src="F.gif" height="1" width="7"><br> <img src="F.gif" height="1" width="7"><br> </td></tr></table>
</td></tr></table></td>
|
|
No text, just images.
Maybe if I send you the actual code you will see?
Posted by: Craig, June 3, 2006, 1:38am; Reply: 59
The images are there, but they don't show up.
Posted by: Martin, June 3, 2006, 1:48am; Reply: 60
The images are there, but they don't show up.
Not sure what you mean, I just screen dumped this from the Registration page.
The ixvvm7yr is made up from loads of other images as explained above, it is not a single image but literally hundreds mapped to form letters. If you actually open F.gif you will have to zoom 300% plus to see it and then it is just a little coloured square.
Posted by: Craig, June 3, 2006, 6:17am; Reply: 61
And here is a screen shot of what I see:)
note...I user IE7
Posted by: Martin, June 3, 2006, 6:29am; Reply: 62
Didn't test it with IE7, IE6, Mozilla and GECKO are all good.
I can see IE7 being a pain in the ****
I've already had to re-write the DHTML for my main site because it didn't work with IE7
I'm reluctant to upgrade to 7 but looks like I'll have to, good old M$ not conforming yet again!!!
** Edit **
Just read up and found out that IE 7 doesn't support Base64 Encryption yet. Answer: Get yourself a real browser. :-)
Posted by: Martin, June 3, 2006, 3:46pm; Reply: 63
I accessed the MSDN blog for IE7 and we come up with a work around. I was also promised that this has been fixed in beta3 due out in August.
Images now showing in IE7 ;D
Posted by: Justin, June 3, 2006, 10:22pm; Reply: 64
Yeah, I've read a little bit of the post there a few days ago. I wasn't sure what it broke, lol.
Posted by: Martin, June 4, 2006, 1:39am; Reply: 65
Posted by: Justin, June 5, 2006, 5:46am; Reply: 66
Yes. I'm not sure how that works, truth be told.
Posted by: Martin, June 5, 2006, 9:08am; Reply: 67
Complicated I must admit. Can I email you the code, I would prefer your blessing before releasing as a mod ;D
Posted by: Justin, June 5, 2006, 9:25am; Reply: 68
Posted by: Martin, June 5, 2006, 10:17am; Reply: 69
Some of the files have a lot of code and will make a huge messgage.
How about I list the verification_code and attach the CharTable.pl
Posted by: Justin, June 5, 2006, 10:38am; Reply: 70
Posted by: Martin, June 5, 2006, 12:41pm; Reply: 71
These are the subs that go in Routines.pl
|
Code
sub validation_code{
require "$code/CharTable.pl";
srand(); # set the max length of the shown verification code if (!$codemaxchars || $codemaxchars < 3) { $codemaxchars = 3; } $curtime = time; $randtime1 = substr($curtime, (length $curtime)-5, 2); $randtime2 = substr($curtime, (length $curtime)-4, 2); $randtime3 = substr($curtime, (length $curtime)-6, 2); $checknum = int( rand(100) ); $checknum =~ tr/0123456789/ymifxupbck/; $_ = int( rand(78) ); $_ =~ tr/0123456789/q8dv7w4jm3/; $checknum .= $_; $_ = int( rand(99) ); $_ =~ tr/0123456789/7v4sq3drm3/; $checknum .= $_; $_ = int( rand($randtime1) ); $_ =~ tr/0123456789/poiuyt5ewq/; $checknum .= $_; $_ = int( rand($randtime2) ); $_ =~ tr/0123456789/2qrt7go0ws/; $checknum .= $_; $_ = int( rand($randtime2) ); $_ =~ tr/0123456789/lk9hgfdaut/; $checknum .= $_; $checknum = substr($checknum, 0, $codemaxchars);
# making a mess of the validation code $scramble = &encode_password($curtime); for ($n = 0; $n < 9; $n++) { $scramble .= &encode_password($scramble); } $scramble =~ s/\//y/g; $scramble =~ s/\+/x/g; $scramble =~ s/\-/Z/g; $scramble =~ s/\:/Q/g;
$positioner = $curtime; $positioner .= $curtime; $curtime = substr ($positioner,0,length $checknum); @position = (); @character = (); $sessionid = ""; $showcheck = ""; $lastvalue=13; $showcheck = qq~<base href="$rurl/"><table border="0" cellspacing="0" cellpadding="0"><tr>~;
for($n=0; $n < length $checknum; $n++) { $showcheck .= qq~<td>~; $letter = substr($checknum, $n, 1); Convert(); $showcheck .= $htmlcode; $value = (substr($curtime,$n,1))+$lastvalue+1; $lastvalue = $value; substr ($scramble,$value,1) = $letter; $showcheck .= qq~</td>~; } $showcheck .= qq~</tr></table>~; $sessionid = $scramble; return $sessionid; return $showcheck; return $curtime; }
sub encode_password { my $eol = ""; $eol = $_[0]; chomp $eol; if (eval "require Digest::MD5") { use Digest::MD5 qw(md5_base64); }
my $mypass = md5_base64 $eol; return $mypass; }
|
|
This goes in Post.pl under sub Post2
|
Code
if($username eq 'Guest') { $ebout .= <<"EOT"; <tr> <td align="right">Guests need to enter a verification code to post on this board<td> </tr><tr> <td align="right" width="30%"><b>Your Verification Code is:</b></td> <td width="70%">$showcheck</td> </tr><tr> <td align="right" width="30%"><b>Verification Code:</b></td> <td width="70%"><input type="password" class="textinput" maxlength="30" name="verification" id="verification" size="30"> <input type="hidden" name="_session_id_" id="_session_id_" value="$sessionid"> <input type="hidden" name="curtime" id="curtime" value="$curtime"></td> </tr> EOT
|
|
This in Regester.pl under sub Register2
|
Code
if($nocomputers) { $ebout .= <<"EOT";
<tr> <td class="win" width="50%"><b>Your Verification Code is:</b></td> <td class="win" width="50%">$showcheck</td> </tr><tr> <td class="win" width="50%"><b>Verification Code:</b></td> <td class="win" width="50%"><input type="password" class="textinput" maxlength="30" name="verification" id="verification" size="30"></td> </tr> EOT
|
|
The error checking for both:
|
Code
error_post("The Verification Code is blank!") if($user{'verification'} eq '');
# Trying to figure out the mess we made while encrypting verification $lastvalue = 13; $verificationtest = ""; for ($n = 0; $n < length "$user{'curtime'}"; $n++) { $value = (substr("$user{'curtime'}", $n, 1)) + $lastvalue + 1; $letter = substr("$user{'_session_id_'}", $value, 1); $lastvalue = $value; $verificationtest .= $letter; } error_post("The Verification Code is wrong!") if($verificationtest ne $user{'verification'}); }
|
|
And the character table is attached.
And I think you need my Image Resize mod as this thread is all over the place due to a very large graphic :-)
Print page generated: February 12, 2012, 1:41pm