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

Accessing binary data #5

Open
ohm314 opened this issue Mar 25, 2013 · 0 comments
Open

Accessing binary data #5

ohm314 opened this issue Mar 25, 2013 · 0 comments

Comments

@ohm314
Copy link
Collaborator

ohm314 commented Mar 25, 2013

Hello!

First off, thanks for the great work! sharktools is proving very useful to me!
I'm using pyshark to filter/dissect some telecom protocols. I've come across a problem that in one case a field is not directly exposed by libwireshark (a tag that signifies in what state a TCAP dialogue is). In wireshark itself I can inspect the binary data and see that the first byte of the tcap segment contains this value, however I couldn't find a obvious way to do this using pyshark. For now I hacked sharktools_core.c to return a string representation of the hexdump instead of the field_name for this case. Can this be done maybe cleaner, through a bit of API? I have just started working both with wireshark and python .so modules but I gladly help with some direction :)
Thanks in advance.

cheers

omar

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

1 participant