mirror of
https://github.com/xiaozhou233/ptrace-inject-cpp.git
synced 2026-12-05 13:05:54 +08:00
Add acknowledgements for the original ptrace-inject project
Credit Artemis21/ptrace-inject (https://github.com/Artemis21/ptrace-inject) as the original Rust project this C++ port is based on, in both READMEs and the public header.
This commit is contained in:
1 parent
b78aa07f78
commit
50135e5f87
3 files changed
+19
No files matched your search
@@ -317,3 +317,8 @@ cat /tmp/ptrace_inject_sample.txt
|
||||
- **不 `dlclose`**:加载后的库会一直留在目标进程里,符合「注入」的预期。
|
||||
- **路径可见性**:`canonicalize` 发生在注入器进程,目标进程必须能访问同一路径
|
||||
(同一 mount namespace)。
|
||||
|
||||
## 致谢
|
||||
|
||||
本项目是 [Artemis21/ptrace-inject](https://github.com/Artemis21/ptrace-inject)
|
||||
的 C++ 移植版。整体思路、基于 shellcode 的注入方式以及很多设计细节都来自原项目。
|
||||
@@ -353,3 +353,10 @@ the target process.
|
||||
the expected behaviour for injection.
|
||||
- **Path visibility**: `canonicalize` runs in the injector process, so the
|
||||
target must be able to access the same path (same mount namespace).
|
||||
|
||||
## Acknowledgements
|
||||
|
||||
This project is a C++ port of
|
||||
[Artemis21/ptrace-inject](https://github.com/Artemis21/ptrace-inject).
|
||||
The original idea, the shellcode-based injection approach, and much of the
|
||||
design come from that project.
|
||||
@@ -1,3 +1,10 @@
|
||||
/*
|
||||
* ptrace_inject - C ABI for injecting shared libraries with ptrace.
|
||||
*
|
||||
* C++ port of the original Rust project:
|
||||
* https://github.com/Artemis21/ptrace-inject
|
||||
*/
|
||||
|
||||
#ifndef PTRACE_INJECT_H
|
||||
#define PTRACE_INJECT_H
|
||||
|
||||
|
||||
Reference in new issue
Block a user