whatsapp相关(三)-消息发送

2024-01-26 10:28
文章标签 相关 消息 发送 whatsapp

本文主要是介绍whatsapp相关(三)-消息发送,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

Frida 监测whatsapp 消息发送

本文主要通过frida 来监测 whatsapp 的消息发送过程.

1: 编写脚本

首先我们先通过SQLiteDatabase的insert方法.来打印相关的操作.

Java.perform(function() {console.log("insert 0: 可以发消息了")var database = Java.use('android.database.sqlite.SQLiteDatabase');database.insert.overload("java.lang.String","java.lang.String","android.content.ContentValues").implementation = function (x,y,z) {console.log("insert 1:",x)console.log("insert 2:",z.toString())return this.insert(x,y,z);}
});

2: 测试

执行脚本:

frida -U -f com.whatsapp -l /home/zh/workSpace/test/Xpose/app/src/main/java/com/zh/xpose/js/database.js

执行结果如下:

     ____/ _  |   Frida 16.0.2 - A world-class dynamic instrumentation toolkit| (_| |> _  |   Commands:/_/ |_|       help      -> Displays the help system. . . .       object?   -> Display information about 'object'. . . .       exit/quit -> Exit. . . .. . . .   More info at https://frida.re/docs/home/. . . .. . . .   Connected to LEX820 (id=6b4a96b2)
Spawned `com.whatsapp`. Resuming main thread!                           
[LEX820::com.whatsapp ]-> insert 0: 可以发消息了

文本消息:

我们测试下文本消息:

控制台输出如下:

insert 1: message_details
insert 2: message_row_id=60 author_device_jid=9
insert 1: queue
insert 2: item=rO0ABXNyACtjb20ud2hhdHNhcHAuam9icXVldWUuam9iLlNlbmRFMkVNZXNzYWdlSm9iAAAAAAAAAAEDABtaAAlkdXBsaWNhdGVJAAtlZGl0VmVyc2lvbkoADGV4cGlyZVRpbWVNc1oAGmZvcmNlU2VuZGVyS2V5RGlzdHJpYnV0aW9uWgAaaW5jbHVkZVNlbmRlcktleXNJbk1lc3NhZ2VKABRtZXNzYWdlU2VuZFN0YXJ0VGltZUIAC21lc3NhZ2VUeXBlWgARbXVsdGlEZXZpY2VGYW5PdXRKABFvcmlnaW5hbFRpbWVzdGFtcEkAEG9yaWdpbmF0aW9uR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QB4 encrypted=false

图片消息:

发送whatsapp 自带的表情图:

insert 1: message_mediainsert 2: transferred=0 media_job_uuid=c82843d2-dad8-46e0-a6e7-1b81d29a31e8 transcoded=0 gif_attribution=0 first_scan_length=0 direct_path=null thumbnail_height_width_ratio=0.0 is_animated_sticker=0 file_hash=RZEEl5HVWT4S6C0PoOgjYCQVDWs5esIMJsjcDYI80ZE= file_path=/data/user/0/com.whatsapp/files/Stickers/RZEEl5HVWT4S6C0PoOgjYCQVDWs5esIMJsjcDYI80ZE=.webp file_size=9672 partial_media_hash=null face_x=0 face_y=0 height=512 trim_to=0 media_key_timestamp=0 message_url=null media_caption=null trim_from=0 mime_type=image/webp partial_media_enc_hash=null width=512 original_file_hash=null has_streaming_sidecar=0 autotransfer_retry_enabled=1 media_upload_handle=null message_row_id=61 multicast_id=null enc_file_hash=null sticker_flags=0 mute_video=0 page_count=0 first_scan_sidecar=null suspicious_content=0 file_length=9672 media_name=RZEEl5HVWT4S6C0PoOgjYCQVDWs5esIMJsjcDYI80ZE=.webp media_duration=0 chat_row_id=1 media_key=nullinsert 1: message_details
insert 2: message_row_id=61 author_device_jid=9insert 1: media_job
insert 2: last_reupload_attempt_timestamp=0 overall_cumulative_user_visible_time=0 job_type=0 streaming_playback_count=0 create_time=1706173324588 reupload_attempt_count=0 transfer_start_time=1706173324588 uuid=c82843d2-dad8-46e0-a6e7-1b81d29a31e8 media_key_reuse_type=0 transferred_bytes=0 overall_cumulative_time=0 last_reupload_success_timestamp=0 last_update_time=1706173324611 user_initiated_attempt_count=0insert 1: message_media
insert 2: transferred=0 media_job_uuid=c82843d2-dad8-46e0-a6e7-1b81d29a31e8 transcoded=1 gif_attribution=0 first_scan_length=0 direct_path=null thumbnail_height_width_ratio=1.0 is_animated_sticker=0 file_hash=RZEEl5HVWT4S6C0PoOgjYCQVDWs5esIMJsjcDYI80ZE= file_path=/data/user/0/com.whatsapp/files/Stickers/RZEEl5HVWT4S6C0PoOgjYCQVDWs5esIMJsjcDYI80ZE=.webp file_size=9672 partial_media_hash=null face_x=0 face_y=0 height=512 trim_to=0 media_key_timestamp=0 message_url=null media_caption=null trim_from=0 mime_type=image/webp partial_media_enc_hash=null width=512 original_file_hash=null has_streaming_sidecar=0 autotransfer_retry_enabled=1 media_upload_handle=null message_row_id=61 multicast_id=null enc_file_hash=null sticker_flags=0 mute_video=0 page_count=0 first_scan_sidecar=null suspicious_content=0 file_length=9672 
media_name=RZEEl5HVWT4S6C0PoOgjYCQVDWs5esIMJsjcDYI80ZE=.webp media_duration=0 chat_row_id=1 media_key=nullinsert 1: media_refs
insert 2: ref_count=1 path=/storage/emulated/0/WhatsApp/Media/WhatsApp Stickers/STK-20240125-WA0007.webpinsert 1: message_media
insert 2: transferred=1 media_job_uuid=c82843d2-dad8-46e0-a6e7-1b81d29a31e8 transcoded=1 gif_attribution=0 first_scan_length=0 direct_path=/v/t62.15575-24/31800903_905232404514663_4062023316108715199_n.enc?ccb=11-4&oh=01_AdTCFb8NpxtKlIunbYqF-flB4I9LJ9iuIokS6hYzbbm3PQ&oe=65D9AA21&_nc_sid=5e03e0 thumbnail_height_width_ratio=1.0 is_animated_sticker=0 file_hash=RZEEl5HVWT4S6C0PoOgjYCQVDWs5esIMJsjcDYI80ZE= file_path=Media/WhatsApp Stickers/STK-20240125-WA0007.webp file_size=9672 partial_media_hash=null face_x=0 face_y=0 height=512 trim_to=0 media_key_timestamp=1706172771003 message_url=https://mmg.whatsapp.net/v/t62.15575-24/31800903_905232404514663_4062023316108715199_n.enc?ccb=11-4&oh=01_AdTCFb8NpxtKlIunbYqF-flB4I9LJ9iuIokS6hYzbbm3PQ&oe=65D9AA21&_nc_sid=5e03e0&mms3=true media_caption=null trim_from=0 mime_type=image/webp partial_media_enc_hash=null width=512 original_file_hash=null has_streaming_sidecar=0 autotransfer_retry_enabled=0 media_upload_handle=null message_row_id=61 multicast_id=null enc_file_hash=hoLSRjnjtU2IN3Co9pUPEMRs+j9EqOdR6rJF2svrq2w= sticker_flags=0 mute_video=0 page_count=0 first_scan_sidecar=null suspicious_content=0 file_length=9672 media_name=RZEEl5HVWT4S6C0PoOgjYCQVDWs5esIMJsjcDYI80ZE=.webp media_duration=0 chat_row_id=1 media_key=[B@4f46315insert 1: queue
insert 2: item=rO0ABXNyACtjb20ud2hhdHNhcHAuam9icXVldWUuam9iLlNlbmRFMkVNZXNzYWdlSm9iAAAAAAAAAAEDABtaAAlkdXBsaWNhdGVJAAtlZGl0VmVyc2lvbkoADGV4cGlyZVRpbWVNc1oAGmZvcmNlU2VuZGVyS2V5RGlzdHJpYnV0aW9uWgAaaW5jbHVkZVNlbmRlcktleXNJbk1lc3NhZ2VKABRtZXNzYWdlU2VuZFN0YXJ0VGltZUIAC21lc3NhZ2VUeXBlWgARbXVsdGlEZXZpY2VGYW5PdXRKABFvcmlnaW5hbFRpbWVzdGFtcEkAEG9yaWdpbmF0aW9uRmxhZ3NJAApyZXRyeUNvdW50WgATdXNlTGlkRm9yRW5jcnlwdGlvbloAInVzZU9uZU9uZUVuY3J5cHRpb25PblBIYXNoTWlzbWF0Y2haABZ1c2VQYXJ0aWNpcGFudFVzZXJIYXNoTAAPYm90SW52b2tlUmF3SmlkdAASTGphdmEvbGFuZy9TdHJpbmc7TAARYnJvYWRjYXN0TGlzdE5hbWVxAH4AAUwAJWJyb2FkY2FzdFBhcnRpY2lwYW50RXBoZW1lcmFsU2V0dGluZ3N0ABNMamF2YS91dGlsL0hhc2hNYXA7TAAVZW5jcnlwdGlvblJldHJ5Q291bnRzcQB+AAJbABVlcGhlbWVyYWxTaGFyZWRTZWNyZXR0AAJbQkwAFGdyb3VwUGFydGljaXBhbnRIYXNocQB+AAFMABhncm91cFBhcnRpY2lwYW50VXNlckhhc2hxAH4AAUwAAmlkcQB+AAFMAANqaWRxAH4AAUwAFGxpdmVMb2NhdGlvbkR1cmF0aW9udAATTGphdmEvbGFuZy9JbnRlZ2VyO0wAC3BhcnRpY2lwYW50cQB+AAFMAA9yZWNpcGllbnRSYXdKaWR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ydGljaXBhbnRfbGlzdPIBCHdoYXRzYXBw+AGQB5ABn7rr/tMxmAEAoAEAqAEAeA== encrypted=false

gif图片

whatsapp 自带的gif图片发送:

insert 1: media_job
insert 2: last_reupload_attempt_timestamp=0 overall_cumulative_user_visible_time=0 job_type=0 streaming_playback_count=0 create_time=1706173554696 reupload_attempt_count=0 transfer_start_time=1706173554696 uuid=125405c2-0853-4b28-88c6-f63dd97bb085 media_key_reuse_type=0 transferred_bytes=0 overall_cumulative_time=0 last_reupload_success_timestamp=0 last_update_time=1706173554697 user_initiated_attempt_count=0
insert 1: message_media
insert 2: transferred=0 media_job_uuid=null transcoded=0 gif_attribution=0 first_scan_length=0 direct_path=null thumbnail_height_width_ratio=1.0 is_animated_sticker=0 file_hash=null file_path=/data/user/0/com.whatsapp/files/.Shared/6a0781e6ab964ffe858f559ef023a414.gif file_size=335317 partial_media_hash=null face_x=0 face_y=0 height=0 trim_to=0 media_key_timestamp=0 message_url=null media_caption=null trim_from=0 mime_type=null partial_media_enc_hash=null width=0 original_file_hash=null has_streaming_sidecar=0 autotransfer_retry_enabled=1 media_upload_handle=null message_row_id=62 multicast_id=null enc_file_hash=null sticker_flags=null mute_video=0 page_count=0 first_scan_sidecar=null suspicious_content=0 file_length=335317 media_name=6a0781e6ab964ffe858f559ef023a414.gif media_duration=0 chat_row_id=1 media_key=null
insert 1: message_details
insert 2: message_row_id=62 author_device_jid=9
insert 1: frequents
insert 2: message_count=1 jid=xxx type=13
insert 1: message_media
insert 2: transferred=0 media_job_uuid=125405c2-0853-4b28-88c6-f63dd97bb085 transcoded=1 gif_attribution=0 first_scan_length=0 direct_path=null thumbnail_height_width_ratio=1.0 is_animated_sticker=0 file_hash=null file_path=/data/user/0/com.whatsapp/files/.Shared/16f20900-98d6-4a20-978f-0b32ac9b94c4.mp4 file_size=23984 partial_media_hash=null face_x=0 face_y=0 height=0 trim_to=0 media_key_timestamp=0 message_url=null media_caption=null trim_from=0 mime_type=null partial_media_enc_hash=null width=0 original_file_hash=null has_streaming_sidecar=0 autotransfer_retry_enabled=1 media_upload_handle=null message_row_id=62 multicast_id=null enc_file_hash=null sticker_flags=null mute_video=0 page_count=0 first_scan_sidecar=null suspicious_content=0 file_length=23984 media_name=16f20900-98d6-4a20-978f-0b32ac9b94c4.mp4 media_duration=1 chat_row_id=1 media_key=null
insert 1: message_media
insert 2: transferred=1 media_job_uuid=125405c2-0853-4b28-88c6-f63dd97bb085 transcoded=1 gif_attribution=0 first_scan_length=0 direct_path=/o1/v/t62.9505-24/f1/m233/up-oil-gif-da0a7488-f866-45eb-b835-d9de5d798f79?ccb=9-4&oh=01_AdQUrlVDrd_-ltxafh58XyVnp8w5sfHvKtwdYBtBP6oBEg&oe=65D97E3D&_nc_sid=000000 thumbnail_height_width_ratio=1.0 is_animated_sticker=0 file_hash=E8izJrv1dJo06oA5bU9zwrHX4ymiINDeDl6ejgr2iYk= file_path=Media/WhatsApp Animated Gifs/Sent/VID-20240125-WA0008.mp4 file_size=23984 partial_media_hash=null face_x=0 face_y=0 height=288 trim_to=0 media_key_timestamp=1706173558111 message_url=https://mmg.whatsapp.net/o1/v/t62.9505-24/f1/m233/up-oil-gif-da0a7488-f866-45eb-b835-d9de5d798f79?ccb=9-4&oh=01_AdQUrlVDrd_-ltxafh58XyVnp8w5sfHvKtwdYBtBP6oBEg&oe=65D97E3D&_nc_sid=000000&mms3=true media_caption=null trim_from=0 mime_type=video/mp4 partial_media_enc_hash=null width=288 original_file_hash=null has_streaming_sidecar=0 autotransfer_retry_enabled=0 media_upload_handle=null message_row_id=62 multicast_id=null enc_file_hash=yytOh86uGRppr0tMoD5I7DhVEAYOEffLxpMcCFo1Lvc= sticker_flags=null mute_video=0 page_count=0 first_scan_sidecar=null suspicious_content=0 file_length=23984 media_name=16f20900-98d6-4a20-978f-0b32ac9b94c4.mp4 media_duration=1 chat_row_id=1 media_key=[B@a56bf29
insert 1: queue
insert 2: item=rO0ABXNyACtjb20ud2hhdHNhcHAuam9icXVldWUuam9i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B9D8qxmfCsVxLLz2H2LC27m4G63FJA09ZMn02MH5GjmM3i3rYFCXrdKH06VLQoFUCZ0lMHfgE7x8KlvvB5647lMAsoDhdt1qJSSoABGxPX3evQqKvDM4adFbE5Kxm5zEvBUsab7dataoSQP+Unkb7e/30TZ7Lcz92t1Fsw4ELU3AeEkpJBInpIiu4G4uW88WjC22lhyxcK3UggwFJjY8b7cn9qmMJu1Np13A71sNwuIAUpR1JUkGCY08+ciDRSC0l7e5Vm7srqzunra8bWzcNKKVoUIINKj+fw+3nLFkPOJecS8Zc0BOrYdKVADVOhW2c8ew/Dre0tb9aLdpwLQgpCogyBuOJ3it/7P8Ru8Us7td8+t0vL1rk8mZH1M0qVB6NOTSww9iF3cYdbvt2bym23R4k7EcRtPHwrUcMu37e771h1TbiBspJ35IpUqn0PH8dhJ/NeNtKKU3yyAkndCT+1QbXMOLN3Lzyb50OO7rOxmNhSpUs5PGTPCwTF5qxpaCk36wD5JSD8wK82GM4k0lptu9fS2jhIVtSpUrk+WxXjCNntcRvL0Ni5uFrA3AB07+e0VAzhi1/hbbVzY3TrbyyAok6gR5QZ8z86VKrRbbJzbUqRz1eaMa+9/bziDpuUILSVGCAkmSAIihS8144Gbiy+8n/Z3XStY2kmfOJ/sPKlSpxlJ/sGqWpxalOKKlkyVHck8yaVKlRHP/9mKASjqARZncm91cF9wYXJ0aWNpcGFudF9saXN08gEId2hhdHNhcHD4AfYImAEAeA== encrypted=false

file_path=Media/WhatsApp Animated Gifs/Sent/VID-20240125-WA0008.mp4

视频语音消息有兴趣的都可以去打印尝试看看.

从打印的数据来看, whatsapp 发送的多媒体的消息存放在了公共目录:

/storage/emulated/0/WhatsApp/Media

我们看下这个目录的结构:

total 40
drwxrwx--x 2 root sdcard_rw 4096 2023-11-25 09:25 WallPaper
drwxrwx--x 4 root sdcard_rw 4096 2023-11-25 09:25 WhatsApp\ Animated\ Gifs
drwxrwx--x 4 root sdcard_rw 4096 2023-11-25 09:25 WhatsApp\ Audio
drwxrwx--x 4 root sdcard_rw 4096 2023-11-25 09:25 WhatsApp\ Documents
drwxrwx--x 4 root sdcard_rw 4096 2023-11-25 10:06 WhatsApp\ Images
drwxrwx--x 2 root sdcard_rw 4096 2023-11-25 09:25 WhatsApp\ Profile\ Photos
drwxrwx--x 2 root sdcard_rw 4096 2023-11-25 16:52 WhatsApp\ Stickers
drwxrwx--x 4 root sdcard_rw 4096 2023-11-25 09:25 WhatsApp\ Video
drwxrwx--x 2 root sdcard_rw 4096 2023-11-25 09:25 WhatsApp\ Video\ Notes
drwxrwx--x 3 root sdcard_rw 4096 2023-11-25 09:25 WhatsApp\ Voice\ Notes

这篇关于whatsapp相关(三)-消息发送的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/646507

相关文章

Linux使用fdisk进行磁盘的相关操作

《Linux使用fdisk进行磁盘的相关操作》fdisk命令是Linux中用于管理磁盘分区的强大文本实用程序,这篇文章主要为大家详细介绍了如何使用fdisk进行磁盘的相关操作,需要的可以了解下... 目录简介基本语法示例用法列出所有分区查看指定磁盘的区分管理指定的磁盘进入交互式模式创建一个新的分区删除一个存

关于Maven生命周期相关命令演示

《关于Maven生命周期相关命令演示》Maven的生命周期分为Clean、Default和Site三个主要阶段,每个阶段包含多个关键步骤,如清理、编译、测试、打包等,通过执行相应的Maven命令,可以... 目录1. Maven 生命周期概述1.1 Clean Lifecycle1.2 Default Li

numpy求解线性代数相关问题

《numpy求解线性代数相关问题》本文主要介绍了numpy求解线性代数相关问题,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友们下面随着小编来一起学习学习吧... 在numpy中有numpy.array类型和numpy.mat类型,前者是数组类型,后者是矩阵类型。数组

Python手搓邮件发送客户端

《Python手搓邮件发送客户端》这篇文章主要为大家详细介绍了如何使用Python手搓邮件发送客户端,支持发送邮件,附件,定时发送以及个性化邮件正文,感兴趣的可以了解下... 目录1. 简介2.主要功能2.1.邮件发送功能2.2.个性签名功能2.3.定时发送功能2. 4.附件管理2.5.配置加载功能2.6.

解决Cron定时任务中Pytest脚本无法发送邮件的问题

《解决Cron定时任务中Pytest脚本无法发送邮件的问题》文章探讨解决在Cron定时任务中运行Pytest脚本时邮件发送失败的问题,先优化环境变量,再检查Pytest邮件配置,接着配置文件确保SMT... 目录引言1. 环境变量优化:确保Cron任务可以正确执行解决方案:1.1. 创建一个脚本1.2. 修

Redis的Hash类型及相关命令小结

《Redis的Hash类型及相关命令小结》edisHash是一种数据结构,用于存储字段和值的映射关系,本文就来介绍一下Redis的Hash类型及相关命令小结,具有一定的参考价值,感兴趣的可以了解一下... 目录HSETHGETHEXISTSHDELHKEYSHVALSHGETALLHMGETHLENHSET

Django中使用SMTP实现邮件发送功能

《Django中使用SMTP实现邮件发送功能》在Django中使用SMTP发送邮件是一个常见的需求,通常用于发送用户注册确认邮件、密码重置邮件等,下面我们来看看如何在Django中配置S... 目录1. 配置 Django 项目以使用 SMTP2. 创建 Django 应用3. 添加应用到项目设置4. 创建

SpringBoot 自定义消息转换器使用详解

《SpringBoot自定义消息转换器使用详解》本文详细介绍了SpringBoot消息转换器的知识,并通过案例操作演示了如何进行自定义消息转换器的定制开发和使用,感兴趣的朋友一起看看吧... 目录一、前言二、SpringBoot 内容协商介绍2.1 什么是内容协商2.2 内容协商机制深入理解2.2.1 内容

python中的与时间相关的模块应用场景分析

《python中的与时间相关的模块应用场景分析》本文介绍了Python中与时间相关的几个重要模块:`time`、`datetime`、`calendar`、`timeit`、`pytz`和`dateu... 目录1. time 模块2. datetime 模块3. calendar 模块4. timeit

sqlite3 相关知识

WAL 模式 VS 回滚模式 特性WAL 模式回滚模式(Rollback Journal)定义使用写前日志来记录变更。使用回滚日志来记录事务的所有修改。特点更高的并发性和性能;支持多读者和单写者。支持安全的事务回滚,但并发性较低。性能写入性能更好,尤其是读多写少的场景。写操作会造成较大的性能开销,尤其是在事务开始时。写入流程数据首先写入 WAL 文件,然后才从 WAL 刷新到主数据库。数据在开始