Register for your free account! | Forgot your password?

You last visited: Today at 04:16

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[RELEASE]Login from unique client

Discussion on [RELEASE]Login from unique client within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2010
Posts: 43
Received Thanks: 14
[RELEASE]Login from unique client

Release scritta in: | Release wrote in:

ITALIAN
ENGLISH


IT: andate nella registrazione del vostro sito, e nella query modificate, aggiungendo la funzione Password() di mySQL nell'username.

ENG: go in your website registration, in the QUERY add the function Password() in the username.

ES:
Code:
$query="INSERT INTO db.table (id, password, etc) VALUES([COLOR="Red"]Password('$id')[/COLOR], ...)";
IT: Ora andate nel vostro client e su intrologin fate come è stato fatto sull'immagine:
ENG: Now go in your client and edit the intrologin.py:





IT: Nuova funzione da aggiungere vicino alle altre, come nello screen:
ENG: New Function (To add the function see the screenshot):

Code:
#Created by Walker - Revolution Client
import sha

def SetLoginInfo(self, id, pwd):
	self.stream.SetLoginInfo("*"+sha.sha(sha.sha(id).digest()).hexdigest().upper(), pwd)
IT: Infine modificate
Code:
self.stream.SetLoginInfo(id, pwd)
in
Code:
self.SetLoginInfo(id, pwd)

ENG: Edit
Code:
self.stream.SetLoginInfo(id, pwd)
to
Code:
self.SetLoginInfo(id, pwd)


------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------
WE WANT MORE?
------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------
WarXWar is offline  
Thanks
3 Users
Old 03/31/2013, 16:08   #2

 
elite*gold: 0
Join Date: Dec 2008
Posts: 2,825
Received Thanks: 1,538
Quote:
Originally Posted by WarXWar View Post
go in your website registration, in the QUERY add the function Password() in the username.

ES:
Code:
$query="INSERT INTO db.table (id, password, etc) VALUES([COLOR="Red"]Password('$id')[/COLOR], ...)";
Now go in your client and edit the intrologin.py:

See this.






New Function:

Code:
	def SetLoginInfo(self, id, pwd):
		self.stream.SetLoginInfo("*"+sha.sha(sha.sha(id).digest()).hexdigest().upper(), pwd)
Edit self.stream.SetLoginInfo(id, pwd) to self.SetLoginInfo(id, pwd)


------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------
WE WANT MORE?
------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------
mit bildchen
btw: it´s nice
.Colossus. is offline  
Old 03/31/2013, 16:11   #3
 
elite*gold: 0
Join Date: Apr 2010
Posts: 136
Received Thanks: 41
thanks
almobd3 is offline  
Old 03/31/2013, 16:37   #4
 
elite*gold: 0
Join Date: Mar 2010
Posts: 68
Received Thanks: 7
not work..connecting to server...
shpritz is offline  
Old 03/31/2013, 16:58   #5
 
Stαgє6's Avatar
 
elite*gold: 0
Join Date: Jul 2011
Posts: 2,019
Received Thanks: 1,471
A Pic from the Feature wheres nice so I don´t know what you mean
Stαgє6 is offline  
Old 03/31/2013, 19:32   #6
 
'venToX's Avatar
 
elite*gold: 4
Join Date: Feb 2013
Posts: 572
Received Thanks: 1,037
Sonny I to! War can you say us what do the Funktion ??

Sonny ich dachte du gehst Takos essen^.^
'venToX is offline  
Old 04/01/2013, 23:16   #7
 
elite*gold: 0
Join Date: Feb 2013
Posts: 5
Received Thanks: 0
please me Full root and uiscript !!
5481042025570 is offline  
Old 04/01/2013, 23:26   #8
 
Stαgє6's Avatar
 
elite*gold: 0
Join Date: Jul 2011
Posts: 2,019
Received Thanks: 1,471
Quote:
Originally Posted by αятυя-νєηтσχ View Post
Sonny I to! War can you say us what do the Funktion ??

Sonny ich dachte du gehst Takos essen^.^
Hab ich geschrieben bevor ich essen gegangen bin und zum thread ich werde immer noch nicht schlau daraus zu was des gut sein soll...
Stαgє6 is offline  
Old 04/02/2013, 08:13   #9
 
RaiN..'s Avatar
 
elite*gold: 0
Join Date: Jan 2013
Posts: 10
Received Thanks: 2
skids..skids everywhere
that function makes the login unique for your server.
what means?
taking a fast example ...when you try to log-in in your server, you will send id and password through the game and mysql then.
once did that, mysql compares your id with its id in tables, if that result TRUE you'll go to the next step.

Now what does happen if i insert a prefix?
no-one with the correct prefix/encryption in its intrologin will be able to log-in.
it's quite a simple workaround bypassable in easy way, but also works for the majority of people.

a quicky-sneaky refers for who didn't understand a ****

standard client/mysql/reg.php

MYSQL/REG

$Login=(mysql_real_escape_string(strip_tags($_POST['rainXD'])));
$password=mysql_real_escape_string($_POST['byebye']);

rainXD *MYSQL5_ENCRYPTION_OF_(byebye)

CLIENT

def Connect(self, id, pwd):
#some controls
self.stream.SetLoginInfo(id, pwd)
self.stream.Connect()
----------------------------------------------------------------------

with prefix/encryption


MYSQL/REG
function with_prefix($username)

$Login=with_prefix(mysql_real_escape_string(strip_ tags($_POST['rainXD'])));
$password=mysql_real_escape_string($_POST['byebye']);

prefixrainXD *MYSQL5_ENCRYPTION_OF_(byebye)

CLIENT

def Connect(self, id, pwd):
#some controls
self.stream.SetLoginInfo("prefix"+id, pwd)
self.stream.Connect()
RaiN.. is offline  
Old 04/06/2013, 19:18   #10
 
elite*gold: 0
Join Date: Oct 2010
Posts: 43
Received Thanks: 14
Quote:
Originally Posted by RaiN.. View Post
skids..skids everywhere
that function makes the login unique for your server.
what means?
taking a fast example ...when you try to log-in in your server, you will send id and password through the game and mysql then.
once did that, mysql compares your id with its id in tables, if that result TRUE you'll go to the next step.

Now what does happen if i insert a prefix?
no-one with the correct prefix/encryption in its intrologin will be able to log-in.
it's quite a simple workaround bypassable in easy way, but also works for the majority of people.

a quicky-sneaky refers for who didn't understand a shit

standard client/mysql/reg.php

MYSQL/REG

$Login=(mysql_real_escape_string(strip_tags($_POST['rainXD'])));
$password=mysql_real_escape_string($_POST['byebye']);

rainXD *MYSQL5_ENCRYPTION_OF_(byebye)

CLIENT

def Connect(self, id, pwd):
#some controls
self.stream.SetLoginInfo(id, pwd)
self.stream.Connect()
----------------------------------------------------------------------

with prefix/encryption


MYSQL/REG
function with_prefix($username)

$Login=with_prefix(mysql_real_escape_string(strip_ tags($_POST['rainXD'])));
$password=mysql_real_escape_string($_POST['byebye']);

prefixrainXD *MYSQL5_ENCRYPTION_OF_(byebye)

CLIENT

def Connect(self, id, pwd):
#some controls
self.stream.SetLoginInfo("prefix"+id, pwd)
self.stream.Connect()

La funzione che ho fatto è l'emulazione dell'algoritmo MySQL.

Se noti MySQL utilizza SHA256 più volte, e trasforma tutto in UPPERCASE.
WarXWar is offline  
Reply


Similar Threads Similar Threads
EPK/EIX Extraction [Unique client]
12/07/2011 - Metin2 Private Server - 0 Replies
As i said at the title I would like to ask for help with extracting the data files of a metin2. This server is called: Metin2Master EPK & EIX are just renamed to M2M & MM2, I think it's not problem. For website, please google its name :)
[RELEASE]2010 Client Login Tastatur
10/17/2010 - Metin2 PServer Guides & Strategies - 36 Replies
Kann Closed .



All times are GMT +1. The time now is 04:17.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.