Quote:
Originally Posted by Belazor
You obviously didn't check my old server then =P
Before I coded a vBulletin integrated L2CP we used pretty much the original BR version only without injection issues, and in a highly better coding style XD
I didn't look at your function, but in mine, I stripped all characters that weren't a-z A-Z 0-9, worked fine and dandy.
Had some guy claim he could still hack it but even though I told him to try it, he couldn't XD
|
yeah but u probably just replaced the cookies with vbul sessions instead... as for my function i just used the already existing antiinjection function inside l2cp and just checked the vars sent to the check cookie function before they went anywhere near the db, and that anti inject function just uses str_replace and eregi...
btw i hate vBulletin >.>

^ my current work-in-progress... maybe ill share it some time...