mms 数据包相关 抓包

来源:互联网 发布:超级淘宝店txt下载落秋 编辑:程序博客网 时间:2024/04/27 10:06
1 抓包 

adb shell tcpdump -i any -p -vv -s 0 -w /sdcard/capture.pca 


2 在wireshark中查看收到的信息时,输入以下搜索 

MMSE/SMIL MMS m-retrieve-conf 


DU即协议数据单元,对应前面每种消息的消息格式。彩信的PDU和HTTP协议极为类似,当然相对来说要简单多了。它定义了一些常用的消息域,有的消息域是公有的,每种消息都可以使用,有的消息域是专用的,只有特定的消息才能使用。除了常用的消息域外,也可以自定义消息域,自定义消息域以X-打头,但不能以X-Mms-打头。常用的消息域如: 
l         X-Mms-Message-Type 
l         X-Mms-Transaction-ID 
l         X-Mms-MMS-Version 
l         Date 
l         From 
l         To 
l         Cc 
l         Bcc 
l         Subject 
l         X-Mms-Message-Class 
l         X-Mms-Expiry 
l         X-Mms-Delivery-Time 
l         X-Mms-Priority 
l         X-Mms-Sender- 
l         Visibility 
l         X-Mms-Delivery-Report 
l         X-Mms-Read-Reply 
l         Content-Type 

PDU的类型有: 
l         发送请求。m-send-req 
l         发送确认。m-send-conf 
l         彩信通知。m-notification-ind 
l         通知回应。m-notifyresp-ind 
l         获取彩信回应。m-retrieve-conf 
l         接收确认。m-acknowledge-ind 
l         彩信回执。m-delivery-ind 
0 0