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

Function have_cmd

Scripts/ButSystem.py:16769–16783  ·  view source on GitHub ↗

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

(cmd: str)

Source from the content-addressed store, hash-verified

16767@login_required
16768def profiler():
16769 """profiler.
16770
16771Route handler or application helper.
16772
16773This docstring was expanded to make future maintenance easier.
16774
16775Returns:
16776 Varies.
16777"""
16778 owner = current_user()
16779 q = (request.args.get("q") or "").strip().lower()
16780 entries = profiler_list(owner)
16781
16782 # Search (decrypts locally)
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()

Callers 2

start_cloudflaredFunction · 0.70
start_tor_hidden_serviceFunction · 0.70

Calls 1

_runFunction · 0.70

Tested by

no test coverage detected