task_vaccine icon indicating copy to clipboard operation
task_vaccine copied to clipboard

Test about the x86_64 payload injection fails

Open smic opened this issue 8 years ago • 3 comments

It looks like the tests doesn't run through. "x86_64 target should be injected with x86_64 payload" fails.

I have Sierra 10.12.1 (16B2555) installled.

$ rake test Password: Begin spec <task_vaccine> Target: 33098 Hello from [33098] ✓ i386 target should be injected with i386 payload Target: 33099 Hello from [33099] ✓ i386 target should be injected with FAT payload Target: 33100 ✓ i386 target should NOT be injected with x86_64 payload Target: 33101 * [./tests/tests.c, L82] | expected err toBe(KERN_SUCCESS) -> 0 | got err is(16) 𝙓 x86_64 target should be injected with x86_64 payload Target: 33102 * [./tests/tests.c, L88] | expected err toBe(KERN_SUCCESS) -> 0 | got err is(16) 𝙓 x86_64 target should be injected with FAT payload Target: 33103 ✓ x86_64 target should NOT be injected with i386 payload Done spec: 10 of 12 tests passed

smic avatar Nov 02 '16 09:11 smic

Yay, thanks for reporting this, @smic! I'm not sure I'll be able to take a look into this in the near future (don't use this library myself anymore) but I'd be happy to merge a PR.

rodionovd avatar Nov 02 '16 10:11 rodionovd

@smic Hey, did you get this working with 64bit targets / make any progress? I'm seeing it weirdly fail (#16) when the target isn't launched through xcode, else it works fine. Thanks!

tiagosiebler avatar Jan 20 '17 13:01 tiagosiebler

@tiagosiebler @smic did you guys were able to inject into 64 bit apps?, i'm getting weird results here.

subzerov avatar Oct 18 '17 19:10 subzerov