Post Pacific  

Go Back   Post Pacific > Lineage 2 > Lineage 2 Server Modifications ONLY!

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 29.12.2006, 02:26   #1
AsterisKSM
Архивный участник
 
Join Date: Jun 2006
Posts: 163
Default

someone can fix this? (i`m not a php coder..)
AsterisKSM is offline  
Old 29.12.2006, 10:39   #2
cs991964
Архивный участник
 
Join Date: Dec 2006
Posts: 1
Default

in functions.php file at function checkhash instead of 34 u must put 32.

THANK YOU FOR THIS SCRIPT and HAPPY NEW YEAR !
cs991964 is offline  
Old 29.12.2006, 13:58   #3
AsterisKSM
Архивный участник
 
Join Date: Jun 2006
Posts: 163
Default

still not working.
AsterisKSM is offline  
Old 29.12.2006, 14:13   #4
Phantom2005
Архивный участник
 
Join Date: Aug 2005
Posts: 394
Default

Re-download it i made a couple of mistakes.
Phantom2005 is offline  
Old 29.12.2006, 14:30   #5
AsterisKSM
Архивный участник
 
Join Date: Jun 2006
Posts: 163
Default

NOTHING! Absolutly NOTHING fixed man ... In new vers
AsterisKSM is offline  
Old 29.12.2006, 14:41   #6
Onepex
Архивный участник
 
Join Date: May 2006
Posts: 110
Default

Quote:
Originally Posted by AsterisKSM View Post
NOTHING! Absolutly NOTHING fixed man ... In new vers
How about you be thankful over that he actually shares this instead of being a prick?
Onepex is offline  
Old 29.12.2006, 15:12   #7
mcrabben7
Архивный участник
 
Join Date: Apr 2006
Posts: 461
Default

Problems might be your version of PHP, your web host, etc. Don't blame Phantom for your problems. If it works for him, it's probably something you don't have installed.
mcrabben7 is offline  
Old 29.12.2006, 15:17   #8
AsterisKSM
Архивный участник
 
Join Date: Jun 2006
Posts: 163
Default

wtf? i`m not the only one that has this problems... even Phantom sayd that he made some mistakes... so S.T.F.U if you`re words are only for have more posts. Onepex
AsterisKSM is offline  
Old 29.12.2006, 15:32   #9
ismael66
Архивный участник
 
Join Date: Sep 2006
Posts: 122
Default

lol man , he is not god , and also he didn't owe you this
ismael66 is offline  
Old 29.12.2006, 15:47   #10
URANUS
Архивный участник
 
Join Date: Jul 2006
Posts: 69
Default

New version fine work!
URANUS is offline  
Old 30.12.2006, 14:25   #11
KOC2000
Архивный участник
 
Join Date: Jun 2006
Posts: 100
Default

Works now.. but for "Forgot Password" to work you MUST have 'securitycode' set to 1 or 2.. this needs to be fixed also..
KOC2000 is offline  
Old 30.12.2006, 15:04   #12
AsterisKSM
Архивный участник
 
Join Date: Jun 2006
Posts: 163
Default

well for me ...still not working
AsterisKSM is offline  
Old 02.01.2007, 05:27   #13
AsterisKSM
Архивный участник
 
Join Date: Jun 2006
Posts: 163
Default

Well... now to login is working... but with
$CONFIG['securitycode'] = "0"; set to 0... and to make an account ... it doesent work...
AsterisKSM is offline  
Old 02.01.2007, 23:59   #14
Onepex
Архивный участник
 
Join Date: May 2006
Posts: 110
Default

Quote:
Originally Posted by AsterisKSM View Post
Well... now to login is working... but with
$CONFIG['securitycode'] = "0"; set to 0... and to make an account ... it doesent work...
If you can't figure that out, then you simply shouldn't run a L2-sever.
Onepex is offline  
Old 03.01.2007, 06:23   #15
AsterisKSM
Архивный участник
 
Join Date: Jun 2006
Posts: 163
Default

Onepex i`m not a php scripter... and you shold f***k yourself before u speak something.
AsterisKSM is offline  
Old 03.01.2007, 21:42   #16
nasso
Архивный участник
 
Join Date: Nov 2006
Posts: 118
Default

check_cookie: user=' (sql command - shutdown-- )
work ?
nasso is offline  
Old 03.01.2007, 22:49   #17
m4rk
Архивный участник
 
Join Date: Jan 2006
Posts: 607
Default

nasso that's not a correct syntax for SQL...
and moreover, the antiinjection already fixes it so that you can't inject.
m4rk is offline  
Old 03.01.2007, 23:06   #18
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   #19
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 asdasd@asdsad.sdasd 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   #20
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   #21
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   #22
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   #23
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   #24
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 03.01.2007, 23:07   #25
m4rk
Архивный участник
 
Join Date: Jan 2006
Posts: 607
Default

ahh ok, i misunderstood you
m4rk 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 18:35.