Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

We should decode generic WAP pushes #10

Open
andrewbird opened this issue May 23, 2011 · 6 comments
Open

We should decode generic WAP pushes #10

andrewbird opened this issue May 23, 2011 · 6 comments
Assignees

Comments

@andrewbird
Copy link
Collaborator

We should be able to decode generic WAP pushes so that we can test the content type properly. Currently we assume that all WAP pushes are MMS notifications, which obviously isn't true.

@ghost ghost assigned pmarti May 26, 2011
@pmarti
Copy link
Owner

pmarti commented May 26, 2011

Yeah, do you have any sample data to work on it?

@andrewbird
Copy link
Collaborator Author

yep, see the PDU / decoded string in 'test_wap::test_decoding_generic_wap_push' this is a WAP push, but not a MMS notification

@andrewbird
Copy link
Collaborator Author

BTW checkout the pydump procedure I added to the resources directory, you can use it to utilise wireshark for decoding.

@pmarti
Copy link
Owner

pmarti commented Jun 15, 2011

This is a fairly complex ticket :) Guess we'd need to add a wbxml decoder, what do you think? The only one available uses a libwbxml with pyrex, but I'd prefer to remain a pure python project. What do you reckon andrew?

@andrewbird
Copy link
Collaborator Author

From my personal point of view I'd be happy if we (read you, as it needs lots of python foo!) could refactor so that the MMS is a subclass of a new WAP push class. In the short term I'm not worried about proper interpretation of generic WAP pushes only enough so that I can decode the type and give a sane implementation of the is_mms_notification() I added.

@pmarti
Copy link
Owner

pmarti commented Jun 17, 2011

Ok, will create a branch for it this weekend and we can work on it.

On Wed, Jun 15, 2011 at 7:29 PM, andrewbird
[email protected]
wrote:

From my personal point of view I'd be happy if we (read you, as it needs lots of python foo!) could refactor so that the MMS is a subclass of a new WAP push class. In the short term I'm not worried about proper interpretation of generic WAP pushes only enough so that I can decode the type and give a sane implementation of the is_mms_notification() I added.

Reply to this email directly or view it on GitHub:
#10 (comment)

Pablo Martí
http://www.linkedin.com/in/pmarti
python -c "print '706d617267616d40676d61696c2e636f6d'.decode('hex')"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants