VMware Fusion: Cannot connect to a valid peer process

I ran VMware Fusion 10 on macOS, and got this error when starting a VM.
Cannot connect to a valid peer process
找不到可以连接的有效对等进程

I googled, most guys says to trust developer from Preferences.app, but I’ve already trusted.

I checked process list, only:

I tried this on another working mac:

Those processes are started by /Applications/VMware\ Fusion.app/Contents/Library/services/services.sh.

In this file, find

Uncomment those two lines, and re-run, check “/tmp/debug”:

Verbose output

Compare signatures

I Googled again and found https://communities.vmware.com/thread/584909 saying unload some kernel extensions might work.

I remember VMware Fusion turned not working days after I installed VirtualBox and rebooted, so I remove VirtualBox.app and unload all useless extensions:

No error now.

VMware Fusion: Cannot connect to a valid peer process by @sskaje: https://sskaje.me/2018/05/vmware-fusion-connect-valid-peer-process/

Convert PDF to Image

using GraphicsMagick

Convert full page to %d.png

Convert first page

Convert PDF to Image by @sskaje: https://sskaje.me/2018/05/convert-pdf-image/

lldb 断点自动执行命令

调试某软件,需要取到断点时候的内存数据。

之前是每次到断点,一个地址一个地址地 p 或者 memory read,后来看到 breakpoint command 命令,于是有了:

添加断点

添加命令

输入命令

这样,每次运行到断点的时候,就会执行这两条命令。

lldb 断点自动执行命令 by @sskaje: https://sskaje.me/2018/03/lldb-%e6%96%ad%e7%82%b9%e8%87%aa%e5%8a%a8%e6%89%a7%e8%a1%8c%e5%91%bd%e4%bb%a4/

MH: A CLI based Memory Editor for iOS/macOS

I write this project just because I don’t like those game memory editor like igg.

Code: https://github.com/sskaje/mh

CMake is required for building. Build scripts already included in build/.

Leave an issue if there’s any bugs/feature requests.

MH: A CLI based Memory Editor for iOS/macOS by @sskaje: https://sskaje.me/2018/03/mh-cli-based-memory-editor-ios-macos/

Run HelloWorld on Jailbroken iOS 11

iPhone 5s, iOS 11.1

Jailbroken by Electra

How to jailbreak

Cydia Impactor and a new Apple ID required (You can use your own Apple ID at your risk).

If any error occurs on Cydia Impactor, try to login in Xcode and remove useless app/cert.

Trust your developer certificate in iOS Settings => General => Profiles & Device Management => DEVELOPER APP.

Write HelloWorld

helloworld.c

build

sign with jtool

ent.xml

upload and run helloworld

If this binary is not signed with platform-application entitlement, it will get a ‘Killed’ if it’s under /bin/

More

I wrote a cli based memory editor, which requires more than a hello world.

1 entitlements

2 patch_setuid() from coolstar’s example. But I’m using code from electra’s cydia fork, also mentioned after his example.

3 Special thanks to ThisTakenIsUsername.

Run HelloWorld on Jailbroken iOS 11 by @sskaje: https://sskaje.me/2018/03/run-helloworld-on-jailbroken-ios-11/