简体   繁体   English

以编程方式创建伪造的闪存驱动器

[英]Create fake flash drive programmatically

I want to create a fake flash drive programmatically under Mac OSX and Windows. 我想在Mac OSX和Windows下以编程方式创建伪造的闪存驱动器。 It should behave like a normal drive, that means it should appear in explorer/finder, should be unmountable,.. If someone puts some data in it, it should be handled in a backend software. 它的行为应类似于普通驱动器,这意味着它应该出现在资源管理器/查找器中,应该是可卸载的。。如果有人在其中放入一些数据,则应在后端软件中进行处理。

Is that possible? 那可能吗?

I'm not aware of any existing cross-platform frameworks. 我不知道任何现有的跨平台框架。 For Windows, the documentation for writing device drivers is here: http://msdn.microsoft.com/en-us/library/ff557573 . 对于Windows,此处是用于编写设备驱动程序的文档: http : //msdn.microsoft.com/zh-cn/library/ff557573 See also http://msdn.microsoft.com/en-us/windows/hardware/gg463062 but note that this is hard-core stuff. 另请参见http://msdn.microsoft.com/zh-cn/windows/hardware/gg463062,但请注意,这是核心内容。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM