MCPcopy Create free account
hub / github.com/Fadi002/de4py / decode_dyn

Method decode_dyn

de4py/engines/onyx/string_decoder.py:205–209  ·  view source on GitHub ↗
(m)

Source from the content-addressed store, hash-verified

203 r'(?:\.decode\s*\([^)]*\))?'
204 )
205 def decode_dyn(m):
206 try:
207 return repr(base64.b64decode(m.group(1)).decode('utf-8', errors='replace'))
208 except Exception:
209 return m.group(0)
210 return pattern.sub(decode_dyn, source)
211
212 def _decode_base32_calls(self, source: str) -> str:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected