Linux eyewebsolution.dnshostserver.in 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
Apache
: 185.131.55.234 | : 216.73.216.138
676 Domain
5.6.40
omxrelocation
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
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
lib /
Acronis /
PyTools /
commands /
[ HOME SHELL ]
Name
Size
Permission
Action
__pycache__
[ DIR ]
drwxr-xr-x
auto_update.py
2.84
KB
-rw-r--r--
protect.py
408
B
-rw-r--r--
retention.py
8.86
KB
-rw-r--r--
retention_specs.py
1.25
KB
-rw-r--r--
run_tool.py
817
B
-rw-r--r--
staging.py
732
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : retention_specs.py
import time SECONDS_IN_DAY = 86400 ACTIVITY_COMPLETED_STATE = 5 def get_days_before_time(days): return int(time.time()) - SECONDS_IN_DAY * days def completed_activities_by_amount(amount, days): return { 'pattern': [ ('^Is', 'string', 'Tol::History::Plain::Activity'), ('.State', 'dword', ACTIVITY_COMPLETED_STATE), ('.Period.FinishTime', 'sqword', 0), ('.Period.FinishTime^Less', 'sqword', get_days_before_time(days)), ], 'historical_order': True, 'objects_count_limit': amount, } def completed_activities_by_age_in_days(days): return { 'pattern': [ ('^Is', 'string', 'Tol::History::Plain::Activity'), ('.State', 'dword', ACTIVITY_COMPLETED_STATE), ('.Period.FinishTime', 'sqword', 0), ('.Period.FinishTime^Less', 'sqword', get_days_before_time(days)), ], 'historical_order': True, 'objects_count_limit': 0, } RETENTION_SPECS_CLOUD = [ completed_activities_by_age_in_days(60), completed_activities_by_amount(10000, 7) ] RETENTION_SPECS_ONPREM = [ completed_activities_by_age_in_days(60), completed_activities_by_amount(10000, 7) ]
Close