Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 03.01.2007, 23:06   #1
testdude
Архивный участник
 
Join Date: Nov 2005
Posts: 504
Default

m4rk that kinda is... he was refering to the check_cookie function, if u use livehttpheaders, a plugin for firefox, and change the user or password cookie u can sql inject... which is what my changed check_cookie function stops... so yeah...

i was actually suprised that no one had released the fix for the injection.. l2cp was a pretty good control panel... just was insecure... but then again out of all of the servers ive looked at with l2cp mine is the only one i ever found that actually fixed the injection instead of just locking permissions
testdude is offline  
Old 25.01.2007, 13:34   #2
Belazor
Архивный участник
 
Join Date: Mar 2006
Posts: 26
Default

Quote:
Originally Posted by testdude View Post
m4rk that kinda is... he was refering to the check_cookie function, if u use livehttpheaders, a plugin for firefox, and change the user or password cookie u can sql inject... which is what my changed check_cookie function stops... so yeah...

i was actually suprised that no one had released the fix for the injection.. l2cp was a pretty good control panel... just was insecure... but then again out of all of the servers ive looked at with l2cp mine is the only one i ever found that actually fixed the injection instead of just locking permissions
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


@ the email checking function:
Checking for valid email address is pretty much useless anyways.
Unless you want to open for emails like [email protected]d then you would be blocking people using emails from addresses with domain suffixes not predicted.
Sure, if they use fake emails they won't get their accounts validated and the likes, but if the system can be fooled to spam up your DB with accounts then why have it at all?
Belazor is offline  
Old 25.01.2007, 14:02   #3
testdude
Архивный участник
 
Join Date: Nov 2005
Posts: 504
Default

Quote:
Originally Posted by Belazor View Post
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...
testdude is offline  
Old 25.01.2007, 16:04   #4
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

Quote:
Originally Posted by testdude View Post

^ my current work-in-progress... maybe ill share it some time...
Ummm, i have a similar panel... my cp have that info... inventary, warehouse, clan info, ally info, you can see the list of your friends and if is online or not... and a lot of more things like see when you reach a level (or down)...
FidoW is offline  
Old 30.01.2007, 17:52   #5
Belazor
Архивный участник
 
Join Date: Mar 2006
Posts: 26
Default

Quote:
Originally Posted by testdude View Post
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...
No, I coded a vBa module to quick register an account from the frontpage if they weren't logged in with vB.
Then I made a full-fledged vB addon which not only could register new accounts associated with a forum account, but let GMs with the proper permissions (set in the usergroup manager in vB) ban/unban users.
It also displayed some quick stats on the front page of the addon.
All MS-SQL queries done on a different port from the default 1433, and the server was configured to only allow the website domain to have access to run said queries.
Secure, it was.
Didn't get around to doing inventory and stuff before the server went to shits, already had all the images on my comp too :/
Belazor is offline  
Old 02.06.2007, 18:33   #6
estoke
Архивный участник
 
Join Date: Jun 2007
Posts: 10
Default

Quote:
Originally Posted by testdude View Post
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...

Quote:
Originally Posted by FidoW View Post
Ummm, i have a similar panel... my cp have that info... inventary, warehouse, clan info, ally info, you can see the list of your friends and if is online or not... and a lot of more things like see when you reach a level (or down)...

Could you both share your CP, so we can expand this project?

Thx in advance.
estoke is offline  
Old 05.06.2007, 19:21   #7
katso
Архивный участник
 
Join Date: Mar 2006
Posts: 70
Default

Hi I need a small aid, since I have hosted the page in webhosting, and it throws east error to me.

Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: XXX.XXX.7.193 in /www/XXXXXXX.com.ar/htdocs/load/functions.php on line 65

Warning: mssql_select_db(): supplied argument is not a valid MS SQL-Link resource in /www/XXXXXX.com.ar/htdocs/load/functions.php on line 66

I read the possible solutions but I believe that no is adapted to my situation since I cannot modify DLL of hosting. From already thank you very much.

esp= hola necesito una pequeña ayuda, puesto que he hosteado la pagina en un webhosting, y me tira este error. He leido las posibles soluciones pero creo que ninguna se adecua a mi situacion puesto que no puedo modificar ningun dll del hosting. Desde ya muchas gracias.
katso is offline  
Old 17.07.2007, 14:27   #8
polil91
Архивный участник
 
Join Date: Jul 2007
Posts: 1
Default

I have a problem with your l2cp....

i cant remove those notices, can u tell me how i do it?
and how i fix sql injection?


By polil91 at 2007-07-17
polil91 is offline  
Old 20.07.2007, 03:51   #9
lunatiq
Архивный участник
 
Join Date: Jul 2007
Posts: 7
Default

Quote:
Originally Posted by polil91 View Post
I have a problem with your l2cp....

i cant remove those notices, can u tell me how i do it?
and how i fix sql injection?


By polil91 at 2007-07-17

Hello, you can reduce error reporting priority in php.ini to remove those
lunatiq is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 17:59.