From AwkwardTV
Jump to: navigation, search

cycript for jailbreakd based jailbreaks tvOS 10.2.2 - > 11.1
Current Version: 0.9.7000

Cycript allows developers to explore and modify running applications on either iOS or Mac OS X using a hybrid of Objective-C++ and JavaScript syntax through an interactive console that features syntax highlighting and tab completion. (It also runs standalone on Android and Linux and provides access to Java, but without injection.)

Special Notes for jailbreakd jailbreaks

Cycript can currently not be used the same way as you have always been used to, due to limitations of the new style of jailbreaks (no kpp bypass) some additional steps are necessary to get cycript working.

Step 1: Install cycript from featured section on nitoTV

Step 2: ssh in to your appletv (if you need more instructions here, you probably arent ready for cycript)

Step 3: Find the PID of your process ie:

ps awwwx | grep [P]ineBoard


368   ??  Ss     0:06.93 /Applications/

Step 4: Inject CycriptLoader.dylib into the process using inject_criticald from electra

/electra/inject_criticald 368 /usr/lib/CycriptLoader.dylib 

(note sub in your PID from step 3 where you see 368)

Step 5: Start cycript

cycript -r

Step 6: Profit!

Keep in mind since our listener library is hardcoded to port 1337 you can only inject one process at a time, and will need to tear that process down to reclaim the ability to use port 1337.