Link to home
Start Free TrialLog in
Avatar of 123456
123456Flag for Iran, Islamic Republic of

asked on

Need help for protecting my application of cracking

hi experts:
I read some articles about protecting your application against cracking at this question
 https://www.experts-exchange.com/questions/20517202/The-best-way-for-creating-a-password-for-a-application.html
In  
 http://www.scalabium.com/articles/protection.pdf

describe that :
<if you trial software must be available in 30 days only , then don’t try to use a system  date-time.
Better to use a date-time of some system files (system.dat or DAO , BOOTLOG.txt, autoexec.bat etc).
Also don’t forget that additionally you can create the some own hidden file during installation and use a date-time of this file.>

But my question :
Which one (system.dat ,DAO, bootlog.txt , autoexec.bat  ) has a better feature for uncracking?
How can work with these issues(system.dat,DAO,bootlog.txt,autoexec.bat)?



Thanks a lot.
Hamid reza
Avatar of DeNavigator
DeNavigator

Why don't you go here: http://sourceforge.net/projects/tponguard

and download these tools! These are the TurboPower-tools which have come into OpenSource! :)
I think it is easier to use this then to invent the wheel again!
Avatar of 123456

ASKER

i want to familliar with this issue .
What that 'tutorial' meant to say was that when you are using a trial protection in your software such as only let the user use it for 30 days you are obviously going to have to match the date with something to see if it has been 30 days.

What you -dont- want to do is match the date with the current system time as that's the easiest and most common trick to by-pass trial protection, all a user has to do is change the time/date of his windows installation and he's sorted.

Instead what it suggests you do is get the date/time of a few system files like those mentioned which are most likely to have the actual date/time since they aren't likely to be tampered with.

Another site I suggest is:
http://www.inner-smile.com/nocrack.phtml

Goodluck
As an addition which I forgot to say was that all of those files -can- be tampered with and none of them have any 'uncracking features' or what have you.

A good idea might be to check the date/time of all of them and compare them to check if there's any major differences to see if someone is in fact trying to fool you.
Avatar of 123456

ASKER

How can work with these issues(system.dat,DAO,bootlog.txt,autoexec.bat)?



You will have to explain better what you are wanting information about.

Do you want to know how to get the time/date from those files?

Do you want to know how to check if it's been 30 days since the user installed your program?

Etc.
Avatar of 123456

ASKER

yes,that s what i need it.
1-how to get the time/date from those files?
2-how to check if it's been 30 days since the user installed your program?

and everything should know about this issue.


thanks a lot.
hamid reza



Avatar of 123456

ASKER

yes,that s what i need it.
1-how to get the time/date from those files?
2-how to check if it's been 30 days since the user installed your program?

and everything should know about this issue.


thanks a lot.
hamid reza



To get the files time/date you can do this:

Var
  Res : integer;
  Dat : TDateTime;
begin
  Res := FileAge('c:\whateverfile');
  Dat := FileDateToDateTime(Res);
  ShowMessage(DateToStr(Dat));
end;

//^^
Don't forget that file locations are not the same on NT/2k (\WINNT\) as they are on 98/ME/XP (\Windows\) but a simple check which OS ver is running will help you out. (Or just use GetSystemDir api if there's any files in the %win%\system32 dir that you need).

How to check if it's been 30 days, simply store the date of the first time you're running your program somewhere and match it with the files dates everytime your program is being ran.
Avatar of Mark Brady
Hi

I used a slightly different method in one of my trial programs.  It adds a key to the registry on installation, then increments a number in the key each time the app is run.  After 30 uses, the program won't run anymore and the main exe file is deleted.  The key remains in the registry and don't use the name of your program for the key.  Use something else or your name spelt backwards or something.

I know this is not exactly what you are asking but it is another way of limiting your program until they buy the full version.
Hope this helps

Mark
Avatar of 123456

ASKER


hi mark,
in my idea if you create a file in a windows/system or somewhere else(these files more than one file and name id differ with previous names)  is better.
because everyone can go to regedit and delete it .( I do this work  for a acehtml5 pro ).
But I want to know , do anyone know a coding that  inform of copying files to own computer when installing application?

Slightly annoyed now.

You need to make up your mind and then formulate a question that you want answering, and if it gets answered, reward points for it.

You had nothing about file copying etc. in your original question.

75 Points is not worth it to continually help you with whatever you seem to encounter or like some information about.

If you want information on god knows what, post a new question on it.
Avatar of 123456

ASKER

this is my question ,
i shared my questions with others, you dont say this to me.
I don't say this you?
Scroll up a bit and read again.. looks like I just did.

Also, rephrase your last question about 'coding that inform of copying files to own computer when installing application' to something that ressembles english so that I can help you.

Do you want to.. monitor a hard drive to see if there's files being copied?

Do you want to make an installation program of your own that let's people download something and it copies your application's file to their HD?

Etc.

Avatar of 123456

ASKER

hi,
sorry,I don’t say my purpose correctly.
crackers can  make a monitor that inform of copying files to HD, you say in one comment:
<< simply store the date of the first time you're running your program somewhere and match it with the files dates everytime your program is being ran.>>
when you run the file at first time , files was copied  was highlighted (with this monitor).
I want to desable this monitor.
For it I want to know any coding does exist that inform of copying files to HD?

Thanks a lot.
Hamid reza.
ASKER CERTIFIED SOLUTION
Avatar of Wax0r
Wax0r

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
PS: Obviously the array of char for date doesn't have to be 30 chars. Just have a look at what kind of format you'll be storing your date in and make it the amount of chars that takes.

The tag can be longer/shorter as well ofcourse and you might want to make it weird chars so it somewhat blends in with the application rather than some indication of a seperator.
Ugh 3rd post, I should check my posts more closely;

"In short; You can't disable such monitors because you don't know what they are etc. You'd have to take a wild guess at a progress and attempt to kill it and such."

What I meant to say was that although you might know that specific file monitor, there are multiple ones out there, and that's excluding the ones that people (Crackers) coded themselves and aren't available to the public. Hence, you don't have any information on those programs, let alone their executable names, window titles or any other sort of information on them.
Avatar of 123456

ASKER

thanks for your assisting,
if you have any other idea, append to this question.
 
best regards
hamid reza