-
✘✘✘ WIBUHAX0R1337 ✘✘✘
-
✘
PATCH :
/
usr
/
lib
/
fm-agent
/
countermeasures
/
plugins
/
Upload File:
files >> //usr/lib/fm-agent/countermeasures/plugins/netstat.py
""" FortiMonitor netstat Countermeasure Copyright 2023 Fortinet, Inc. All Rights Reserved. fm-ops@fortinet.com """ from CountermeasurePlugin import CountermeasurePlugin class NetstatCountermeasure(CountermeasurePlugin): name = "netstat" textkey = "info.netstat" description = "Gather most recent netstat output" max_frequency = 60 max_runtime = None author = "support@panopta.com" def run(self): """ Execute the countermeasure action """ return_code, output = self.execute("netstat -ant") self.save_text_output(output) self.save_return_code(return_code)
2022 - 2023 Copyright By Lutfifakee || Padang Blackhat ♥