Quote:
Originally Posted by Yothri
Check md5 salt in Neuz.cpp if its the same u used to generate the password which is now in the database.
|
and how do I check that? ...
excuse my ignorance but I'm barely learning
If you can guide me I would be very grateful
-----------------------------------------------------------------------------
void CNeuzApp::HashMD5( char* szResult, LPCTSTR szPWD )
{
char szBuffer[256];
char* szKey = "";
#ifdef __INTERNALSERVER
switch( LANG_KOR )
#else // __INTERNALSERVER
switch( ::GetLanguage() )
#endif // __INTERNALSERVER
{
case LANG_JAP:
szKey = "chanho_park";
break;
case LANG_TWN:
szKey = "omg";
break;
case LANG_HK:
szKey = "tpgk";
break;
case LANG_ENG:
{
if( ::GetSubLanguage() == LANG_SUB_IND )
{
szKey = "dldhsdlseh";
}
else
{
szKey = "flight"; //cuvvvie
}
}
break;
case LANG_KOR:
szKey = "@FLYFF";
break;
case LANG_GER:
szKey = "gjgusdbfjq";
break;
case LANG_SPA:
szKey = "rlawnsgud";
break;
case LANG_POR:
//szKey = "rlawnsgud";
szKey = "kikugalanet"; //chipi_090520 05/22부터 암호화키 변경
break;
case LANG_FRE:
szKey = "gjgusdbfjq";
break;
case LANG_VTN:
szKey = "dlrjsdn";
break;
case LANG_RUS:
szKey = "rlaansrms";
break;
}
sprintf( szBuffer, "%s%s", szKey, szPWD );
md5( szResult, szBuffer );
}
Do I have to change anything in this code? ... should will I add anything to what's in bold?
--------------------------------------------------------------
Ready, problem fix ....
I did not understand what he had told me...
But already I understood and thanks for that...
Also I used this program to generate the md5 with its respective salt
(
In case anyone has doubts about the same)