League2eb

因為智商不算是足夠,所以必須寫一篇來記錄一下常用指令還有一些路徑直到記起來為止
反正有打一次記不起來指令,那就打兩次。


指令相關

從越獄手機傳送檔案到Mac

1
scp -P2222 root@localhost:目標路徑 ./

從Mac傳送檔案到越獄手機

1
scp -P 2222 (mac文件路徑) root@localhost:(移動設備路徑)

建立新的Tweak

1
$THEOS/bin/nic.pl

安裝Tweak到手機

1
make clean && make package && make install

打包正式版本

1
make clean && make package FINALPACKAGE=1

查看該二進制文件是否已經砸殼

1
otool -l xxx | grep crypt

在越獄手機ReSpringBoard

1
killall -9 SpringBoard

使用sshpass指定密碼

1
sshpass -p alpine

進入安全模式

1
killall -SEGV SpringBoard

tvOS ReSpringBoard

1
killall -9 PineBoard

Sublime相關

開啟左側樹狀

1
2
cmd + k
cmd + b

搜尋所有檔案中有包含的內容

1
cmd+shift+F

直接跳到某個檔案

1
cmd+p

路徑相關

UIKit(iOS 10)

1
/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 10.3.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks

UIKitCore(iOS 12)

1
/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.0.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks

獲取安裝的deb (安裝完畢第一時間有效,但如果點擊Respring該deb就會被刪除)

1
/private/var/mobile/Library/Caches/com.saurik.Cydia/archives/

CydiaSubstrate.h檔案位置 (你要有安裝Thoes才有…)

1
/opt/theos/vendor/lib/CydiaSubstrate.framework/Headers/

dylib在越獄設備底下的Path

1
/Library/MobileSubstrate/DynmicLibraries

文獻相關網站

Preferences Specifier


 評論