Raised This Month: $ Target: $400
 0% 

Is it possible to decompile AMXX file?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
moimel
Junior Member
Join Date: Mar 2009
Old 10-30-2009 , 06:46   Is it possible to decompile AMXX file?
Reply With Quote #1

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
moimel is offline
Xellath
Veteran Member
Join Date: Dec 2007
Location: Sweden
Old 10-30-2009 , 07:02   Re: Is it possible to decompile AMXX file?
Reply With Quote #2

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?
__________________
Achievements API - a simple way for you to create your OWN custom achievements!
Xellath is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 10-30-2009 , 07:02   Re: Is it possible to decompile AMXX file?
Reply With Quote #3

You mean that people who will use your mod have to use your mysql and can not use their own server ?
__________________
Arkshine is offline
moimel
Junior Member
Join Date: Mar 2009
Old 10-30-2009 , 07:07   Re: Is it possible to decompile AMXX file?
Reply With Quote #4

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
moimel is offline
joropito
AlliedModders Donor
Join Date: Mar 2009
Location: pfnAddToFullPack
Old 10-30-2009 , 09:08   Re: Is it possible to decompile AMXX file?
Reply With Quote #5

Quote:
Originally Posted by moimel View Post
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...
__________________

Divide et vinces
approved plugins | steam account

I don't accept PM for support. Just ask on forums.
If you're looking for private work, PM me.
joropito is offline
Send a message via MSN to joropito
Old 10-30-2009, 09:15
joropito
This message has been deleted by joropito. Reason: duplicated
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 10-30-2009 , 07:23   Re: Is it possible to decompile AMXX file?
Reply With Quote #7

PM me, i`ll see if its easy to borrow sql info from it.
__________________
xPaw is offline
Owyn
Veteran Member
Join Date: Nov 2007
Old 10-30-2009 , 09:22   Re: Is it possible to decompile AMXX file?
Reply With Quote #8

Quote:
why don't you use a cvar so the user can hold their own sql database?
WINDOWS/system32/drivers/etc/hosts
__________________
☜ Free Mozy ☂backup\҉sync user
Quote:
Американский форум - Задаёшь вопрос, потом тебе отвечают.
Израильский форум - Задаёшь вопрос, потом тебе задают вопрос.
Русский форум - Задаёшь вопрос, потом тебе долго рассказывают, какой ты мудак.
Owyn is offline
Send a message via ICQ to Owyn
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 10-30-2009 , 13:05   Re: Is it possible to decompile AMXX file?
Reply With Quote #9

Oh, and remember that you can't release your plugin on this website if you don't provide the source code anyways.
__________________
fysiks is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 10-30-2009 , 15:16   Re: Is it possible to decompile AMXX file?
Reply With Quote #10

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.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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