Linux mail.vriendennsm.nl 6.1.0-51-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.177-1 (2026-07-16) x86_64
Apache/2.4.68 (Debian)
Server IP : 217.154.75.17 & Your IP : 216.73.216.195
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
webmin /
package-updates /
Delete
Unzip
Name
Size
Permission
Date
Action
images
[ DIR ]
drwxr-xr-x
2026-07-25 20:55
lang
[ DIR ]
drwxr-xr-x
2026-07-25 20:55
newfeatures
[ DIR ]
drwxr-xr-x
2025-02-07 09:25
CHANGELOG
406
B
-rw-r--r--
2026-07-17 21:17
config
31
B
-rw-r--r--
2026-07-17 21:17
config.info
313
B
-rw-r--r--
2026-07-17 21:17
config.info.ar
253
B
-rw-r--r--
2026-07-17 21:17
config.info.ca
172
B
-rw-r--r--
2026-07-17 21:17
config.info.de
182
B
-rw-r--r--
2026-07-17 21:17
config.info.hu
0
B
-rw-r--r--
2026-07-17 21:17
config.info.it
191
B
-rw-r--r--
2026-07-17 21:17
config.info.nl
98
B
-rw-r--r--
2026-07-17 21:17
config.info.no
93
B
-rw-r--r--
2026-07-17 21:17
config.info.pl
111
B
-rw-r--r--
2026-07-17 21:17
config.info.ru
186
B
-rw-r--r--
2026-07-17 21:17
create_repo.cgi
332
B
-rwxr-xr-x
2026-07-17 21:22
index.cgi
8.55
KB
-rwxr-xr-x
2026-07-17 21:22
install_check.pl
372
B
-rwxr-xr-x
2026-07-17 21:17
log_parser.pl
815
B
-rw-r--r--
2026-07-17 21:17
module.info
285
B
-rw-r--r--
2026-07-17 21:17
module.info.ar
173
B
-rw-r--r--
2026-07-17 21:17
module.info.bg
0
B
-rw-r--r--
2026-07-17 21:17
module.info.bg.auto
236
B
-rw-r--r--
2026-07-17 21:17
module.info.ca
157
B
-rw-r--r--
2026-07-17 21:17
module.info.cs
0
B
-rw-r--r--
2026-07-17 21:17
module.info.cs.auto
150
B
-rw-r--r--
2026-07-17 21:17
module.info.da
0
B
-rw-r--r--
2026-07-17 21:17
module.info.da.auto
129
B
-rw-r--r--
2026-07-17 21:17
module.info.de
122
B
-rw-r--r--
2026-07-17 21:17
module.info.el
0
B
-rw-r--r--
2026-07-17 21:17
module.info.el.auto
232
B
-rw-r--r--
2026-07-17 21:17
module.info.es
0
B
-rw-r--r--
2026-07-17 21:17
module.info.es.auto
160
B
-rw-r--r--
2026-07-17 21:17
module.info.eu
0
B
-rw-r--r--
2026-07-17 21:17
module.info.eu.auto
140
B
-rw-r--r--
2026-07-17 21:17
module.info.fa
0
B
-rw-r--r--
2026-07-17 21:17
module.info.fa.auto
230
B
-rw-r--r--
2026-07-17 21:17
module.info.fi
0
B
-rw-r--r--
2026-07-17 21:17
module.info.fi.auto
148
B
-rw-r--r--
2026-07-17 21:17
module.info.fr
0
B
-rw-r--r--
2026-07-17 21:17
module.info.fr.auto
167
B
-rw-r--r--
2026-07-17 21:17
module.info.hr
0
B
-rw-r--r--
2026-07-17 21:17
module.info.hr.auto
135
B
-rw-r--r--
2026-07-17 21:17
module.info.hu
38
B
-rw-r--r--
2026-07-17 21:17
module.info.hu.auto
94
B
-rw-r--r--
2026-07-17 21:17
module.info.it
159
B
-rw-r--r--
2026-07-17 21:17
module.info.ja
0
B
-rw-r--r--
2026-07-17 21:17
module.info.ja.auto
193
B
-rw-r--r--
2026-07-17 21:17
module.info.ko
0
B
-rw-r--r--
2026-07-17 21:17
module.info.ko.auto
171
B
-rw-r--r--
2026-07-17 21:17
module.info.ms
146
B
-rw-r--r--
2026-07-17 21:17
module.info.nl
34
B
-rw-r--r--
2026-07-17 21:17
module.info.nl.auto
82
B
-rw-r--r--
2026-07-17 21:17
module.info.no
38
B
-rw-r--r--
2026-07-17 21:17
module.info.no.auto
97
B
-rw-r--r--
2026-07-17 21:17
module.info.pl
157
B
-rw-r--r--
2026-07-17 21:17
module.info.pt
0
B
-rw-r--r--
2026-07-17 21:17
module.info.pt.auto
151
B
-rw-r--r--
2026-07-17 21:17
module.info.pt_BR
0
B
-rw-r--r--
2026-07-17 21:17
module.info.pt_BR.auto
157
B
-rw-r--r--
2026-07-17 21:17
module.info.ru
0
B
-rw-r--r--
2026-07-17 21:17
module.info.ru.auto
224
B
-rw-r--r--
2026-07-17 21:17
module.info.sk
0
B
-rw-r--r--
2026-07-17 21:17
module.info.sk.auto
151
B
-rw-r--r--
2026-07-17 21:17
module.info.sv
0
B
-rw-r--r--
2026-07-17 21:17
module.info.sv.auto
139
B
-rw-r--r--
2026-07-17 21:17
module.info.tr
0
B
-rw-r--r--
2026-07-17 21:17
module.info.tr.auto
146
B
-rw-r--r--
2026-07-17 21:17
module.info.uk
0
B
-rw-r--r--
2026-07-17 21:17
module.info.uk.auto
207
B
-rw-r--r--
2026-07-17 21:17
module.info.zh
0
B
-rw-r--r--
2026-07-17 21:17
module.info.zh.auto
103
B
-rw-r--r--
2026-07-17 21:17
module.info.zh_TW
0
B
-rw-r--r--
2026-07-17 21:17
module.info.zh_TW.auto
109
B
-rw-r--r--
2026-07-17 21:17
package-updates-lib.pl
21.13
KB
-rw-r--r--
2026-07-17 21:17
save_repos.cgi
1.55
KB
-rwxr-xr-x
2026-07-17 21:22
save_sched.cgi
1.71
KB
-rwxr-xr-x
2026-07-17 21:22
save_view.cgi
386
B
-rwxr-xr-x
2026-07-17 21:22
update.cgi
5.28
KB
-rwxr-xr-x
2026-07-17 21:22
update.pl
4.37
KB
-rwxr-xr-x
2026-07-17 21:22
view.cgi
2.38
KB
-rwxr-xr-x
2026-07-17 21:22
Save
Rename
#!/usr/bin/perl # Check for and install updates $no_acl_check++; require './package-updates-lib.pl'; if ($ARGV[0] eq "--debug" || $ARGV[0] eq "-debug") { $debug = 1; } # See what needs doing &flush_package_caches(); &clear_repository_cache(); @todo = &list_possible_updates(); # Install packages that are needed $tellcount = 0; %already = ( ); @updated = ( ); @toinstall = grep { &scheduled_update_should_install($_) } @todo; if (@toinstall && $config{'sched_pre_script'}) { my @pending = &unique(map { $_->{'update'} } @toinstall); ($pre_ok, $pre_body) = &run_update_script( $config{'sched_pre_script'}, "pre", @pending); $body .= $pre_body; if (!$pre_ok) { $body .= "Scheduled package updates were skipped because the ". "pre-update script failed or could not be run.\n\n"; } } else { $pre_ok = 1; } &start_update_progress([ map { $_->{'name'} } @todo ]); $icount = 0; $fcount = 0; foreach $t (@todo) { next if ($already{$t->{'update'}}); my $umsg = $t->{'security'} ? "security update" : "update"; my $upfx = $t->{'security'} ? "A" : "An"; if (&scheduled_update_should_install($t)) { # Can install $body .= "$upfx $umsg to $t->{'name'} from $t->{'oldversion'} ". "to $t->{'version'} is needed.\n"; if (!$pre_ok) { $body .= "This $umsg was skipped because the pre-". "update script failed or could not be run.\n\n"; next; } ($out, $done) = &capture_function_output( \&package_install, $t->{'update'}); if (@$done) { $body .= "This $umsg has been successfully installed.\n\n"; $icount++; push(@updated, @$done); } else { $body .= "However, this $umsg could not be installed! ". "Try the update manually\nusing the Package ". "Updates module.\n\n"; $fcount++; } foreach $p (@$done) { $already{$p}++; } } elsif ($config{'sched_action'} == 1 || $config{'sched_action'} == 0 || $config{'sched_action'} == -1 && $t->{'security'}) { # Just tell the user about it $body .= "$upfx $umsg to $t->{'name'} from $t->{'oldversion'} ". "to $t->{'version'} is available.\n\n"; $tellcount++; } } &end_update_progress(); if (@updated && $config{'sched_post_script'}) { my @unique_updated = &unique(@updated); my ($post_ok, $post_body) = &run_update_script( $config{'sched_post_script'}, "post", @unique_updated); $body .= $post_body; } if ($tellcount) { # Add link to Webmin $url = &get_webmin_email_url($module_name); $body .= "Updates can be installed at $url\n\n"; } # Email the admin $emailto = $config{'sched_email'} eq '*' ? $gconfig{'webmin_email_to'} : $config{'sched_email'}; if ($emailto && $body && ($config{'sched_when'} == 0 || $config{'sched_when'} == 1 && $fcount)) { &foreign_require("mailboxes", "mailboxes-lib.pl"); my $from = &mailboxes::get_from_address(); my $mail = { 'headers' => [ [ 'From', $from ], [ 'To', $emailto ], [ 'Subject', "Package updates on ". &get_system_hostname() ] ], 'attach' => [ { 'headers' => [ [ 'Content-type', 'text/plain' ] ], 'data' => $body } ] }; &mailboxes::send_mail($mail, undef, 1, 0); if ($debug) { print STDERR $body; } } # Log the update, if anything was installed if ($icount) { &webmin_log("schedup", "packages", $icount); } # scheduled_update_should_install(&update) # Returns 1 if the scheduled update action allows this package to be installed. sub scheduled_update_should_install { my ($update) = @_; return $config{'sched_action'} == 2 || $config{'sched_action'} == 1 && $update->{'security'}; } # run_update_script(script, phase, packages...) # Runs a pre or post-update hook script and returns a status flag and message. sub run_update_script { my ($script, $phase, @packages) = @_; my $label = $phase eq "pre" ? "Pre-update" : "Post-update"; if (!-f $script || !-x $script) { return (0, "$label script $script was not run because it is not ". "executable.\n\n"); } local $ENV{'WEBMIN_PACKAGE_UPDATES'} = join(" ", @packages); local $ENV{'WEBMIN_PACKAGE_UPDATE_COUNT'} = scalar(@packages); local $ENV{'WEBMIN_PACKAGE_UPDATE_PHASE'} = $phase; my $out = &backquote_logged("e_path($script)." 2>&1 </dev/null"); if ($?) { my $status = ($? & 127) ? "signal ".($? & 127) : "exit status ".($? >> 8); return (0, "$label script $script failed with $status.\n". ($out ? $out."\n" : "")."\n"); } return (1, "$label script $script was run successfully.\n". ($out ? $out."\n" : "")."\n"); }