Re: hiding a counter



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
.



Relevant Pages

  • Oh GODDAMM!!! Re: G-Code Liberries II/How the cadcam-less survive XXLVII: The E-word as
    ... The macro should have read: ... incremented offset for the current slot center. ... > Because inherent in the macro loop is a *constant counter* or increment, ...
    (alt.machines.cnc)
  • Re: anyone knows how to read/decode CAF image
    ... code a reader that allows you to specify the start point (offset) and guess ... Read this into a bitmap structure eg BMP ... format that can be displayed. ... some sort of structure in the data. ...
    (sci.image.processing)
  • Re: Substr, but without padding
    ... parse var data block =(offset) data ... That is the sort of code that I try to avoid, especially when lengthis likely to start at something like 600000000. ... But I suspect that setting the variable "data" 146484 times will slow things down. ...
    (comp.lang.rexx)
  • Re: Counter Variables
    ... Evyn écrivait: ... prefer not to "hard code" the cross-refs. ... Increment the counter with \refstepcounter. ...
    (comp.text.tex)
  • Re: Heinleins rather unpopular views on rape
    ... sometimes it's under first, or offset to one ... But I think it's usually under third, only with some sort of safety ... Read the new Ethshar novel online! ... Prev by Date: ...
    (rec.arts.sf.written)