Hi.
My friend made a private amxx plugin but when i tryed to use a decompiler it shows informations that shouldn't be seen by anybody like SQL_HOST or database password

What can i do to protect the plugin from decompiler programs ?
Here is part of the plugin (example):
Quote:
#include <amxmodx>
#include <amxmisc>
#include <sqlx>
new Handle:g_SqlTuple;
new SQL_HOST[32]="myHost", SQL_USER[32]="theUser", SQL_PASS[32]="thePass", SQL_DB[32]="someDB";
public plugin_init()
{
register_plugin("plugin","1.0","author");
g_SqlTuple = SQL_MakeDbTuple(SQL_HOST,SQL_USER,SQL_PASS,SQ L_DB);
}
|
And here is what decompiler shows:
Quote:
.DATA
var_000 variable ( 0x0 )
str_000 string "myHost"
arr_000 array 25 fill 0x0
str_001 string "theUser"
arr_001 array 24 fill 0x0
str_002 string "thePass"
arr_002 array 24 fill 0x0
str_003 string "someDB"
arr_003 array 25 fill 0x0
str_004 string "plugin"
str_005 string "1.0"
str_006 string "author"
.CODE
halt 0x0
PROC plugin_init
break
break
push.c 0x230
push.c 0x220
push.c 0x204
push.c 0xC
sysreq.c [BAD SYSREQ]
stack 0x10
break
push.c 0x0
push.c 0x184
push.c 0x104
push.c 0x84
push.c 0x4
push.c 0x14
sysreq.c [BAD SYSREQ]
stack 0x18
stor.pri 0x0
zero.pri
retn
ENDP
|
I want to hide from decompiler program : string "myHost" , string "theUser" , string "thePass" !