使应用程序从无法在启动时禁用的Windows启动.
我需要制作一个以Windows开头的应用程序,但不想使用易于使用的方法(例如使用注册表).
我听说您可以使用dll注入方法.
请有人用代码示例来建议执行此首选项的方法.
我经营一家电脑维修公司,有很多客户不支付账单,所以我想一种方法,如果未支付账单,则在特定日期后锁定机器.
我使用C#编写代码,但是在示例代码的帮助下,也许可以绕过一点c ++.
我不需要有关锁定应用程序的帮助,而是需要安装该应用程序的帮助,因此它成为操作系统的组成部分,直到他们获得解锁代码为止,在此我希望将该应用程序自行卸载. >
我很欣赏我要达到的目标可能具有道德上的涵义,但是如果我已经考虑了该项目的后果,那么如果有任何答案可能是技术性的,我将更愿意这样做.
预先感谢,
理查德.
I need to make an app that starts with windows but don''t want to use an easily removable method such as using the registry.
I''ve heard you can use dll injection methods.
Please could someone suggest a method of doing this pref with a code example.
I run a computer repair business and have lots of customers who don''t pay the bill so I want a way to lock machines after a certain date if the bill has not been paid.
I code in c# but may be able to twist my head around a bit of c++ with the help of example code.
I dont need help with the locking app rather I need help to install the app so it becomes an integral part of the OS untill they get the unlock code, at which point I''d like to have the app uninstall itself.
I appretiate there may be some ethical implication to what I am trying to achieve but I would prefere it if any answers could be of a technical nature as I have already considered the ramifications of this project.
Thanks in advance,
Richard.
理查德
恐怕我们不会给您答案.我可以看到您为什么要考虑采用自己的方法,但是您所要求的却在道义上是可疑的-还有其他方法可以处理坏账,法律方法.
假设我们为您提供了解决方案,如何阻止Joe ScriptKiddy查看同一示例并创建rootkit?这是一个公共论坛,因此我们无法确定查看页面的人的意图.
Richard
I am afraid that we will not be giving you an answer. I can see why you are considering the approach you are, but what you are asking for is morally dubious - there are other approaches to dealing with bad debt, legal approaches.
Suppose that we give you the solution on how to do this, what''s to stop Joe ScriptKiddy from viewing the same sample and creating a rootkit? This is a public forum, so we cannot be certain of the intentions of the people who view the pages.
我同意Pete的观点,但我也认为您的做法可能有点像过度杀伤力.我不知道您的客户是谁,但是对于普通的Joe(非高级用户)来说,仅从注册表的Run键(与开始"菜单启动"相对)启动程序就足够了吗?就像我说的那样,这可能并不适用于所有人,但是您的情况可能不需要100%的万无一失.无论如何,祝您好运!
I agree with Pete, but I also think your approach may be a bit of an overkill. I don''t know who your customers are, but perhaps for the average Joe, non-advanced user, simply starting the program from the registry''s Run key (opposed to the Start menu Startup) wil be enough? As I said this may not work for everyone, but perhaps 100% foolproof is not required in your case. Anyway, best of luck to you!
您可以编写所有想要的代码,但是第一次用户有一个朋友/朋友来修复"他们的机器时,如果该修复程序"涉及重新安装Windows,您的所有努力都是徒劳的.
除此之外,您可能无法合法地阻止用户使用其计算机.您可以禁用编写的软件,但不能将它们锁定在整个计算机之外.
法律上也不允许您在他人的计算机上安装间谍软件,恶意软件或病毒.
最终,如果我发现您未经我的同意在计算机上安装了监视软件,那么某些人(像我一样)会亲自处理它,而且-好的-只是说您的人身安全会受到质疑.
You can write all the code you want, but the first time the user has a friend/relatvie come over to "fix" their machine, and if the "fix" involves reinstalling windows, all of your efforts will be for naught.
Besides that, you probably cannot legally prevent the user from using their computer. You can disable the software you wrote, but you can''t lock them out of their entire machine.
You also are not legally allowed to install spyware, malware, or viruses on another person''s machine.
Finally some folks (like me) would take it personally if I found that you had installed monitoring software on my computer without my consent, and - well - let''s just say your physical safety would come into question.