Skip to content

Instantly share code, notes, and snippets.

@erickdsama
erickdsama / rwas.py
Last active March 4, 2024 19:21
Class to read and write messages to Whatsapp through of the ADB. You need a android Device with Sqlite3 installed and ADB service.
# coding=utf-8
import json
import time
from subprocess import check_output, CalledProcessError
class WHO:
FROM_ME = "key_from_me == 1"
OTHERS = "key_from_me != 1"
ALL = ""