MCPcopy Index your code
hub / github.com/SpecterOps/DeepPass2 / deeppass_scanning

Function deeppass_scanning

deeppass2.py:222–229  ·  view source on GitHub ↗

DeepPass2 API call

()

Source from the content-addressed store, hash-verified

220
221@app.route('/api/deeppass2', methods=['POST'])
222async def deeppass_scanning():
223 """DeepPass2 API call"""
224 doc = request.data.decode('utf-8')
225 try:
226 secrets = await scan_secret(doc)
227 return jsonify({'Success':secrets})
228 except Exception as e:
229 return jsonify({'error':f'Document counld not be scanned. Error {e}.'})
230
231
232

Callers

nothing calls this directly

Calls 1

scan_secretFunction · 0.85

Tested by

no test coverage detected