⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.133
Server IP:
185.119.109.197
Server:
Linux managedhosting.chostar.me 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
proc
/
self
/
root
/
usr
/
share
/
webmin
/
virtual-server
/
View File Name :
save_scriptlatest.cgi
#!/usr/bin/perl # Enable or disable the cron job for downloading the latest script installers require './virtual-server-lib.pl'; &can_edit_templates() || &error($text{'newscripts_ecannot'}); &ReadParse(); &licence_status(); &error_setup($text{'newscripts_lerr'}); # Update config if ($in{'scripts_def'}) { $config{'scriptlatest'} = ''; } else { @snames = split(/\0/, $in{'scripts'}); @snames || &error($text{'newscripts_elnone'}); $config{'scriptlatest'} = join(' ', @snames); } $config{'scriptlatest_enabled'} = $in{'enabled'}; &lock_file($module_config_file); &save_module_config(); &unlock_file($module_config_file); # Create or remove cron job &setup_scriptlatest_job($in{'enabled'}); # If enabled, do one run now if ($in{'enabled'}) { &system_logged("$scriptlatest_cron_cmd >/dev/null 2>&1