項目現在在github上,這裏是鏈接到我的issue任何人都得到mach_inject雪豹工作?
我成功地編譯了整個事情,並且能夠單獨運行拒絕服務器和拒絕服務器。 但是,在向目標進程注入代碼時,注入器會使注入器崩潰。
mach_inject_test_injectee.app 's standard output:
mach error on bundle load (os/kern) successful
mach error on bundle load (os/kern) successful
mach error on bundle load (os/kern) successful
mach error on bundle load (os/kern) successful
mach error on bundle load (os/kern) successful
FS rep /Users/Malic/Documents/Code/c/mach_star/mach_inject_test/build/Development/mach_inject_test_injector.app/Contents/Resources/mach_inject_test_injected.bundle/Contents/MacOS/mach_inject_test_injected
LOADDDDDDDDDD!
Assertion failed: (0), function +[injected_PrincipalClass load], file /Users/Malic/Documents/Code/c/mach_star/mach_inject_test/injected-PrincipalClass.m, line 25.
Abort trap
mach_inject_test_injector的標準輸出
injecting into pid 3680
injecting pid
mach_inject failing.. (os/kern) successful
mach inject done? 0
hi
它從輸出注射器不會從injectee通知,任何想法似乎?謝謝。
我有同樣的問題。我試過sudo chgrp procmod/path/to/executable sudo chmod 2755/path/to/executable,但它不適用於我。 – MacGeek 2011-10-28 18:47:15
我得到這個錯誤和噴油器崩潰 '你可能需要添加用戶procmod組,mach_inject失敗。(IPC /發送)無效的目標port' 如果我跑注射器作爲root用戶,injectee崩潰。 – MacGeek 2011-10-28 19:19:17