MCPcopy Create free account
hub / github.com/CScorza/IntelOSINT / tg_verify

Function tg_verify

IntelOSINT.py:19325–19331  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19323
19324@app.route('/api/tg/verify', methods=['POST'])
19325def tg_verify():
19326 denied = require_sensitive_request("tg_verify", limit=8, window=300)
19327 if denied:
19328 return denied
19329 d = request.get_json(silent=True) or {}
19330 s, m = run_async(core.tg_verify_code(d.get('code'), core.creds.get('my_phone')))
19331 return jsonify({"status": s, "error": m, "message": m})
19332
19333@app.route('/api/ghunt/login', methods=['POST'])
19334def ghunt_login():

Callers

nothing calls this directly

Calls 3

run_asyncFunction · 0.85
tg_verify_codeMethod · 0.80

Tested by

no test coverage detected