• Advertisement

Archived

This topic is now archived and is closed to further replies.

Cheater-proof Timer!

This topic is 5100 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello friends, I am planning to make a program that controls the in''s and out''s of a company''s workers. By in''s and out''s I mean their get to work and get out of work TIME, respectively. Knowing this time I''ll be able to know whether one has or has not arrived in time. Well, that''s what I expect from a fair worker. I might as well be worried about CHEATERS, that may reprogram the system''s clock (Windows simple double clicking down right clock) making me believe that they have arrived in time, since I will have no other control of this. Please, can you help me how to prevent one from doing this, or... some way to track the CHEATERS that may try to do it? For time counting I''ll probably be using some multimedia/system timer function. By the way, I intend to program it under VB.NET. Thank you all for your attention, The cheater slayer

Share this post


Link to post
Share on other sites
Advertisement
Moniter the system time for changes, say check the time every 3 seconds and if the time has changed since last time by more than 7 seconds sound error, otherwise store time and loop.

Share this post


Link to post
Share on other sites
Thank you,
I had thought of it, but someone could change the clock BEFORE the program is running...
Correct me if I misunderstood your post.
Thanks again,
cheater slayering!

Share this post


Link to post
Share on other sites
Hmm... unless you want to leave the program running all the time I don''t really have any idea how you could do it

Share this post


Link to post
Share on other sites
I suppose that you have some kind of network at work. In such case, easiest solution is to make worker computers contact master server when they login and log out. This way you only need to trust master server - it can be your computer for example, password protected.

Of course, if your workers will get smart enough, they can as well write their own programs and leave computers turned on overnight to log them at correct time. But if we are at this point, they can as well hack into your computer, put a sniffer and steal your bank account info/password/etc, or even worse, eavesdrop your ICQ chats...

Generally, master server should work - but tell your workers that they are monitored. This way it will be just different way of time punchcard. If you will try to hide it, they will dicover it soon anyway, but you will leave very bad impression of ''spying'' instead just ''monitoring'' or ''controlling''.

Share this post


Link to post
Share on other sites
quote:
Original post by Sneftel
Oh, woe! Woe! If only desktop PCs had An unchangeable clock!



I''m still laughing about that thread.

The only way to do it woulkd be to have a server that when the person logs into their workstation it posts a message to your server which is responsible for keeping track of the time and user logged.

It should be really easy using VB.NET

Share this post


Link to post
Share on other sites
Well...
The workers are not smart enough to code a program. Let''s say they are smart to change clock time only and (laughs) they are not going to hack my computer and steal bank account, hehe...

The issue is, the program is not working under a network, so there''s not the server option (which would be a good idea!).
So, I thought of Rambobones'' idea of running the program all way through... I mean, not the program that controls workers in''s and out''s but just a light (would it be light?) program that runs on second plan and tracks whether someone has changed clock''s time.

I could put it in startup or windows registry (is there windows registry for win98?). But the big problem would be to hide it... i mean... it would be easier making some code under Visual C++...or some console program... don''t know... how would I actually hide the program from the workers? Someway they couldn''t ctrl+alt+del see it...
Can you help me round here?

Thanks again,
cheater slayered

Share this post


Link to post
Share on other sites
Dude, just run an operating system that doesn''t allow them to change the clock (NT, 2000, XP) and password-protect the BIOS.


"Sneftel is correct, if rather vulgar." --Flarelocke

Share this post


Link to post
Share on other sites
You could sync up with a public NTP server when they log in...
[EDIT] nevermind... No network... I see.


DracosX:

Master of the General Protection Fault

[edited by - DracosX on February 6, 2004 9:04:24 PM]

Share this post


Link to post
Share on other sites
Run the program as a service under NT / XP / W2K.

Have it sitting running in the background, keeping it''s own record of the seconds ticking by.

Save the information somewhere the workers can''t access it (eg: They don;t have permissions). Track logins / logouts. This can be used to calculate stats: "The user has been here for 5 hours.."

If the time itself is important eg: "YOU MUST BE HERE AT 9AM SHARP!", then it''s your responsibility as an admin to keep track of the clocks on the PCS.

The file that keeps track of the users loggin in should update itself every say, 5 minutes. When it updates, check the last time and the current time. If the time isn''t around 5 mints, then set the system time to 5 minutes ahead of the last time saved in the file. This requires that they can''t somehow halt the service or otherwise interfere with the timings.

Share this post


Link to post
Share on other sites
Thanks again.
Well, Sneftel came up with a simple and good idea (by the way what does Sneftel mean?).
Little issue, I''d have to upgrade to 2k or NT (never think of XP) under a pentium II (the most)... sounds like heavy system...

Downgraded came up with the service idea... but that also wouldn''t run under win98...

Could you still try to hide the program under win98?

Share this post


Link to post
Share on other sites
quote:
Original post by dannyxyz23
Downgraded came up with the service idea... but that also wouldn''t run under win98...

Could you still try to hide the program under win98?


You can hide programs from the Windows 98 task list. Do a google for it, failing that - I seem to remember the BO2K source doing something like that when I looked at it a few years back

Share this post


Link to post
Share on other sites
Why not just use a biometric device and an independant external device that has no network other than the computer logging it? Forget any method that relies on a users computer.

Share this post


Link to post
Share on other sites
To counter Revinor''s idea on leaving the computer on all night, maybe consider using Altiris. It can moniter anyone''s screen in the network and even control the computer. I guess it makes it easy to know after working-hours, who still has their computer on.

Share this post


Link to post
Share on other sites

  • Advertisement