chettoy/apexsky

Add pcileech connector

Closed this issue · 2 comments

I hope to add Add pcileech connector and modify the imgui window to select black window or additional mode.
I'm not familiar with Rust, If the C++ code needs to be modified, maybe I can help.

Thank you for your message and your interest in enhancing our project.

We've previously attempted to integrate the pcileech connector, and have even experimented with porting the libmemflow_pcileech.so to the Android platform, allowing for the use of a smartphone as a secondary device to connect to DMA devices for memory read/write operations on a computer's memory. However, due to the considerably slower read/write speeds using DMA compared to accessing memory on the local virtual machine, simply replacing the memflow connector hasn't proven sufficient without specific optimizations in place.

In the next branch, we've introduced support for both memflow and MemProcFS memory read/write libraries, and have made some optimizations to memory operations. Nevertheless, full DMA support has not yet been achieved.

Your offer to assist, even without familiarity with Rust, is appreciated. If there are specific areas where you believe your expertise could be valuable, please let us know. We're always open to collaboration and welcome contributions from the community.

Thank you for your message and your interest in enhancing our project.感谢您的留言和您对加强我们项目的兴趣。

We've previously attempted to integrate the pcileech connector, and have even experimented with porting the libmemflow_pcileech.so to the Android platform, allowing for the use of a smartphone as a secondary device to connect to DMA devices for memory read/write operations on a computer's memory. However, due to the considerably slower read/write speeds using DMA compared to accessing memory on the local virtual machine, simply replacing the memflow connector hasn't proven sufficient without specific optimizations in place.我们之前曾尝试集成 pcileech 连接器,甚至尝试将 libmemflow_pcileech.so 移植到 Android 平台,允许使用智能手机作为辅助设备连接到 DMA 设备,以便在计算机内存上进行内存读/写操作。但是,由于与访问本地虚拟机上的内存相比,使用 DMA 的读/写速度要慢得多,因此,如果不进行特定的优化,仅更换 memflow 连接器是不够的。

In the next branch, we've introduced support for both memflow and MemProcFS memory read/write libraries, and have made some optimizations to memory operations. Nevertheless, full DMA support has not yet been achieved.在下一个分支中,我们引入了对 memflow 和 MemProcFS 内存读/写库的支持,并对内存操作进行了一些优化。然而,尚未实现对DMA的全面支持。

Your offer to assist, even without familiarity with Rust, is appreciated. If there are specific areas where you believe your expertise could be valuable, please let us know. We're always open to collaboration and welcome contributions from the community.即使不熟悉 Rust,我们也欢迎您提供帮助。如果您认为您的专业知识在某些特定领域可能很有价值,请告诉我们。我们始终对合作持开放态度,并欢迎社区的贡献。

Using the pcileech connector indeed requires significant optimization, as the average read/write speed is only around 150M+ per second. Using Android as a secondary device might pose performance limitations, as DMA devices not only require high-speed USB or Type-C interfaces but also demand better CPU processors. I can test the existing project with the pcileech connector added; my DMA speed is over 10,000+, and optimizing DMA to reduce latency requires implementing caching and utilizing specific connection parameters.