1. Put
this file in /bin
2. Install OpenSSH and BSD Subsystem with Installer.app if you haven't already done so. Restart your iPhone.
3. Open the terminal on your Mac and do
ssh root@10.0.1.189 but obviously put your iPhone's IP address ... it may take a few seconds and you might have to type "yes" before you can type the password which is "dottie" ... once you're logged in...
4.
chmod +x /bin/screenshot
5. Then get to the screen you want to take a screenshot of on your iPhone, and just type
screenshot and hit enter. It will tell you and save your screenshot in /tmp/foo_0.png
Let me know if you need help with that.