Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

运行不了 #28

Closed
cf48rty0 opened this issue Nov 15, 2024 · 3 comments
Closed

运行不了 #28

cf48rty0 opened this issue Nov 15, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@cf48rty0
Copy link

thread 'main' panicked at src/main.rs:131:41:
called Result::unwrap() on an Err value: Failed to get process name with PID 4: 31

Caused by:
连到系统上的设备没有发挥作用。 (0x8007001F)
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

@0xlane
Copy link
Owner

0xlane commented Nov 15, 2024

看报错好像是遍历系统进程的时候被中断了,再跑一次也这样吗,什么系统呀

@Vxer-Lee
Copy link

thread 'main' panicked at src/main.rs:131:41: called Result::unwrap() on an Err value: Failed to get process name with PID 4: 31

Caused by: 连到系统上的设备没有发挥作用。 (0x8007001F) note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

你这个一般是被调试器,或者frida,CE占用了,你把其他的关了就行。

@0xlane
Copy link
Owner

0xlane commented Nov 19, 2024

我大概知道了,通过管理员运行的时候会出现这个问题,原因在于解析进程列表时被保护的系统进程实际获取不到进程名,低权限运行时受保护进程被过滤了所以没问题,1.0.17版本修复

@0xlane 0xlane added the bug Something isn't working label Nov 19, 2024
@0xlane 0xlane closed this as completed in 48e4b79 Nov 19, 2024
0xlane added a commit that referenced this issue Nov 19, 2024
- Fix #28.
- Print more details during the process.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants