Re: hiding a counter
- From: Måns Rullgård <mans@xxxxxxxxx>
- Date: Sat, 07 Jul 2007 17:47:23 +0100
Golden California Girls <gldncagrls@xxxxxxxxxxx> writes:
Seth7TS@xxxxxxxxx wrote:
Hi,
i need to increment a counter every time a software is launched(i
would like to do a sort of trial version)...I have no idea how to hide
it and where...
can someone help me??
thanks
Seth
Screw the counter. Write a script to hard code the download time in
the binary on the fly and put in a test that disables it in x days.
What's to stop me removing the check from the binary?
Use an installer script to verify the clock on the system is
reasonable or fail to install. Check last access times, a pref's
file and the like to be sure he doesn't try and cheat by setting his
clock backwards.
It's easy enough to hack the kernel to offset *all* time values
reported to a process. Applying the same offset to values returned by
gettimeofday(), stat() and a few other system calls makes it
impossible for the application to detect anything.
The only way to prevent someone running code is not giving it to them
in the first place.
--
Måns Rullgård
mans@xxxxxxxxx
.
- Follow-Ups:
- Re: hiding a counter
- From: Golden California Girls
- Re: hiding a counter
- From: Boltar
- Re: hiding a counter
- From: Rainer Weikusat
- Re: hiding a counter
- References:
- hiding a counter
- From: Seth7TS
- Re: hiding a counter
- From: Golden California Girls
- hiding a counter
- Prev by Date: Re: hiding a counter
- Next by Date: Re: hiding a counter
- Previous by thread: Re: hiding a counter
- Next by thread: Re: hiding a counter
- Index(es):
Relevant Pages
|