Linux ip-148-66-134-25.ip.secureserver.net 3.10.0-1160.119.1.el7.tuxcare.els10.x86_64 #1 SMP Fri Oct 11 21:40:41 UTC 2024 x86_64
Apache
: 148.66.134.25 | : 3.133.109.251
66 Domain
8.0.30
amvm
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
BLACK DEFEND!
README
+ Create Folder
+ Create File
/
usr /
lib /
fm-agent /
library /
[ HOME SHELL ]
Name
Size
Permission
Action
__pycache__
[ DIR ]
drwxr-xr-x
__init__.py
0
B
-rw-r--r--
agent.py
96.8
KB
-rw-r--r--
agent_exceptions.py
110
B
-rw-r--r--
agent_util.py
8.58
KB
-rw-r--r--
aggregator.py
14.89
KB
-rw-r--r--
anomaly.py
2.19
KB
-rw-r--r--
blacklister.py
809
B
-rw-r--r--
container_discovery.py
3.3
KB
-rw-r--r--
display.py
2.06
KB
-rw-r--r--
forticlient_helper.py
2.59
KB
-rw-r--r--
inspector.py
15.7
KB
-rw-r--r--
iperf3.py
2.12
KB
-rw-r--r--
log_matcher.py
4.27
KB
-rw-r--r--
maintenance.py
3.61
KB
-rw-r--r--
pickle_database.py
1.28
KB
-rw-r--r--
plugin_driver.py
4.78
KB
-rw-r--r--
plugin_manager.py
11.04
KB
-rw-r--r--
process_manager.py
851
B
-rw-r--r--
progress_printer.py
837
B
-rw-r--r--
result_queue.py
1.99
KB
-rw-r--r--
schedule.py
3.19
KB
-rw-r--r--
threshold.py
1.5
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : pickle_database.py
import pickle import logging import traceback class PickleDatabase(object): """ This object is a wrapper to access and handle our local pickle file. We'll use this pickle file as a sort of database for storing schedules and other info for the agent.""" def __init__(self, file_path): self.file_path = file_path try: self.data = pickle.load(open(file_path, 'rb')) except Exception: # If something went wrong, the data is either corrupted or missing. log = logging.getLogger(self.__class__.__name__) log.warn('Unable to open database {}, creating an empty one'.format(self.file_path)) self.data = {} open(self.file_path, 'wb') # Create the DB file if it doesn't exist log.info('Database created: %s' % self.file_path) def save(self): # Dump current contents of our dict into the pickle file pickle.dump(self.data, open(self.file_path, 'wb')) def __getitem__(self, key): return self.data[key] def __setitem__(self, key, value): self.data[key] = value # Save our newly updated dictionary self.save() def __repr__(self): return str(self.data) def __contains__(self, key): return key in self.data
Close