Benign python Download

contextbase-plugin-reminders-local 0.5.29

“Apple Reminders local plugin for ContextBase”

Imports Python SQLite database moduleimports Path from pathlib

Evidence

SQLAlchemy ORM ingress.py · lines 20–35
20:44… `` into narrow ctx models.
21"""
22
23from __future__ import annotations
24
25from datetime import datetime
26
27from shared_plugins.sqlalchemy_types import AppleCoreDataTimestamp
28from sqlalchemy import Float, Integer, LargeBinary, String
29from sqlalchemy.orm import Mapped, mapped_column
30
31from .base import Base
32
33
34class REMCDBaseList(Base):
35 """Row from ZREMCDBASELIST. Core Data polymorphic (list + smart list …
Long base64 string literal ingress.py · lines 43–55
43:21… _fetch_from_cloud: Mapped[int | None] = mapped_column(
44 "ZCKNEEDSINITIALFETCHFROMCLOUD", Integer
45 )
46 ck_needs_to_be_fetched_from_cloud: Mapped[int | None] = mapped_column(
47 "ZCKNEEDSTOBEFETCHEDFROMCLOUD", Integer
48 )
49 effective_minimum_supported_app_version: Mapped[int | None] = mapped_column(
50 "ZEFFECTIVEMINIMUMSUPPORTEDAPPVERSION", Integer
51 )
52 marked_for_deletion: Mapped[int | None] = mapped_column(
53 "ZMARKEDFORDELETION", Integer
54 )
55 mi …
imports Path from pathlib snapshot.py · lines 1–48
1from __future__ import annotations
2
3import logging
4import sqlite3
5import uuid
6from collections.abc import Iterator
7from contextlib import closing, contextmanager
8from pathlib import Path
9from typing import Any
10
11import dlt
12from shared_plugins.naming import (
13 dlt_resource_name,
14 dlt_source_name,
15 plugin_id_from_module,
16)
17from shared_plugins.resources import ctx_dlt_resource
18from shared_plugins.sqlite import sqlite_snapshot
19from sqlalchemy import Engine, create_engine, select
20from sqlalchemy.orm import Session
21
22from ..binding_config import RemindersLocalBindingConfig
23from ..models.ctx import (
24 AlarmRow,
25 AttachmentEntityRow,
26 HashtagJoinRow,
27 HashtagLabelRow,
28 ListRow,
29 RecurrenceRuleRow,
30 ReminderRow,
31 SavedAttachmentRow,
32 SharedWithRow,
33)
34from ..models.ingress import (
35 REMCDBaseList,
36 REMCDHashtagLabel,
37 REMCDObject,
38 REMCDReminder,
39 REMCDSavedAttachment,
40)
41from ..models.translators import (
42 ENT_ALARM,
43 ENT_AUDIO_ATTACHMENT,
44 ENT_DATE_TRIGGER,
45 ENT_FILE_ATTACHMENT,
46 ENT_HASHTAG_JOIN,
47 ENT_IMAGE_ATTACHMENT,
48 ENT_LOCATION_TRIGGER,
SQL SELECT syntax reference snapshot.py · lines 110–121
110:11… minder_count = _count_probe_rows(
111 con,
112 "SELECT COUNT(*) FROM ZREMCDREMINDER WHERE ZIDENTIFIER IS NOT NULL",
113 )
114 list_count = _count_probe_rows(
115 con,
116 "SELECT COUNT(*) FROM ZREMCDBASELIST WHERE ZIDENTIFIER IS NOT NULL",
117 )
118 return (reminder_count or 0) > 0 or (list_count or 0) > 0
119
120
121def _count_probe_rows …
Calls Python glob for file enumeration snapshot.py · lines 144–149
144:23… y containing Data-*.sqlite files."
145 )
146 paths = sorted(stores_dir.glob("Data-*.sqlite"))
147 if not paths:
148 raise RuntimeError(
149 f"No Data-*.sqlite files found under '{stores_dir}' …

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.