Protect your EA (Trial Period)

This is a discussion on Protect your EA (Trial Period) within the Trading Software forums, part of the Commercial category; If you want to give the user of the program a try-before-buy program you can limit the usage of your ...

Reply
 
LinkBack Thread Tools Search this Thread
Old Jan 8, 2009, 5:28pm   #1
Joined Jan 2009
Thumbs up Protect your EA (Trial Period)

If you want to give the user of the program a try-before-buy program you can limit the usage of your program by limited period of time and after this period the program will not work.
Use the code below to limit your program for period of time.
int start()
{
string expire_date = "2006.31.06"; //<-- hard coded datetime
datetime e_d = StrToTime(expire_date);

if (CurTime() >= e_d)
{
Alert ("The trial version has been expired!");
return(0);
}
// your normal code!
return(0);
}
dollarfinder is offline Trading system vendor   Reply With Quote
Old Jan 12, 2009, 11:23am   #2
Joined Nov 2007
Dude, this would take a computer savvy guy no more than 10 minutes to crack such a protection.

Quote:
Originally Posted by dollarfinder View Post
If you want to give the user of the program a try-before-buy program you can limit the usage of your program by limited period of time and after this period the program will not work.
Use the code below to limit your program for period of time.
int start()
{
string expire_date = "2006.31.06"; //<-- hard coded datetime
datetime e_d = StrToTime(expire_date);

if (CurTime() >= e_d)
{
Alert ("The trial version has been expired!");
return(0);
}
// your normal code!
return(0);
}
alexis_michel is offline   Reply With Quote
Old Jan 12, 2009, 1:39pm   #3
Joined Jan 2009
dollarfinder started this thread Really? Tell me how
dollarfinder is offline Trading system vendor   Reply With Quote
Old Jan 13, 2009, 4:05pm   #4
Joined Nov 2007
Easy, you disassemble the code (with ready made available tools such as W32DASM) and look for references to the string : "The trial version has been expired!", then you are in the code, you replace the conditional jump by a normal jump, it takes one byte, and then you are off using the software forever.
There is much more to protecting a software than just the basic :
if (bad guy)
goto not_using_the_software
else
goto using_the_software


Quote:
Originally Posted by dollarfinder View Post
Really? Tell me how
alexis_michel is offline   Reply With Quote
Old Jan 13, 2009, 4:40pm   #5
 
zupcon's Avatar
Joined Nov 2004
Quote:
Originally Posted by dollarfinder View Post
Really? Tell me how
Any half decent programmer would get around this ridiculous solution in an instant. Those without the technical knowledge would simply pay $10 to one of the dozens of companies set up to decompile EA's or indicators, the guys offering these services will even remove simple restriction attempts such as you are suggesting free of charge

There's sites where you can download partially functioning decompilers that will decompile part of your exe just to prove they work, and these can be purchased for next to nothing

Protecting a Metatrader EA or indicator is a much more complex business
zupcon is offline   Reply With Quote
Old Jun 22, 2009, 10:09am   #6
 
2 Posts
Joined Jan 2009
The best way to protect an EA is by incorporating part of the trade logics in an encrypted DLL. DLLs are much tougher to decompile and also costlier to decompile. Most of the EA decompilers out there simply use decompiling software or get someone with one to do for them. DLL decompiling is costly, and most hackers are well versed in mql4 only.

RapidForex's Ironclad is one of the example, the EAs using their encrypted DLLs are much tougher to crack as part of the source is actually in the DLL.

Last edited by jordank; Jun 22, 2009 at 10:13am. Reason: edit
jordank is offline Software vendor   Reply With Quote
Old Jun 29, 2009, 9:54pm   #7
 
1 Posts
Joined Feb 2008
Quote:
Originally Posted by jordank View Post
The best way to protect an EA is by incorporating part of the trade logics in an encrypted DLL. DLLs are much tougher to decompile and also costlier to decompile. Most of the EA decompilers out there simply use decompiling software or get someone with one to do for them. DLL decompiling is costly, and most hackers are well versed in mql4 only.

RapidForex's Ironclad is one of the example, the EAs using their encrypted DLLs are much tougher to crack as part of the source is actually in the DLL.
Please, can you tell me who is RapidForex´s Ironclad or the website?.
My email tronss gmail com
Thanks
joselb is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar Threads
Thread Thread Starter Forum Replies Last Post
Banks Are Failing –How Do You Protect Yourself ? myinvestorsplace General Trading Chat 1 Sep 29, 2008 9:41pm
Commodity ETF - Will it protect my USD? *JDR* Commodities & Money Markets 4 Feb 27, 2008 12:41pm
FSA Who do they protect? coolTrader General Trading Chat 9 Jul 22, 2006 7:56am
Protect Your Pc From Sony !!! ale Techies Corner 0 Nov 16, 2005 10:57am
AOL Spyware Protect 'Blocks' But It Returns! jonnyy40 Techies Corner 4 Aug 1, 2005 4:07pm

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)