Learn how to protect your Intellectual Property in this free AHK webinar

Talk about anything
User avatar
Joe Glines
Posts: 772
Joined: 30 Sep 2013, 20:49
Location: Dallas
Contact:

Re: Learn how to protect your Intellectual Property in this free AHK webinar

Post by Joe Glines » 23 Nov 2019, 09:35

croselzxcv wrote:
23 Nov 2019, 03:32
Thank you Joe for this and all your other YT tutorials. *****
You Bet! Glad to be of help!
Sign-up for the 🅰️HK Newsletter

ImageImageImageImage:clap:
AHK Tutorials:Web Scraping | | Webservice APIs | AHK and Excel | Chrome | RegEx | Functions
Training: AHK Webinars Courses on AutoHotkey :ugeek:
YouTube

:thumbup: Quick Access Popup, the powerful Windows folders, apps and documents launcher!

User avatar
Joe Glines
Posts: 772
Joined: 30 Sep 2013, 20:49
Location: Dallas
Contact:

Re: Learn how to protect your Intellectual Property in this free AHK webinar

Post by Joe Glines » 21 Dec 2019, 08:26

Which link? I posted many links...
Sign-up for the 🅰️HK Newsletter

ImageImageImageImage:clap:
AHK Tutorials:Web Scraping | | Webservice APIs | AHK and Excel | Chrome | RegEx | Functions
Training: AHK Webinars Courses on AutoHotkey :ugeek:
YouTube

:thumbup: Quick Access Popup, the powerful Windows folders, apps and documents launcher!

freespacing
Posts: 150
Joined: 28 Sep 2016, 11:14
Contact:

Re: Learn how to protect your Intellectual Property in this free AHK webinar

Post by freespacing » 21 Jan 2020, 23:57

your developed script does not have to remain Open Source
As of Jan 2020, does anyone know if there a good pathway to obfuscate and/or encrypt source code in compiled scripts?
Last time I looked, about a year ago, I spent three days chasing black cats down blind alleys.

Asking about something that can work with large scripts, with many thousands of lines, lots of include files, tons of functions.

SOTE
Posts: 1430
Joined: 15 Jun 2015, 06:21

Re: Learn how to protect your Intellectual Property in this free AHK webinar

Post by SOTE » 22 Jan 2020, 06:45

freespacing wrote:
21 Jan 2020, 23:57
your developed script does not have to remain Open Source
As of Jan 2020, does anyone know if there a good pathway to obfuscate and/or encrypt source code in compiled scripts?
Last time I looked, about a year ago, I spent three days chasing black cats down blind alleys.

Asking about something that can work with large scripts, with many thousands of lines, lots of include files, tons of functions.
I don't quite understand how you have never found an answer to that question, when a search for encrypt or obfuscate will turn up lots of posts on the subject. Probably the latest help topic where the subject was explored is here (and lists some protection options)-
https://www.autohotkey.com/boards/viewtopic.php?f=76&t=69724
(AHK Script Encryption)

Long story made shorter, interpreted programming languages like AutoHotkey and those using bytecode (AutoIt, Java, JavaScript, Python, PHP, PowerShell, C#, Lua, etc...) are going to have a much more harder time with protection than totally compiled languages (like C/C++, Pascal, Go, Swift, etc...). The interpreter must be able to "see" your script in order to execute it. However, even if you used a compiled language, there are still ways and many tools out there to edit/patch/crack/reverse engineer it from machine code, to Assembly language, and then pseudo C code. The expectation to create a hackerproof program is unrealistic.

Be that as it may, it hasn't stopped programmers and companies from releasing their programs and doing business, so sometimes people are being more worried about the imaginary loss of profits than they should. This is because probably 95% of users have no idea about reverse engineering and cracking, don't want to waste their time on such, or are law-abiding types. Of the probable 5% that remains, most likely have only a passing interest or limited knowledge and are easily deterred with basic protections (some of those protections are talked about in the link provided). And of the remaining willing to spend lots of time, are very knowledgeable, or are criminals, no matter what software protection that is used, it's not going to stop them from eventually cracking it (to include spending weeks or months trying).

Thus your best alternate route (outside of encryption and obfuscation) is legal protection, which is what Joe Glines webinar is about. Suggest viewing it, if you haven't already, very informative videos.

freespacing
Posts: 150
Joined: 28 Sep 2016, 11:14
Contact:

Re: Learn how to protect your Intellectual Property in this free AHK webinar

Post by freespacing » 22 Jan 2020, 08:20

Hi @SOTE
Thank you for your detailed reply, full of interesting thoughts about reflexions.
SOTE wrote:
22 Jan 2020, 06:45
a search for encrypt or obfuscate will turn up lots of posts on the subject.
Of course I found lots of threads at the time, that's what I meant in my OP by
I spent three days chasing black cats down blind alleys.
Some of these solutions worked only for small files; or required that you compile an alternate version of AHK with an old version of Visual Studio that didn't play well with mine; or that you pepper your script with directives — just not doable for a really large project.

Looking at my notes from the time, some of the signposts on that road were MPress, YuHei, HotKeyIt, AHK Dynamic Obfuscator, Obfuscator, FeiYue… but there were more.

Here is the TL;DR I wrote for myself when I abandonned:
1. Obfuscate the code before compiling.

2. Don't try to convert the EXE using tools like MPress: (i) false virus warnings, (ii) published decompiling tools

3. Obfuscation: no success for the large script with the YuHei tool, (ii) trying Autohotkey-Obfuscator-L which is a complex project.

4. Encryption at compilation time: apart from the MPress comment above, there is a tool by HotKeyIt that runs on the branch of AHK calls AHK_H and which requires compiling the AHK_L source code in Visual Studio 2015 (didn't manage it), providing an encryption password.
The thread you supplied is more recent: thank you very much, I will look at it. The latest in obfuscation / encryption: that's exactly what I was looking for.
Cheers.

User avatar
Joe Glines
Posts: 772
Joined: 30 Sep 2013, 20:49
Location: Dallas
Contact:

Re: Learn how to protect your Intellectual Property in this free AHK webinar

Post by Joe Glines » 06 Mar 2020, 14:08

Steven Thrasher (My IP Lawyer that was featured in the webinar) did a podcast with Mike Kim. Go here and listen to #222.

A lot of the same content as in our webinar. Just thought y'all might want to listen for a refresher.
Joe
Sign-up for the 🅰️HK Newsletter

ImageImageImageImage:clap:
AHK Tutorials:Web Scraping | | Webservice APIs | AHK and Excel | Chrome | RegEx | Functions
Training: AHK Webinars Courses on AutoHotkey :ugeek:
YouTube

:thumbup: Quick Access Popup, the powerful Windows folders, apps and documents launcher!

alfred0809
Posts: 1
Joined: 13 Mar 2020, 08:03

Re: Learn how to protect your Intellectual Property in this free AHK webinar

Post by alfred0809 » 10 Jun 2020, 06:53

doesnt only ahk itself have to stay open-source? where does it say anything about scripts written for ahk having to be open-source?
Last edited by gregster on 14 Jul 2020, 15:37, edited 3 times in total.
Reason: Spam links removed.

BoBo
Posts: 6563
Joined: 13 May 2014, 17:15

Re: Learn how to protect your Intellectual Property in this free AHK webinar

Post by BoBo » 10 Jun 2020, 06:56

alfred0809 wrote:
10 Jun 2020, 06:53
doesnt only ahk itself have to stay open-source? where does it say anything about scripts written for ahk having to be open-source?
That same old story: https://en.wikipedia.org/wiki/Open_source
If you want rock-solid legal advice I'd recommend getting in touch with a specialized lawyer.

User avatar
Joe Glines
Posts: 772
Joined: 30 Sep 2013, 20:49
Location: Dallas
Contact:

Re: Learn how to protect your Intellectual Property in this free AHK webinar

Post by Joe Glines » 11 Jun 2020, 18:41

alfred0809 wrote:
10 Jun 2020, 06:53
doesnt only ahk itself have to stay open-source? where does it say anything about scripts written for ahk having to be open-source?
There's no reason why our scripts have to stay open-sourced.
Sign-up for the 🅰️HK Newsletter

ImageImageImageImage:clap:
AHK Tutorials:Web Scraping | | Webservice APIs | AHK and Excel | Chrome | RegEx | Functions
Training: AHK Webinars Courses on AutoHotkey :ugeek:
YouTube

:thumbup: Quick Access Popup, the powerful Windows folders, apps and documents launcher!



BoBo
Posts: 6563
Joined: 13 May 2014, 17:15

Re: Learn how to protect your Intellectual Property in this free AHK webinar

Post by BoBo » 17 Jan 2021, 06:38

:shock: OMG, I've been the 222222 viewer of this thread. IT's 'Schnapszahl' PARTY TIME :mrgreen:

obalik
Posts: 1
Joined: 19 Jan 2021, 09:17

Re: Learn how to protect your Intellectual Property in this free AHK webinar

Post by obalik » 19 Jan 2021, 09:27

Thanks for information

User avatar
Joe Glines
Posts: 772
Joined: 30 Sep 2013, 20:49
Location: Dallas
Contact:

Re: Learn how to protect your Intellectual Property in this free AHK webinar

Post by Joe Glines » 19 Jan 2021, 12:16

I recently made a video showing how to compile & decompile your script using AutoHotkey_L with both MPRESS and UNX as well as how you can do a better job using AutoHotkey_H
Sign-up for the 🅰️HK Newsletter

ImageImageImageImage:clap:
AHK Tutorials:Web Scraping | | Webservice APIs | AHK and Excel | Chrome | RegEx | Functions
Training: AHK Webinars Courses on AutoHotkey :ugeek:
YouTube

:thumbup: Quick Access Popup, the powerful Windows folders, apps and documents launcher!

User avatar
boiler
Posts: 17706
Joined: 21 Dec 2014, 02:44

Re: Learn how to protect your Intellectual Property in this free AHK webinar

Post by boiler » 19 Jan 2021, 12:53

I always wondered how to protect my scripts from Salma Hayek.

BoBo
Posts: 6563
Joined: 13 May 2014, 17:15

Re: Learn how to protect your Intellectual Property in this free AHK webinar

Post by BoBo » 19 Jan 2021, 14:20

Salma has joined the AHK-fanbase?? THAT'S SO AMAZING! :mrgreen:

User avatar
Joe Glines
Posts: 772
Joined: 30 Sep 2013, 20:49
Location: Dallas
Contact:

Re: Learn how to protect your Intellectual Property in this free AHK webinar

Post by Joe Glines » 19 Jan 2021, 14:57

BoBo wrote:
19 Jan 2021, 14:20
Salma has joined the AHK-fanbase?? THAT'S SO AMAZING! :mrgreen:
LOL Yes! Like I said in the video, it helps motivate me to think this is who I'm helping. Yes, I'm a pig... But at least I know how to get myself to do some work!
Sign-up for the 🅰️HK Newsletter

ImageImageImageImage:clap:
AHK Tutorials:Web Scraping | | Webservice APIs | AHK and Excel | Chrome | RegEx | Functions
Training: AHK Webinars Courses on AutoHotkey :ugeek:
YouTube

:thumbup: Quick Access Popup, the powerful Windows folders, apps and documents launcher!

Rao Shaheryar
Posts: 2
Joined: 06 Jan 2021, 03:36

Re: Learn how to protect your Intellectual Property in this free AHK webinar

Post by Rao Shaheryar » 20 Jan 2021, 01:09

This is wonderful, thank you Mr. Joe Glines. I've also done some of my own research and this will surely flesh out my knowledge and this will be helpful for me .

pallabibaruah18
Posts: 14
Joined: 20 Jan 2021, 23:20

Re: Learn how to protect your Intellectual Property in this free AHK webinar

Post by pallabibaruah18 » 23 Jan 2021, 08:29

This is wonderful and informative, thank you. This will surely up my knowledge.

Post Reply

Return to “Off-topic Discussion”