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 /
cluster-software /
Delete
Unzip
Name
Size
Permission
Date
Action
help
[ DIR ]
drwxr-xr-x
2026-07-25 20:55
images
[ DIR ]
drwxr-xr-x
2026-07-25 20:55
lang
[ DIR ]
drwxr-xr-x
2026-07-25 20:55
CHANGELOG
1.01
KB
-rw-r--r--
2026-07-17 21:17
add.cgi
904
B
-rwxr-xr-x
2026-07-17 21:22
close.cgi
272
B
-rwxr-xr-x
2026-07-17 21:22
closeall.cgi
179
B
-rwxr-xr-x
2026-07-17 21:22
cluster-software-lib.pl
10.06
KB
-rwxr-xr-x
2026-07-17 21:17
compare.cgi
1.81
KB
-rwxr-xr-x
2026-07-17 21:22
compare_form.cgi
1.13
KB
-rwxr-xr-x
2026-07-17 21:22
config
25
B
-rw-r--r--
2026-07-17 21:17
config.info
108
B
-rw-r--r--
2026-07-17 21:17
config.info.ca
133
B
-rw-r--r--
2026-07-17 21:17
config.info.cs
82
B
-rw-r--r--
2026-07-17 21:17
config.info.de
125
B
-rw-r--r--
2026-07-17 21:17
config.info.es
90
B
-rw-r--r--
2026-07-17 21:17
config.info.fr
134
B
-rw-r--r--
2026-07-17 21:17
config.info.hr
0
B
-rw-r--r--
2026-07-17 21:17
config.info.ms
131
B
-rw-r--r--
2026-07-17 21:17
config.info.nl
130
B
-rw-r--r--
2026-07-17 21:17
config.info.no
129
B
-rw-r--r--
2026-07-17 21:17
config.info.pl
121
B
-rw-r--r--
2026-07-17 21:17
defaultacl
6
B
-rw-r--r--
2026-07-17 21:17
delete_host.cgi
254
B
-rwxr-xr-x
2026-07-17 21:22
delete_pack.cgi
3.15
KB
-rwxr-xr-x
2026-07-17 21:22
delete_packs.cgi
2.86
KB
-rwxr-xr-x
2026-07-17 21:22
do_install.cgi
6.98
KB
-rwxr-xr-x
2026-07-17 21:22
do_install_serial.cgi
3.68
KB
-rwxr-xr-x
2026-07-17 21:22
edit_host.cgi
3.84
KB
-rwxr-xr-x
2026-07-17 21:22
edit_pack.cgi
3.33
KB
-rwxr-xr-x
2026-07-17 21:22
index.cgi
4.87
KB
-rwxr-xr-x
2026-07-17 21:22
install_pack.cgi
4.85
KB
-rwxr-xr-x
2026-07-17 21:22
list_pack.cgi
2.28
KB
-rwxr-xr-x
2026-07-17 21:22
module.info
440
B
-rw-r--r--
2026-07-17 21:17
module.info.ar
0
B
-rw-r--r--
2026-07-17 21:17
module.info.ar.auto
201
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
251
B
-rw-r--r--
2026-07-17 21:17
module.info.ca
155
B
-rw-r--r--
2026-07-17 21:17
module.info.ca.auto
31
B
-rw-r--r--
2026-07-17 21:17
module.info.cs
40
B
-rw-r--r--
2026-07-17 21:17
module.info.cs.auto
122
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
153
B
-rw-r--r--
2026-07-17 21:17
module.info.de
133
B
-rw-r--r--
2026-07-17 21:17
module.info.de.auto
25
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
263
B
-rw-r--r--
2026-07-17 21:17
module.info.es
39
B
-rw-r--r--
2026-07-17 21:17
module.info.es.auto
119
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
141
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
228
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
156
B
-rw-r--r--
2026-07-17 21:17
module.info.fr
41
B
-rw-r--r--
2026-07-17 21:17
module.info.fr.auto
139
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
155
B
-rw-r--r--
2026-07-17 21:17
module.info.hu
33
B
-rw-r--r--
2026-07-17 21:17
module.info.hu.auto
125
B
-rw-r--r--
2026-07-17 21:17
module.info.it
0
B
-rw-r--r--
2026-07-17 21:17
module.info.it.auto
147
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
228
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
193
B
-rw-r--r--
2026-07-17 21:17
module.info.ms
119
B
-rw-r--r--
2026-07-17 21:17
module.info.ms.auto
25
B
-rw-r--r--
2026-07-17 21:17
module.info.nl
35
B
-rw-r--r--
2026-07-17 21:17
module.info.nl.auto
122
B
-rw-r--r--
2026-07-17 21:17
module.info.no
35
B
-rw-r--r--
2026-07-17 21:17
module.info.no.auto
115
B
-rw-r--r--
2026-07-17 21:17
module.info.pl
132
B
-rw-r--r--
2026-07-17 21:17
module.info.pl.auto
33
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
154
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
163
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
278
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
162
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
151
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
159
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
272
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
131
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
140
B
-rw-r--r--
2026-07-17 21:17
open.cgi
250
B
-rwxr-xr-x
2026-07-17 21:22
openall.cgi
427
B
-rwxr-xr-x
2026-07-17 21:22
prefs.info
28
B
-rw-r--r--
2026-07-17 21:17
refresh.cgi
1.61
KB
-rwxr-xr-x
2026-07-17 21:22
search.cgi
1.97
KB
-rwxr-xr-x
2026-07-17 21:22
Save
Rename
#!/usr/bin/perl # do_install.cgi # Install some package on all hosts, in parallel. If the package was # downloaded from a URL, have the hosts do the same - otherwise, transfer # it to each. require './cluster-software-lib.pl'; &ReadParse(); # Work out package names, for display to use if ($in{'source'} == 3) { # Package names are from YUM @packages = @names = @descs = split(/\s+/, $in{'file'}); } else { # Get package names and descriptions from file @packages = $in{'unknownfile'} ? ( $in{'unknownfile'} ) : &software::file_packages($in{'file'}); foreach $p (@packages) { local ($n, $d) = split(/\s+/, $p, 2); push(@names, $n); push(@descs, $d || $n); } } $in{'source'} == 3 || -r $in{'file'} || &error($text{'do_edeleted'}); if ($in{'source'} == 2 && $in{'down'}) { &validate_remote_download_target(); } &ui_print_header(undef, $text{'do_title'}, ""); # Setup error handler for down hosts sub inst_error { $inst_error_msg = join("", @_); } &remote_error_setup(\&inst_error); # Work out hosts to install on @hosts = &list_software_hosts(); @already = grep { local ($alr) = grep { $_->{'name'} eq $names[0] } @{$_->{'packages'}}; $alr } @hosts; @hosts = &create_on_parse("do_header", \@already, join(" ", @names)); @servers = &list_servers(); $p = 0; foreach $h (@hosts) { # Install on one host local ($s) = grep { $_->{'id'} == $h->{'id'} } @servers; local $d = $s->{'desc'} || $s->{'realhost'} || $s->{'host'}; local ($rh = "READ$p", $wh = "WRITE$p"); pipe($rh, $wh); select($wh); $| = 1; select(STDOUT); if (!fork()) { # Do the install in a subprocess close($rh); &remote_foreign_require($s->{'host'}, "software", "software-lib.pl"); if ($inst_error_msg) { # Failed to contact host .. print $wh &serialise_variable([ $inst_error_msg ]); exit; } local $rfile; local $need_unlink = 1; if ($in{'source'} == 3) { # Installing from an update service like APT or YUM $need_unlink = 0; } elsif (!$s->{'id'}) { # This host, so we already have the file $rfile = $in{'file'}; $need_unlink = 0; } elsif ($in{'source'} == 0) { # Is the file the same on remote (like if we have NFS) local @st = stat($in{'file'}); local $qfile = "e_literal_escape($in{'file'}); local $rst = &remote_eval($s->{'host'}, "software", "[ stat('$qfile') ]"); local @rst = @$rst; if (@st && @rst && $st[7] == $rst[7] && $st[9] == $rst[9]) { # File is the same! No need to download $rfile = $in{'file'}; $need_unlink = 0; } else { # Need to copy the file across :( local $filename = $in{'file'}; $filename =~ /([^\/\\]+)$/; $rfile = &remote_write( $s->{'host'}, $in{'file'}, undef, "$1"); } } elsif ($in{'source'} == 2 && $in{'down'}) { # Ask the remote server to download the file local $filename = $in{'file'}; $filename =~ /([^\/\\]+$)/; $rfile = &remote_foreign_call($s->{'host'}, "software", "tempname", $1); if ($in{'ftpfile'}) { &remote_foreign_call($s->{'host'}, "software", "ftp_download", $in{'host'}, $in{'ftpfile'}, $rfile); } else { &remote_foreign_call($s->{'host'}, "software", "http_download", $in{'host'}, $in{'port'}, $in{'page'}, $rfile, undef, undef, $in{'ssl'}); } } else { # Need to copy the file across :( local $filename = $in{'file'}; $filename =~ /([^\/\\]+)$/; $rfile = &remote_write($s->{'host'}, $in{'file'}, undef, "$1"); } # Do the install .. local @rv; if ($in{'source'} != 3) { # Installing some package for($i=0; $i<@names; $i++) { local $error = &remote_foreign_call( $s->{'host'}, "software", "install_package", $rfile, $names[$i], \%in); if ($error) { push(@rv, $error); } else { # Success .. get the package details push(@rv, [ &remote_foreign_call($s->{'host'}, "software", "package_info", $names[$i]) ] ); } } } else { # Install from update system local $rus = &remote_eval($s->{'host'}, "software", '$update_system'); if ($rus ne $software::update_system) { push(@rv, &text('install_erus', $rus, $software::update_system)); } else { local @resp = &remote_foreign_call($s->{'host'}, "software", "capture_function_output", "software::update_system_install", $in{'file'}); if (@{$resp[1]}) { # Worked .. get package details foreach $p (@{$resp[1]}) { push(@rv, [ &remote_foreign_call($s->{'host'}, "software", "package_info", $p) ] ); } } else { # May have failed ($first) = split(/\s+/, $in{'file'}); local @info = &remote_foreign_call( $s->{'host'}, "software", "package_info", $first); if (@info && $info[0] eq $first) { push(@rv, &text('install_ealready', $info[4])); } else { push(@rv, $text{'install_eupdate'}); } } } } if ($need_unlink) { local $qfile = "e_literal_escape($rfile); &remote_eval($s->{'host'}, "software", "unlink('$qfile')"); } print $wh &serialise_variable(\@rv); close($wh); exit; } close($wh); $p++; } # Get back all the results $p = 0; foreach $h (@hosts) { local $rh = "READ$p"; local $line = <$rh>; close($rh); local $rv = &unserialise_variable($line); local ($s) = grep { $_->{'id'} == $h->{'id'} } @servers; local $d = $s->{'desc'} || $s->{'realhost'} || $s->{'host'}; if (!$line) { print &text('do_failed', $d, "Unknown reason"),"<br>\n"; } else { $i=0; foreach $r (@$rv) { if (ref($r)) { # Install went ok! print &text('do_success2', $r->[0],$d),"<br>\n"; $pinfo[$i] = $r if (!$pinfo[$i] && @$r); if (!@$r) { # Failed to get info! Need a refresh.. $refresh{$s->{'id'}} = 1; } elsif ($names[$i] && &indexof($names[$i], @{$h->{'packages'}}) < 0) { push(@{$h->{'packages'}}, { 'name' => $names[$i], 'desc' => $descs[$i], 'class' => $pinfo[$i]->[1], 'version' => $pinfo[$i]->[4] }); &save_software_host($h); } } else { # Failed for some reason.. print &text('do_failed', $d, $r),"<br>\n"; } $i++; } } $p++; } unlink($in{'file'}) if ($in{'need_unlink'}); print "<p><b>$text{'do_done'}</b><p>\n"; # Show details of installed packages, where we have them for($i=0; $i<@names; $i++) { next if (!$pinfo[$i]); print &ui_table_start($text{'do_details'}, "width=100%", 4); if ($pinfo[$i]->[2]) { print &ui_table_row($text{'do_desc'}, "<pre>".&html_escape($pinfo[$i]->[2])."</pre>", 3); } print &ui_table_row($text{'do_pack'}, $pinfo[$i]->[0]); print &ui_table_row($text{'do_class'}, $pinfo[$i]->[1] || $text{'do_none'}); print &ui_table_row($text{'do_ver'}, $pinfo[$i]->[4]); print &ui_table_row($text{'do_vend'}, $pinfo[$i]->[5]); print &ui_table_row($text{'do_arch'}, $pinfo[$i]->[3]); print &ui_table_row($text{'do_inst'}, $pinfo[$i]->[6]); print &ui_table_end(); } &remote_finished(); &ui_print_footer("", $text{'index_return'});