AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Is it possible to decompile AMXX file? (https://forums.alliedmods.net/showthread.php?t=107778)

moimel 10-30-2009 06:46

Is it possible to decompile AMXX file?
 
I want to release my mod to the public but it contains sensitive information inside like mysql password etc. and if there is any way to decompile the AMXX file I guess some one could hack it. so is it possible??

tia

Xellath 10-30-2009 07:02

Re: Is it possible to decompile AMXX file?
 
Yes, it's possible, but you need a lot of knowledge about the pawn preprocessor and C/C++ coding. It's not possible to get an direct string from an .amxx file.

Just a question; why don't you use a cvar so the user can hold their own sql database?

Arkshine 10-30-2009 07:02

Re: Is it possible to decompile AMXX file?
 
You mean that people who will use your mod have to use your mysql and can not use their own server ?

moimel 10-30-2009 07:07

Re: Is it possible to decompile AMXX file?
 
Yes. All information is gathered to one SQL...

So not anyone can do it you say?

and even if someone is managed to decompile some of the code it's impossible to get strings?
*the info is in strings

xPaw 10-30-2009 07:23

Re: Is it possible to decompile AMXX file?
 
PM me, i`ll see if its easy to borrow sql info from it.

joropito 10-30-2009 09:08

Re: Is it possible to decompile AMXX file?
 
Quote:

Originally Posted by moimel (Post 975907)
Yes. All information is gathered to one SQL...

So not anyone can do it you say?

and even if someone is managed to decompile some of the code it's impossible to get strings?
*the info is in strings

Using SQL as a central storage for distributed anonymous servers is not safe.
Even you can encrypt the information or avoid the decompile option, people always can use tools like tcpdump to see packets and then get the sql credentials.

Switch to some kind of web service (using http), a registration system and a security layer in your web application.

Another way is to make your own protocol to exchange data...

Owyn 10-30-2009 09:22

Re: Is it possible to decompile AMXX file?
 
Quote:

why don't you use a cvar so the user can hold their own sql database?
WINDOWS/system32/drivers/etc/hosts

fysiks 10-30-2009 13:05

Re: Is it possible to decompile AMXX file?
 
Oh, and remember that you can't release your plugin on this website if you don't provide the source code anyways.

Exolent[jNr] 10-30-2009 15:16

Re: Is it possible to decompile AMXX file?
 
I did exactly what you are talking about with my Hack Detector plugin (see my signature).
If you are interested in how I secured my sql info, feel free to PM me.


All times are GMT -4. The time now is 17:38.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.