Updated spam captcha

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
humpda
Posts: 17
Joined: Wed Feb 22, 2006 3:47 am

Updated spam captcha

Post by humpda »

Script URL:
Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below:

Hi
I have been using HESK now for over 3 years at my school and find it very useful...staff are also very positive regarding its ease of use etc. Being a Govt school, we are unable to choose our hosting service, and unfortunately the one we are forced to use does not permit the use of ip blocklists etc. Anyway, once every 6 months or so the Hesk site gets hammered with spam, most of it sexual in nature. The content is really not the issue, rather it is a bit of a pain weeding through the legitimate and spam responses. Is there anyway I can beef up with the SPAM protection in hesk...even if it is a third party addon. The hosting service does not use apache but is rather some version of SUN OS, but they will not disclose exactly what software it is running. Many thanks for your time.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

I know what you mean, I am running a copy of the script on my test server which is getting spammed and where I am testing different anti-SPAM approaches. After a number of tests I figured that some spammers have OCR software that are able to read the Hesk security image, which is quite simple for compatibility reasons.

Anyway, for the recent test all I did was swap colors in the security image (background black and digits white) and it blocks the bots for now. You can try this yourself, just open file secimg.inc.php in a plan text editor (Notepad, Wordpad) and change lines 56 and 57 from

Code: Select all

            $background_color = imagecolorallocate($im, 255, 255, 255);
            $text_color = imagecolorallocate($im, 0, 0, 0);
to

Code: Select all

            $background_color = imagecolorallocate($im, 0, 0, 0);
            $text_color = imagecolorallocate($im, 255, 255, 255);
Now, I know this is not a permanent solution, but give it a try and see if it helps. The next version should have some new protection available.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
humpda
Posts: 17
Joined: Wed Feb 22, 2006 3:47 am

Post by humpda »

cheers...will give it a go and see if it makes a difference. Will post back my results. Thanks again
DanielWalters6
Posts: 12
Joined: Wed May 14, 2008 12:46 pm

Post by DanielWalters6 »

I work closely with a school, and they've decided to install Hesk on their internal web/intranet server - works faster (lan not wan), and the only spamming comes from the students - which are easy enough to block from accessing the hesk system.
humpda
Posts: 17
Joined: Wed Feb 22, 2006 3:47 am

Post by humpda »

Since making the changes listed above, Spam has stopped. I was getting all types of spam with weird url links and random sexually explicit words originating from outside IP addresses....Thanks heaps for the suggestion!!!
Post Reply