MCPcopy Create free account
hub / github.com/avicoder/spoodle / ShellResolver

Class ShellResolver

dnslib/shellresolver.py:14–52  ·  view source on GitHub ↗

Example dynamic resolver. Maps DNS labels to shell commands and returns result as TXT record (Note: No context is passed to the shell command) Shell commands are passed in a a list in : format - eg: [ 'uptime.abc.com.:uptime', 'ls:ls' ]

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

shellresolver.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected