MCPcopy Create free account
hub / github.com/OWASP/Python-Honeypot / module_configuration

Function module_configuration

modules/ssh/weak_password/__init__.py:53–65  ·  view source on GitHub ↗

module configuration Returns: JSON/Dict module configuration

()

Source from the content-addressed store, hash-verified

51
52
53def module_configuration():
54 """
55 module configuration
56
57 Returns:
58 JSON/Dict module configuration
59 """
60 return {
61 "username": "root",
62 "password": "123456",
63 "extra_docker_options": ["--volume {0}/tmp/ohp_ssh_weak_container:/root:z".format(os.getcwd())],
64 "module_processor": ModuleProcessor()
65 }

Callers 1

Calls 1

ModuleProcessorClass · 0.70

Tested by

no test coverage detected