|
#1
|
||||
|
||||
|
Hello,
Someone on webhostingtalk.com post a script which they got from WHMCS that stops people being able to open tickets with the exploit code. Note: You must install the security patch below if you haven't already. This script in this post is not a replacement for the security patch: http://blog.whmcs.com/?t=43462 The code I'll post below is simply to stop people being able to open tickets containing {php} or {/php} which will stop you having to delete multiple tickets each day. PHP Code:
whmcs/includes/hooks/ Jack
__________________
█ Zomex - The best WHMCS templates - Admin-based SETTINGS AREA! █ A complete WHMCS Setup service including automatic cPanel account creation! █ View our clients testimonials about our WHMCS services > WHMCS Testimonials |
|
#2
|
|||
|
|||
|
Thanks for posting this!
__________________
Thanks, Tom |
|
#3
|
||||
|
||||
|
Quote:
PHP Code:
|
|
#4
|
|||
|
|||
|
Thanks very much for this.
|
|
#5
|
||||
|
||||
|
No problem, glad I could help.
__________________
█ Zomex - The best WHMCS templates - Admin-based SETTINGS AREA! █ A complete WHMCS Setup service including automatic cPanel account creation! █ View our clients testimonials about our WHMCS services > WHMCS Testimonials |
|
#6
|
|||
|
|||
|
Quote:
Also note, this code will prevent editing/saving email templates from the whmcs admin area. Below is a modification to get around the email template issue while still using the hook that Jack posted. PHP Code:
Code:
SecRuleEngine On
SecRule ARGS_POST "{php}" "deny,log,auditlog"
__________________
~ Leighton |
|
#7
|
||||
|
||||
|
Quote:
__________________
█ Zomex - The best WHMCS templates - Admin-based SETTINGS AREA! █ A complete WHMCS Setup service including automatic cPanel account creation! █ View our clients testimonials about our WHMCS services > WHMCS Testimonials |
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| strange tickets (hack attempts?) | naushad | WHM Complete Solution | 9 | 01-26-2012 05:03 PM |
| phpMyAdmin hack attempts | LittleTiger | Security Issues | 6 | 05-22-2011 03:36 PM |
All times are GMT -5. The time now is 04:01 AM.










