Set up iOS SSH over USB with MacPorts

文档在:http://iphonedevwiki.net/index.php/SSH_Over_USB

提供了homebrew的安装方式。这里给一下MacPorts下的安装方式。

安装过程可能会进入opam的初始化状态,如果没有的化,可以手工执行

慢的时候不要急着回车,中间会有需要输入y确认的选项

gandalf的新版mapping配置用的是json,跟wiki描述的已经不一致了。

手机连上电脑,直接执行gandalf

编辑 mapping.json,内容如下

其中:udid与上边直接执行命令时拿到的结果须一致;name自定义;forwarding里的local_port是本地开的端口,device_port是远程的端口。
按这份配置,我可以直接使用 ssh -p 10022 root@127.0.0.1 连接到iPhone的22端口。

执行下列命令,启动gandalf。

Set up iOS SSH over USB with MacPorts by @sskaje: https://sskaje.me/2017/07/set-up-ios-ssh-over-usb-with-macports/

error: failed to launch process debugserver: Security

I jailbroken my iPhone 4s with iOS 8.2 and tried to ran debugserver, then I met this error:

Google doesn’t help.

Just because, the App I’m trying to crack is an In-House app, not from AppStore, I have to ran it after installation and choose to trust the developer.

error: failed to launch process debugserver: Security by @sskaje: https://sskaje.me/2016/01/failed-launch-process-debugserver-security/

OSX Server 4.0 Redeem Code

Free for developers.

Click here

More:
Apple Developer Redeem Codes
Free OS X Yosemite(10.10) Developer Preview Redeem Code for Developers
Apple gives free OS X Server 3.0 redeem codes to developers

OSX Server 4.0 Redeem Code by @sskaje: https://sskaje.me/2014/10/osx-server-4-0-redeem-code/

Incoming search terms:

OpenConnect DNS Only + Google Only

I’m using 4G by China Mobile, but the DNS it provides really sucks. Changing DNS from Cellular Data on a not-jailbroken iPhone is impossible so far as I know (I tried mobileconfig but can find any working options).

The first idea is pushing DNS from a PPTP server, which I wrote: Notes: PPTP/L2TP Server on Ubuntu.
I can create two connections on my iOS, one set default route, one not. All users share a same setting from PPTPd, it’s almost impossible if I want to use a different DNS in these two connections, changing default pptp port from 1723 to others is not as easy as it is on windows.
Don’t forget that PPTP is what GF*W likes.
Continue reading “OpenConnect DNS Only + Google Only” »

OpenConnect DNS Only + Google Only by @sskaje: https://sskaje.me/2014/06/openconnect-dns-google/

Incoming search terms:

Free OS X Yosemite(10.10) Developer Preview Redeem Code for Developers

Last time I said: Apple gives free OS X Server 3.0 redeem codes to developers
After the WWDC2014, Apple gives free redemption code for developers, both iOS and OS X, this time os x 10.10 and server again.

You must login before using these links!
For OS X server:
https://developer.apple.com/devcenter/mac/loadredemptioncode.action?seedId=13CB96H8S4
For OS X Yosemite(10.10) developer preview:
https://developer.apple.com/devcenter/mac/loadredemptioncode.action?seedId=14NEDN932X

I tried these two, got 3 for OS X 10.10 and 2 for OS X Server.
If you have a Developer account, you can add sub-accounts to get almost UNLIMITED codes.

If you have any codes, please share.

Free OS X Yosemite(10.10) Developer Preview Redeem Code for Developers by @sskaje: https://sskaje.me/2014/06/free-os-yosemite-10-10-developer-preview-redeem-code-developers/

Incoming search terms: