DE-AMX'ing.
#1

Hey guys,if we hand someone an AMX file of a script,is it possible to DE-AMX it?Mine has a protection,I see a line like this on the script:
Код:
AntiDeAMX()
{
    new a[][] =
    {
        "Unarmed (Fist)",
        "Brass K"
    };
    #pragma unused a
}
Is this enough to protect a script from getting it stolen?I mean is it impossible to DE-AMX it in this case? Thanks.

By the way,don't mis-understand. I aldready own (I was given by the owner) the script. I just want to be sure if its protected or not.
Reply
#2

Try and decompile it yourself, see what you get.
Reply
#3

Quote:
Originally Posted by Tamer T
Посмотреть сообщение
Hey guys,if we hand someone an AMX file of a script,is it possible to DE-AMX it?Mine has a protection,I see a line like this on the script:
Код:
}
AntiDeAMX()
{
Is this enough to protect a script from getting it stolen?I mean is it impossible to DE-AMX it in this case? Thanks.

By the way,don't mis-understand. I aldready own (I was given by the owner) the script. I just want to be sure if its protected or not.
Will just show includes,nothing more,even if anyone would de-amx it,then the code would be messed,with changed lines and everything,also won't compile.
Reply
#4

I doubt this is possible. (as far as I know,its not)
Reply
#5

All those anti deamx'es dont actually make your script waterproof, they just cause a bug in the common decompiler. They can be bypassed by updating the decompiler, or excluding the buggy parts manually . Indeed theres a ready-to-use mod of the common decompiler that detects the array anti-deamx and decompiles it without problems.
Custom #emit anti-deamx scripts are the best way i know to protect the script, as they all need a custom modification of the decompiler. But of course they can still be excluded if you edit the decompiler code manually, though most people dont know how to do that.
So theres no 100% safe method to protect the script, but imo thats also not needed, as deamxed scripts are too messy to use anyways.
A script compiled with debug symbols could be decompiled to a useable script, but i havent seen a decompiler that makes use of that yet.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)