MCPcopy Index your code
hub / github.com/OWASP/Python-Honeypot / ModuleProcessor

Class ModuleProcessor

modules/http/basic_auth_weak_password/__init__.py:7–22  ·  view source on GitHub ↗

this is the processor to run after docker machine is up to grab the log files or do other needed process...

Source from the content-addressed store, hash-verified

5
6
7class ModuleProcessor:
8 """
9 this is the processor to run after docker machine is up to grab the log
10 files or do other needed process...
11 """
12 def __init__(self):
13 self.kill_flag = False
14
15 def processor(self):
16 """
17 processor function will be called as a new thread and will be die when
18 kill_flag is True
19 :return:
20 """
21 while not self.kill_flag:
22 time.sleep(0.1)
23
24
25def module_configuration():

Callers 1

module_configurationFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected