Object to store Honeypot Event Data collected from modules such as ICS Module. Attributes: ip: Client IP used for putting the data date: Date and time of the event module_name: Module client accessed by the client data: Data which is obtained from the cl
| 191 | |
| 192 | |
| 193 | class EventData: |
| 194 | """ |
| 195 | Object to store Honeypot Event Data collected from |
| 196 | modules such as ICS Module. |
| 197 | |
| 198 | Attributes: |
| 199 | ip: Client IP used for putting the data |
| 200 | date: Date and time of the event |
| 201 | module_name: Module client accessed by the client |
| 202 | data: Data which is obtained from the client |
| 203 | country_ip_src: Country corresponding to the IP Address |
| 204 | """ |
| 205 | |
| 206 | def __init__(self, ip, module_name, date, data): |
| 207 | self.ip_src = ip |
| 208 | self.module_name = module_name |
| 209 | self.date = date |
| 210 | self.data = data |
| 211 | self.machine_name = None |
| 212 | self.country_ip_src = None |
| 213 | |
| 214 | |
| 215 | class FileEventsData: |
no outgoing calls