A python script to download/parse MMS messages.
Can use a phonebook database. To do so, create an sqlite database named phonebook.db
.
Schema:
CREATE TABLE phone_numbers(
phone_num char(11) primary key not null,
first_name text not null,
last_name text not null
);
I used a lot of references to create the MMS decoder. Such as the MMS spec:
And WAP-230: http://www.wapforum.org/tech/documents/WAP-230-WSP-20010705-a.pdf
Other references:
- http://support.nowsms.com/discus/messages/485/13726.html
- http://support.nowsms.com/discus/messages/485/6597538470-D8751867A0B-13774.txt
- http://www.nowsms.com/send-an-mms-to-a-java-appmidlet
- http://python-mms.sourceforge.net/api/mms.mms_pdu-pysrc.html
- https://github.com/heyman/mms-decoder/blob/master/mmsdecoder.php
- https://en.wikipedia.org/wiki/Cellular_data_communication_protocol#MMS.5Bjargon.5D
- https://www.wireshark.org/docs/dfref/m/mmse.html
Note to self:
- JPEG "hex signature" is: FF D8 FF E1
- PNG is: 89 50 4E 47 0D 0A 1A 0A