
Originally Posted by
yanivman
MuToolz in MD5 Encode
Full credit to John-D!!!!
Requirements:
Access to MSSQL server ( preferably with SA account )
WZ_MD5_MOD.dll installed on the mssql Bin/Binn folder
working Mutoolz
STEP 1:
Go to query analyser
Quote:
USE master;
exec sp_addextendedproc 'XP_MD5_EncodeKeyVal', 'WZ_MD5_MOD.dll'
Quote:
use muonline;
Quote:
CREATE FUNCTION [dbo].[fn_md5] (@data TEXT, @data2 TEXT)
RETURNS BINARY(16) AS
BEGIN
DECLARE @hash BINARY(16)
EXEC master.dbo.XP_MD5_EncodeKeyVal @data, @data2, @hash OUTPUT
RETURN @hash
END
Run the Queries in Sequence
Then ur done with Query analyser.
STEP 2:
Modifying Mutoolz
register.php
find:
Quote:
'$POST[fname]', '$POST[pass1]','$POST[fname]'
there should be two of them inside the file.
Replace with:
Quote:
'$POST[fname]', [dbo].[fn_md5]('$POST[pass1]','$POST[fname]'),'$POST[fname]'
Mutoolz.tpl.php
find:
Quote:
and upper(memb__pwd) = upper(?) and
two of them inside the file.. 1 is under admin_checklogin function and the other is in user_checklogin function
change to or replace with:
Quote:
and memb__pwd = [dbo].[fn_md5](?,memb___id) and
i think that is it.. lolz...
there is another md5 encryption on the cookies and sessions.. completely different from the database ofcors.
EDIT: i didnt test it .. cause im not running a 99.watever server... go test it urself