This topic has been archived. It cannot be replied.
-
工作学习 / IT技术讨论 / 如果想让一个程序只运行30天,应该用什么办法呢?
-lilyba(sunshine困惑不懂装懂);
2003-2-12
(#1036925@0)
-
做个自毁的逻辑炸弹。
-diao_david(大卫。刁);
2003-2-12
(#1036932@0)
-
谢谢,能否稍微详细点,或推荐一个网页么?
-lilyba(sunshine困惑不懂装懂);
2003-2-12
(#1036934@0)
-
拉登.本@阿富汉.没准儿
-brother-pooh(Pooh哥哥);
2003-2-12
(#1036941@0)
-
你,严肃点。 :(
-lilyba(sunshine困惑不懂装懂);
2003-2-12
(#1036942@0)
-
说真的吧,如果是给公司用的最好谨慎些。建议不做。没开玩笑。
-brother-pooh(Pooh哥哥);
2003-2-12
(#1036947@0)
-
manager让作的。
-lilyba(sunshine困惑不懂装懂);
2003-2-12
(#1036949@0)
-
拙见首先要有些加密的策略。
然后是你想设计的复杂程度。例如,一个标示文件的存在,数据库中做些检查,系统的Registry做些记录。但就算现在最好的软件的Evaluation期限的控制,也很难控制change my computer date and time, uninstall then reinstall, delete registry, clean the whole machine and reinstall, 也许其他大虾会有更好的杀手箭。
-brother-pooh(Pooh哥哥);
2003-2-12
{318}
(#1036970@0)
-
正如你所说的,我当时是自己做了一个安装程序,其中包括了加密、解密功能,到时间后程序吧自己写零。当前的时间是密匙的一部分。如果改时间的话,自毁功能马上启动。
-diao_david(大卫。刁);
2003-2-12
(#1036987@0)
-
如果没有register功能,当前时间就没法用,就无法防止“turn back”。
-noexit(江湖▲夜雨▲省油▲灯);
2003-2-12
(#1037024@0)
-
Oh, man! Hope it's not suicide bomb. Don't hurt yourself ... :)....
-brother-pooh(Pooh哥哥);
2003-2-12
(#1036935@0)
-
Here is an easy way, I just finished. first, you get a date string , for example today plus 30, then use the easy encrypt rule change it to hex, next, sotre it in to db, or register it .last, when application login, decrypt this date string ,compare with current date, when larger ,expired.
because my application references the local time, if the user change the local time, the applcation doesn't work correctly. so this way is good for me
-bluebluesky(bluebluesky);
2003-2-12
{259}
(#1037006@0)
-
you can make your program geting time from internet,that way user can't make fake system-time,or you write count number in some secret place,but it is easy to restore original condition.
-doglet(狗圣);
2003-2-12
(#1037018@0)
-
你可以把你贴的一夜情发到我的邮箱吗?谢谢!
-zp001(牛);
2003-2-12
(#1037115@0)
-
if the user's computer don't connect internet, how do u solve it?
-bobo123(bobo);
2003-2-15
(#1042442@0)
-
如果能联到某个自己的服务器上,就到服务器上授权,最可靠
-miketany(MIKE老狼);
2003-2-12
(#1037021@0)
-
yes. that is the only way to prevent "turn back".
-noexit(江湖▲夜雨▲省油▲灯);
2003-2-12
(#1037026@0)
-
谢谢各位,有个方向就好办多了。
-lilyba(sunshine困惑不懂装懂);
2003-2-12
(#1037028@0)
-
always design a backdoor for this kinds of self-destroied program.
-ningxin0809(雁影行洲);
2003-2-12
(#1037030@0)
-
你是指给自己留条活路,还是留个通风报息儿的。我建议后者应谨慎从事。
-brother-pooh(Pooh哥哥);
2003-2-12
(#1037038@0)
-
留条活路
-ningxin0809(雁影行洲);
2003-2-12
(#1037043@0)
-
没错,一定别忘了给自己留口气儿。
-brother-pooh(Pooh哥哥);
2003-2-12
(#1037053@0)
-
Otherwise, it's suicide bombing.
-brother-pooh(Pooh哥哥);
2003-2-12
(#1037055@0)
-
可以考虑过30天后手工删除.
-dahuaidan(F.D.);
2003-2-12
(#1037063@0)
-
那她们要是拷贝到别的机器上了怎么办。
-lilyba(sunshine困惑不懂装懂);
2003-2-12
(#1037070@0)
-
楼上说得都挺有道理的, 不过你要嫌麻烦, 就让楼下的去删吧
-dahuaidan(F.D.);
2003-2-12
(#1037122@0)
-
可以考虑过30天后留给dahuaidan删除.
-doglet(狗圣);
2003-2-12
(#1037072@0)
-
我认为是没有办法的,但有一点可以作到,只让程序运行720个小时。
-bobo123(bobo);
2003-2-15
(#1042443@0)
-
ok, if u know asm and pe structure and loading address resolveafter compiled the exe, write a core function space with all zero, every time, run the code, before any execution of that function, retreive that part from certain network place, so your own pc at home, and do the address resolve ur self. after 30 days, delete that file from your pc. that's it.
-blaise(int,...);
2003-2-15
{296}
(#1042764@0)
-
我们公司有30天的试用版.一般是写LICENSE 文件,再在注册表中加入时间信息.应用程序每次启动时都CHECK LICENSE文件,若是试用版,再去查过期时间.That's it.
-ivy_sh(呼吸着的青草);
2003-2-15
(#1043434@0)
-
靠,国内那会儿就靠这招收尾款了.写一死循环,提取系统时间,比较即可.还有更绝的,等你有了需求再说吧.源文件给他了?作个调用就是了,存一点参数到那个被调用的文件.....
-siebel(阿丽梦啊我来离萨);
2003-2-15
(#1043441@0)
-
CExpire
URL = http://www.codeproject.com
-cjzhou(CanInsistOn);
2003-2-17
(#1046564@0)