No description
Find a file
2023-07-31 16:30:06 -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 implement handle selection 2023-07-31 16:30:06 -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 implement handle selection 2023-07-31 16:30:06 -04:00
gsa.py starting the refactor 2023-05-09 15:36:33 -04:00
imessage.py implement handle selection 2023-07-31 16:30:06 -04:00
README.md Update README.md 2023-07-31 15:13:42 -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 receive 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 emulator 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 receive 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.