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

Class CredentialEvent

database/datatypes.py:169–190  ·  view source on GitHub ↗

Object to store Credential Event Parameters Attributes: ip_src: Client ip used for connecting to the module module_name: Which module was accessed date: Date and time of the event username: Username tried for connecting to modules password: Password

Source from the content-addressed store, hash-verified

167
168
169class CredentialEvent:
170 """
171 Object to store Credential Event Parameters
172
173 Attributes:
174 ip_src: Client ip used for connecting to the module
175 module_name: Which module was accessed
176 date: Date and time of the event
177 username: Username tried for connecting to modules
178 password: Password tried for connecting to modules
179 machine_name: Real machine name
180 country_ip_src: Country corresponding to the IP Address
181 """
182
183 def __init__(self, ip_src, module_name, date, username, password):
184 self.ip_src = ip_src
185 self.module_name = module_name
186 self.date = date
187 self.username = username
188 self.password = password
189 self.machine_name = None
190 self.country_ip_src = None
191
192
193class EventData:

Callers 5

processorMethod · 0.90
processorMethod · 0.90
processorMethod · 0.90
processorMethod · 0.90

Calls

no outgoing calls

Tested by 1