Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server
You last visited: Today at 17:28

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

Advertisement



[PROBLEM]MySql5 Hash in der Pserver Datenabnk

Discussion on [PROBLEM]MySql5 Hash in der Pserver Datenabnk within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
NastyTeaBag's Avatar
 
elite*gold: 0
Join Date: Dec 2010
Posts: 1,481
Received Thanks: 257
[PROBLEM]MySql5 Hash in der Pserver Datenabnk

Hallo Com,

Hi, Comm ich will ein Programm schreibenn(mit vb.net) jrdovh muss ich dazu wissen wie ich einen MySql5 Hash erzeuge damit das mit den Passwörtern funktioniert.

Ich habe bereits gegooglet jdeoch bin ich nur auf das gestoßen:

Code:
Dim pw As String = "test"
        Dim b_in() As Byte = System.Text.Encoding.ASCII.GetBytes(pw)
        Dim s As New System.Security.Cryptography.SHA1Managed
        Dim stage1() As Byte = s.ComputeHash(b_in, 0, b_in.Count)
        Dim stage2() As Byte = s.ComputeHash(stage1, 0, stage1.Count)
        Dim sb As New System.Text.StringBuilder
        For Each c As Byte In stage2
            sb.Append(c.ToString("X2"))
        Next
        'Debug.Print(sb.ToString)
        'MsgBox(sb.ToString)
        Dim mt2pwgen = sb.ToString
        Return mt2pwgen
Ich habe es natürlich angepasst und "test" durch das Pw ersetzt jedoch kommt wenn ich test einfüge das raus:
Code:
*BE1BDEC0AA74B4DCB079943E70528096CCA985F8
Wenn ich es aber auf der Hash Gen Seite() eintrag (was mit der Datenbank übereinstimmt) dann kommt das raus:
Code:
*94BDCEBE19083CE2A1F959FD02F964C7AF4CFC29
Hat einer von euch eine Idee??
NastyTeaBag is offline  
Reply


Similar Threads Similar Threads
MySQL5 Passwort Hash Generator in PHP-Script
08/05/2012 - Metin2 Private Server - 2 Replies
Also meine Frage an die Com. : Kann man einen MySQL5 Hash Generator in ein PHP-Script einbauen? Also: Regipage ---> PHP-Script ---> PHP-Script generiert nen Hash-Code ---> In DB schreiben?
Mysql5 hash converter
10/03/2011 - Metin2 Private Server - 11 Replies
Hey Com, ich frage mich schon lange ob man die Passwörter in der Mysql Datenbank in die ursprünglichen Passwörter umwandeln kann (Hashcode --> Passwort) und dann bin ich in einem Forum auf ein Programm gestoßen, das das können soll. Diese Programm arbeitet nach angaben sehr schnell und deshalb stelle ich hier das Programm rein, für die die es brauchen und mir dann auch sagen können wie es funktioniert! Hier ein Bild aus dem Forum : Bild: neuebitmaph1jm.jpg - abload.de Auf dem Bild...
Fweholer be datenabnk pls help
06/09/2010 - Metin2 Private Server - 0 Replies
Hi, Ich habe ein paar sachen ingefügt gleichzeituig also alles auf deutsch übersetzt u.s.w seitdem bekomme ich wenn ich den server hochfahren will immer nachdem ich .-start eingegeben habe "mysql_real_conect: cant conect to local MySQL Server through socket "komma oben"tmp/mysql sock "Komma oben" was habe ich falsch gemacht



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


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.