Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Account Register web 99.62t

Newbie Spellweaver
Joined
Dec 7, 2005
Messages
6
Reaction score
0
After de people breaking head finally left with Aid of Sexpro and some contributors Our Friend Flopes Brazilian Boy VMAT Developers obtained an established page of web in the one of huy9010 had that to create one procedure established in the function of sexpro cod MD5

Procedure from Me_Muonline
CREATE PROCEDURE Encripta @btInStr VARCHAR(10) said:
Reg.php

<?php require("config.php"); $login = stripslashes($_GET['loginname' said:
);
$name = stripslashes($_GET['accountname']);
$email = stripslashes($_GET['email']);
$pw = stripslashes($_GET['password']);
$cpw = stripslashes($_GET['repassword']);

$sql_email_check = mssql_query("SELECT mail_addr FROM MEMB_INFO WHERE mail_addr='$email'");
$sql_username_check = mssql_query("SELECT memb___id FROM MEMB_INFO WHERE memb___id='$login'");
$email_check = mssql_num_rows($sql_email_check);
$username_check = mssql_num_rows($sql_username_check);


if (($email_check > 0) || ($username_check > 0) )
{
echo "<font color='red' size='5'> Error:</font><br />";

if (empty($login) || empty($name) || empty($email) || empty($pw) || empty($cpw))
{
echo "<h2>Hay dien day du thong tin.</h2>";
**elseif($email_check > 0){
echo "<h2>'$email' da co nguoi su dung!</h2><br />";
$Error=1;
**
elseif ($username_check > 0)
{
echo "<h2>'$login' da co nguoi su dung.</h2><br />";
$Error=1;
**elseif ($pw != $cpw)
{
echo "<br /><h2>Mat khau khong trung nhau.</h2>"; $Error=1;
**


**
else
{

//$msquery1 = "SET IDENTITY_INSERT MEMB_INFO ON";
$msquery2 = "INSERT INTO MEMB_INFO (memb___id,memb__pwd,memb_name,sno__numb,mail_addr,appl_days,modi_days,out__days,true_days,mail_chek,bloc_code,ctl1_code) VALUES ('$login',CONVERT(varbinary(16),'0x00'),'$name','1','$email','01/01/2006','01/01/2006','01/01/2006','01/01/2006','1','0','1')";
//$msresults= mssql_query($msquery1);
$msresults= mssql_query($msquery2);

// Executando procedure para atualizar senha
$a= "exec Encripta '".$pw."','".$login."'";
$b=mssql_query($a);


echo "<p align='center'>Accounts successfully created.</p> <br><p align='left'>
Login ID: $login<br>
Name: $name <br>
E-mail: $email<br>
ID Number: $idnumb<br>
Password: $pw<br>
Question: $sques<br>";
**

?>


Sorry Bad ingles ueheueuehue
 

Attachments

You must be registered for see attachments list
Last edited:
Newbie Spellweaver
Joined
Nov 20, 2004
Messages
9
Reaction score
0
Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: 192.168.1.106 in G:\xampp\xampp\htdocs\account\config.php on line 6

Warning: mssql_select_db(): supplied argument is not a valid MS SQL-Link resource in G:\xampp\xampp\htdocs\account\config.php on line 7

Warning: mssql_query() [function.mssql-query]: message: Invalid object name 'MEMB_INFO'. (severity 16) in G:\xampp\xampp\htdocs\account\reg.php on line 8

Warning: mssql_query() [function.mssql-query]: Query failed in G:\xampp\xampp\htdocs\account\reg.php on line 8

Warning: mssql_query() [function.mssql-query]: message: Invalid object name 'MEMB_INFO'. (severity 16) in G:\xampp\xampp\htdocs\account\reg.php on line 9

Warning: mssql_query() [function.mssql-query]: Query failed in G:\xampp\xampp\htdocs\account\reg.php on line 9

Warning: mssql_num_rows(): supplied argument is not a valid MS SQL-result resource in G:\xampp\xampp\htdocs\account\reg.php on line 10

Warning: mssql_num_rows(): supplied argument is not a valid MS SQL-result resource in G:\xampp\xampp\htdocs\account\reg.php on line 11

Warning: mssql_query() [function.mssql-query]: message: Invalid object name 'MEMB_INFO'. (severity 16) in G:\xampp\xampp\htdocs\account\reg.php on line 42

Warning: mssql_query() [function.mssql-query]: Query failed in G:\xampp\xampp\htdocs\account\reg.php on line 42

Warning: mssql_query() [function.mssql-query]: message: Could not find stored procedure 'Encripta'. (severity 16) in G:\xampp\xampp\htdocs\account\reg.php on line 46

Warning: mssql_query() [function.mssql-query]: Query failed in G:\xampp\xampp\htdocs\account\reg.php on line 46

Accounts successfully created.

Login ID: elemer
Name: elemer
E-mail: adrian_biro2004@yahoo.com
ID Number:
Password: xxx
Question:





WHAT IS WROG?PLEASE HELP
 
Newbie Spellweaver
Joined
Dec 7, 2005
Messages
6
Reaction score
0
elemer said:
Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: 192.168.1.106 in G:\xampp\xampp\htdocs\account\config.php on line 6

Warning: mssql_select_db(): supplied argument is not a valid MS SQL-Link resource in G:\xampp\xampp\htdocs\account\config.php on line 7

Warning: mssql_query() [function.mssql-query]: message: Invalid object name 'MEMB_INFO'. (severity 16) in G:\xampp\xampp\htdocs\account\reg.php on line 8

Warning: mssql_query() [function.mssql-query]: Query failed in G:\xampp\xampp\htdocs\account\reg.php on line 8

Warning: mssql_query() [function.mssql-query]: message: Invalid object name 'MEMB_INFO'. (severity 16) in G:\xampp\xampp\htdocs\account\reg.php on line 9

Warning: mssql_query() [function.mssql-query]: Query failed in G:\xampp\xampp\htdocs\account\reg.php on line 9

Warning: mssql_num_rows(): supplied argument is not a valid MS SQL-result resource in G:\xampp\xampp\htdocs\account\reg.php on line 10

Warning: mssql_num_rows(): supplied argument is not a valid MS SQL-result resource in G:\xampp\xampp\htdocs\account\reg.php on line 11

Warning: mssql_query() [function.mssql-query]: message: Invalid object name 'MEMB_INFO'. (severity 16) in G:\xampp\xampp\htdocs\account\reg.php on line 42

Warning: mssql_query() [function.mssql-query]: Query failed in G:\xampp\xampp\htdocs\account\reg.php on line 42

Warning: mssql_query() [function.mssql-query]: message: Could not find stored procedure 'Encripta'. (severity 16) in G:\xampp\xampp\htdocs\account\reg.php on line 46

Warning: mssql_query() [function.mssql-query]: Query failed in G:\xampp\xampp\htdocs\account\reg.php on line 46

Accounts successfully created.

Login ID: elemer
Name: elemer
E-mail: adrian_biro2004@yahoo.com
ID Number:
Password: xxx
Question:





WHAT IS WROG?PLEASE HELP


edit config.php

<?
$alogin = "your login";
$apass = "your password";
$host= "127.0.0.1";
$db = 'Me_MuOnline';
$msconnect=mssql_connect("$host","$alogin","$apass");
$msdb=mssql_select_db("$db",$msconnect);
?>

icanfly said:
where to add procedure?

Query Analiser From Me_Muonline DB
 
Last edited:
Newbie Spellweaver
Joined
Dec 25, 2004
Messages
70
Reaction score
23
Ronaldodavi said:
please people the forum has lingua English nat modifies pra all to be able to participate execut procedure that this la pointing with respect to Me_Muonline
Already I made this, but the error still remains
 
Last edited:
Newbie Spellweaver
Joined
Sep 27, 2005
Messages
28
Reaction score
0
hm QA:

Cannot add rows to sysdepends for the current stored procedure because it depends on the missing object 'master..XP_MD5_EncodeKeyVal'. The stored procedure will still be created.

When i add: M:\muserver\MD5_EXSP_DLL\UserDefinedFunction.sql

i have:

Cannot add rows to sysdepends for the current stored procedure because it depends on the missing object 'master..XP_MD5_CheckValue'. The stored procedure will still be created.
Cannot add rows to sysdepends for the current stored procedure because it depends on the missing object 'master..XP_MD5_EncodeKeyVal'. The stored procedure will still be created.
 
Last edited:
Newbie Spellweaver
Joined
Dec 25, 2004
Messages
70
Reaction score
23
With me the same thing happened that is speaking in the previous message
 
Newbie Spellweaver
Joined
Jan 26, 2005
Messages
63
Reaction score
2
[guide]

Full guide to use this Website (Rolnaldodavi add this to Guide with your web ^^):
Before using these file you need server 0.99.60T Original file from Webzen. Or not i upload these file need here. First Copy WZ_MD5_MOD.dll to Program Files\Microsoft SQL Server\MSSQL\Binn. Then do these Step:

1> Open CMD (For who dont know: Open run then Type CMD -> OK)
2> type osql -U youruser -P yourpassword (MSSQL)
then type these line (After a line type Enter)
use master -> Enter
go -> Enter
sp_addextendedproc 'XP_MD5_EncodeKeyVal', 'WZ_MD5_MOD.dll' -> Enter
go -> Enter
sp_addextendedproc 'XP_MD5_CheckValue', 'WZ_MD5_MOD.dll' -> Enter
go -> Enter
exit -> Enter
3> Open MSSQL Query Manager (Start -> All Programs -> Microsoft SQL Server -> Query Analyzer
4> Chose Server (local) then type your MSSQL username and password
5> Near the top Chose DB Me_MuOnline (For who use my repack and DB is MuOnline)
6> Copy these code to Query


--
 

Attachments

You must be registered for see attachments list
Last edited:
Newbie Spellweaver
Joined
Dec 7, 2005
Messages
6
Reaction score
0
huy9010 said:
Full guide to use this Website (Rolnaldodavi add this to Guide with your web ^^):
Before using these file you need server 0.99.60T Original file from Webzen. Or not i upload these file need here. First Copy WZ_MD5_MOD.dll to Program Files\Microsoft SQL Server\MSSQL\Binn. Then do these Step:

1> Open CMD (For who dont know: Open run then Type CMD -> OK)
2> type osql -U youruser -P yourpassword (MSSQL)
then type these line (After a line type Enter)
use master -> Enter
go -> Enter
sp_addextendedproc 'XP_MD5_EncodeKeyVal', 'WZ_MD5_MOD.dll' -> Enter
go -> Enter
sp_addextendedproc 'XP_MD5_CheckValue', 'WZ_MD5_MOD.dll' -> Enter
go -> Enter
exit -> Enter
3> Open MSSQL Query Manager (Start -> All Programs -> Microsoft SQL Server -> Query Analyzer
4> Chose Server (local) then type your MSSQL username and password
5> Near the top Chose DB Me_MuOnline (For who use my repack and DB is MuOnline)
6> Copy these code to Query


--
 
Junior Spellweaver
Joined
Jan 4, 2006
Messages
136
Reaction score
0
huy9010 said:
hehe copy that and make a guide in Guide section

Uploaded my page (Added security ques and ans)
Credits:
- CacarBot (I used his sql_inject.php)
- Sexpro (For code)
- Ronaldodavi (Thx for his guide and file)
Webpage secure sql injection:
http://forum.ragezone.com/attachments/27460-registration.rar?d=1149197262

I am verry new in setting PHP plss Help
Where to put, from where to get web, what files or progs do i need and etc....
 
Newbie Spellweaver
Joined
May 31, 2005
Messages
27
Reaction score
1
parsy said:
I am verry new in setting PHP plss Help
Where to put, from where to get web, what files or progs do i need and etc....

download appserv (Appache Server) install it then config files and put them in ../appserv/www/ open explorer and type or
 
Initiate Mage
Joined
Aug 4, 2005
Messages
3
Reaction score
0
Ae Ronaldodavi, o manual completo, ou como o povo aqui diz, FULLLL ^^

:alienmental:
 

Attachments

You must be registered for see attachments list
Last edited by a moderator:
Newbie Spellweaver
Joined
Aug 23, 2004
Messages
26
Reaction score
1
1> Open CMD (For who dont know: Open run then Type CMD -> OK)
2> type osql -U youruser -P yourpassword (MSSQL)
then type these line (After a line type Enter)
use master -> Enter
go -> Enter
sp_addextendedproc 'XP_MD5_EncodeKeyVal', 'WZ_MD5_MOD.dll' -> Enter
go -> Enter
sp_addextendedproc 'XP_MD5_CheckValue', 'WZ_MD5_MOD.dll' -> Enter
go -> Enter
exit -> Enter
3> Open MSSQL Query Manager (Start -> All Programs -> Microsoft SQL Server -> Query Analyzer
4> Chose Server (local) then type your MSSQL username and password
5> Near the top Chose DB Me_MuOnline (For who use my repack and DB is MuOnline)
6> Copy these code to Query

Just open Query Analyzer and run this script

use master
go
sp_addextendedproc 'XP_MD5_EncodeKeyVal', 'WZ_MD5_MOD.dll'
go
sp_addextendedproc 'XP_MD5_CheckValue', 'WZ_MD5_MOD.dll'
go

You will get done...
 
Newbie Spellweaver
Joined
Sep 27, 2005
Messages
28
Reaction score
0
hm i have InvalidUsername when i try to login but in Databaese Account is exist, i was check by enterprise manager.
 
Newbie Spellweaver
Joined
Dec 7, 2005
Messages
6
Reaction score
0
Plis Translate Guid Flopes for Ingles excelent tutor
sorry my time in cyber is closed

Post Original por Flopes Forum VMAT


Tae galera, pra que precisar, usem e abusem

Manual Para Criar Contas via Web

1º) Devemos pegar a dll WZ_MD5_MOD.dll e colocar no diretório binn do msSql Server:
Ronaldodavi - Account Register web 99.62t - RaGEZONE Forums


2º) Abra o Query Analizer e execute os seguintes comandos:
- exec sp_addextendedproc 'XP_MD5_EncodeKeyVal', 'WZ_MD5_MOD.dll'

- exec sp_addextendedproc 'XP_MD5_CheckValue', 'WZ_MD5_MOD.dll'
Ronaldodavi - Account Register web 99.62t - RaGEZONE Forums



3º) Agora temos que criar as funções corresponde as dlls. O arquivo com as funções já vem junto com o server, é o UserDefinedFunction.sql

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UFN_MD5_CHECKVALUE]') and xtype in (N'FN', N'IF', N'TF'))
drop function [dbo].[UFN_MD5_CHECKVALUE]
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[UFN_MD5_ENCODEVALUE]') and xtype in (N'FN', N'IF', N'TF'))
drop function [dbo].[UFN_MD5_ENCODEVALUE]
GO

SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO

-- ÇÔ¼ö¸í : UFN_MD5_ENCODEVALUE()
-- ³»¿ë : ƯÁ¤¹®ÀÚ¿­°ú À妽º¿Í MD5 °ªÀ» ºñ±³ÇÏ¿© ¸Â´ÂÁö üũ
CREATE FUNCTION UFN_MD5_CHECKVALUE
(
@btInStr VARCHAR(10),
@btInStrIndex VARCHAR(10),
@btInVal BINARY(16)
)
RETURNS TINYINT
AS
BEGIN
DECLARE @iOutResult TINYINT

EXEC master..XP_MD5_CheckValue @btInStr, @btInVal, @btInStrIndex, @iOutResult OUT

RETURN @iOutResult
END

GO
SET QUOTED_IDENTIFIER OFF
GO
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO

-- ÇÔ¼ö¸í : UFN_MD5_ENCODEVALUE()
-- ³»¿ë : ƯÁ¤¹®ÀÚ¿­°ú À妽º¸¦ ÀÌ¿ëÇÏ¿© MD5 °ªÀ» »ý¼º
CREATE FUNCTION UFN_MD5_ENCODEVALUE
(
@btInStr VARCHAR(10),
@btInStrIndex VARCHAR(10)
)
RETURNS BINARY(16)
AS
BEGIN
DECLARE @btOutVal BINARY(16)

EXEC master..XP_MD5_EncodeKeyVal @btInStr, @btInStrIndex, @btOutVal OUT

RETURN @btOutVal
END

GO
SET QUOTED_IDENTIFIER OFF
GO
SET ANSI_NULLS ON
GO

Selecione TUDO que está em laranja, dê um ctrl+c, abra o query analizer, dê um ctrl+v e execute com um F5. Pronto, funções criadas^^

4º) Agora é que vem o lance legal, eu pegue uma dessas funções e modifique para poder criar minha Store Procedure. Ainda no query analizer, execute o seguinte comando:

CREATE PROCEDURE Encripta
@btInStr VARCHAR(10),
@btInStrIndex VARCHAR(10)
AS

BEGIN
DECLARE @btOutVal BINARY(16)

EXEC master..XP_MD5_EncodeKeyVal @btInStr, @btInStrIndex, @btOutVal OUT

UPDATE MEMB_INFO SET memb__pwd = @btOutVal WHERE memb___id = @btInStrIndex
END
GO

Executando todo o comando em verde, vc cria a procedure necessária para encriptar a senha. Ateção para o banco de que vc está apontando, tem que estar no Me_MuOnline
Ronaldodavi - Account Register web 99.62t - RaGEZONE Forums



5º) Agora está muito fácil^^, é só vc pegar a página que está em anexo a este manual,disponibilizar na internet e testar seu cadastro.



Espero ter ajudado a vcs...

[]’s
FLOPES - VMAT Developers
 
Back
Top