Re: Another HoloCMS XSS Fix
Thankyou very much. Just added it in, hopefully they won't come back to bother me ;)
Re: Another HoloCMS XSS Fix
Hopefully not,
Whoever was doing it to me was using <meta to refresh my site to porn sites/shock sites/rickrolls
Re: Another HoloCMS XSS Fix
Re: Another HoloCMS XSS Fix
Re: Another HoloCMS XSS Fix
Re: Another HoloCMS XSS Fix
what's with the </span></span> ??
Re: Another HoloCMS XSS Fix
Re: Another HoloCMS XSS Fix
Thanks John & AJ of course. Adding it now.
Re: [REL] Another HoloCMS XSS Fix
Thanks Alot John/Craig :P
You did this to my hotel... I Remeber that coz some noob stole your news pics so u gave urself like 100000 credits :L
Re: [REL] Another HoloCMS XSS Fix
:o thanks you for this now we have some more stuff to add to our core.php thanks man.
credits to AJ :D
Re: [REL] Another HoloCMS XSS Fix
Thank you very mutch ^^ needed this fix!
Re: [REL] Another HoloCMS XSS Fix
I already told The AJ this, which is why he didn't release it:
This doesn't really fix anything. The XSS exploits are ONLY in places with POST instead of GET. The GET stuff are pretty much patched. Also, this disables administrators from posting HTML stuff. FYI. Finally, something similar can be done in one line:
PHP Code:
foreach($_GET as &$value){ HoloText($value); } foreach($_POST as &$value){ HoloText($value); }
Or for people not using HoloCMS (I doubt it):
PHP Code:
foreach($_GET as &$value){ htmlspecialchars($value); } foreach($_POST as &$value){ htmlspecialchars($value); }
htmlspecialchars basically does the ereg_replace stuff mentioned above.
Re: [REL] Another HoloCMS XSS Fix
ahh, very nice Yifan!
I would just through in a htmlspecialchars_decode() o.o
Re: [REL] Another HoloCMS XSS Fix
Sorry to disturb but What is this , what does it do? (XSS)?