MCPcopy Create free account
hub / github.com/dedsec1121fk/DedSec / termux_pkg_install

Function termux_pkg_install

Scripts/ButSystem.py:16785–16799  ·  view source on GitHub ↗

termux_pkg_install. Internal helper function. This docstring was added automatically to improve maintainability. Args: pkg: Parameter. Returns: Varies.

(pkg: str)

Source from the content-addressed store, hash-verified

16783 if q:
16784 filtered = []
16785 conn = db_connect()
16786 rows = conn.execute("SELECT id, first_enc, last_enc, info_enc, optional_enc, updated_at FROM profiler_entries WHERE owner=? ORDER BY id DESC", (owner,)).fetchall()
16787 conn.close()
16788 for r in rows:
16789 try:
16790 first = aesgcm_decrypt_text(r["first_enc"])
16791 last = aesgcm_decrypt_text(r["last_enc"])
16792 info = aesgcm_decrypt_text(r["info_enc"])
16793 except Exception:
16794 continue
16795 opt = profiler_decrypt_optional(r["optional_enc"] if "optional_enc" in r.keys() else None)
16796 opt_blob = " ".join([str(v) for v in opt.values()])
16797 blob = f"{first} {last} {info} {opt_blob}".lower()
16798 if q in blob:
16799 filtered.append({"id": r["id"], "first": first, "last": last, "updated_at": r["updated_at"]})
16800 entries = filtered[:200]
16801
16802 class Obj:

Callers 2

start_cloudflaredFunction · 0.70
start_tor_hidden_serviceFunction · 0.70

Calls 1

_runFunction · 0.70

Tested by

no test coverage detected