Miliardsto Posted November 17, 2017 Posted November 17, 2017 Hello. Im trying to make my scripts safe - unnable to decompile. I search for obfuscators and other security methods but the search has come to nothing. Then one guy gave that idea below. If I rightly understood this idea lets we talk about example program with this secutiy method. Program have two parts, first is only login gui and the second part is the main program Second part (main program) is uploaded on ftp server lets say that on http://xxx/autoit/main_program.au3 So we have the first gui with login, we put correctly login and pass and this is the moment when code from http://xxx/autoit/main_program.au3 will be downloaded and executed Finally main program will be appear This is the similiar way like new games are protected by cracking. I have few questions in this moment about this: Is something like that even possible to do with the autoit? First part of program (login gui) must have somewhere given that link to download the rest of code - http://xxx/autoit/main_program.au3 to make it execute. As we know this first part of program is easy able to hack and retrieve this web url http://xxx/autoit/main_program.au3 where located is main part of program. Is the way to encrypt or secure it? If only code will be stored in .php we know it cannot be previewed. So it could for example get code from .php file instead of .au3 I know that methods works in other languages (I dont know exactly how) thats becouse I only speculates, maybe something may looks different in these solution? Other way would be compiling second part of code on web server (there are available web autoit servers) maybe this way is possible? Tell me anything U know about this ideas and if its even possible to achieve. Thanks for ur any response, advice or thoughts Quote You can also just use authentification. your examplecode: Code: Func __CalculateWorldFormula($bob) $a = DiscreteLogarithm(Mod($bob ^ 4, 3)) return $a EndFunc becomes Code: $HardwareID = _getHWID() Func __CalculateWorldFormula($bob) $sCode = __GetCodeFromServer($HardwareID, "Worldformula-line.au3") If @error > 0 And $sCode = "HWID not registered" Then MsgBox(16, "Nope", "You son of a nice Mother!" & @CRLF & "You are not allowed to use this!") Exit 1337 EndIf $a = Execute($sCode) return $a EndFunc No If clauses that could be bypassed to grant access. So also no need to protect your code anymore.If there is an error, the server just doesn't give you the code. And thus you can't find it out. The downsides are that you need to have an FTP-server that has to run 24/7 and you need to register every user that buys a license one by one. (Or you could also write a script for it)100% safe (in case the attacker doesn't own a license (buying a license + getting your precious code + publishing it for free = no profit = still 100% safe))
JohnOne Posted November 17, 2017 Posted November 17, 2017 You cannot protect you autoit3 script from decompilation. Really stop wasting your time. Pick another language you feel is safer, or just get over the fact your super secret code can be seen. Chances are, no-one cares about your code anyway. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
Miliardsto Posted November 17, 2017 Author Posted November 17, 2017 blablabla xd I heard this many times. I know there is no perfect method. Im sure something could be done for more safety. For what reasons there is stripper in SciTe? I saw some obfuscators and packers but unfortunately they dont work in new ver of autoit. Its evidence - something could be done for safety. Im giving here wonderful idea and You ruin whole thing by typing automated learned rule
iamtheky Posted November 17, 2017 Posted November 17, 2017 its not that "there is no perfect method". its that there is NO method. You can create as many hops as you want, but you are spending a significant number of manhours on something that will be undone in minutes. Like, not even double digit minutes. Earthshine 1 ,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-. |(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/ (_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_) | | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) ( | | | | |)| | \ / | | | | | |)| | `--. | |) \ | | `-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_| '-' '-' (__) (__) (_) (__)
Moderators JLogan3o13 Posted November 17, 2017 Moderators Posted November 17, 2017 This has been discussed ad nauseam, and the response is not going to change. Locking this thread before it descends into stupidity. Earthshine 1 "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum!
Developers Jos Posted November 17, 2017 Developers Posted November 17, 2017 (edited) 8 hours ago, Miliardsto said: blablabla xd I heard this many times. I know there is no perfect method. Im sure something could be done for more safety. Im giving here wonderful idea and You ruin whole thing by typing automated learned rule Thought I made it clear not too long ago to you that this was not going to be further discussed in these forums? Guess I wasn't clear enough or is it you being unwilling to comply as I simply read an attitude I don't particularly like? 8 hours ago, Miliardsto said: For what reasons there is stripper in SciTe? I saw some obfuscators and packers but unfortunately they dont work in new ver of autoit. I wrote the Obfuscator and stopped support as some saw that as challenge to de-complie & de-obfuscate that code again, but have a]always stated that obfuscation doesn't make the code safe but merely hard to read. The obfuscator was changed into the au3stripper as I felt the main purpose should be to strip the included script at compilation time back to the bare code needed, which generally saves 90% save for the sourcecode. So although it is always good to have an idea and pursue your goals, but in this case this topic has been hashed out so many time and always end the same way, we simply stop the discussion right at the beginning. You may not like this, but this is what it is and not open for debate. Jos Edited November 17, 2017 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Recommended Posts