No description
Find a file
2023-07-31 15:11:20 -04:00
development aaargh 2023-07-29 13:57:20 -04:00
emulated new data.plist 2023-07-31 14:41:10 -04:00
ids fix weird typing thing 2023-07-27 20:13:54 -04:00
.gitignore relative imports 2023-07-23 15:37:43 -04:00
albert.py Use logging for logging everywhere 2023-07-24 09:18:21 -04:00
apns.py create a simple interactive prompt 2023-07-28 17:31:27 -04:00
bags.py more refactoring 2023-07-27 17:34:38 -04:00
demo.py add group chat sending and fix bugs 2023-07-31 13:57:50 -04:00
gsa.py starting the refactor 2023-05-09 15:36:33 -04:00
imessage.py fix assuming msg uuids 2023-07-31 13:59:46 -04:00
README.md Add note about Discord 2023-07-31 15:11:20 -04:00
requirements.txt add prompt toolkit req 2023-07-31 13:26:31 -04:00

pypush

pypush is a POC demo of my recent iMessage reverse-engineering. It can currently register as a new device on an Apple ID, set up encryption keys, and send and recieve iMessages!

pypush is completely platform-independent, and does not require a Mac or other Apple device to use!

Installation

It's pretty self explanatory:

  1. git clone https://github.com/JJTech0130/pypush
  2. pip3 install -r requirements.txt
  3. python3 ./demo.py

Troubleshooting

If you have any issues, please join the Discord and ask for help.

Operation

pypush will generate a config.json in the repository when you run demo.py. DO NOT SHARE THIS FILE. It contains all the encryption keys necessary to log into you Apple ID and send iMessages as you.

Once it loads, it should prompt you with >>. Type help and press enter for a list of supported commands.

Special Notes

Unicorn dependency

pypush currently uses the Unicorn CPU emulator and a custom MachO loader to load a framework from an old version of macOS, in order to call some obfuscated functions.

This is only necessary during initial registration, so theoretically you can register on one device, and then copy the config.json to another device that doesn't support the Unicorn emulator. Or you could switch out the emulator for another x86 emualtor if you really wanted to.

Public key caching

iMessage will cache public keys. If you get decryption errors in pypush or can only send and not recive messages from another device, try logging out and back into iMessage on that device, forcing it to refresh it's key cache. Alternatively, you can wait and the cache should expire eventually.