X7ROOT File Manager
Current Path:
/usr/libexec/webmin/cluster-software
usr
/
libexec
/
webmin
/
cluster-software
/
📁
..
📄
CHANGELOG
(1.01 KB)
📄
add.cgi
(904 B)
📄
close.cgi
(272 B)
📄
closeall.cgi
(179 B)
📄
cluster-software-lib.pl
(9.51 KB)
📄
compare.cgi
(1.81 KB)
📄
compare_form.cgi
(1.13 KB)
📄
config
(25 B)
📄
config.info
(108 B)
📄
config.info.ca
(133 B)
📄
config.info.cs
(82 B)
📄
config.info.de
(125 B)
📄
config.info.es
(90 B)
📄
config.info.fr
(134 B)
📄
config.info.hr
(0 B)
📄
config.info.ms
(131 B)
📄
config.info.nl
(130 B)
📄
config.info.no
(129 B)
📄
config.info.pl
(121 B)
📄
defaultacl
(6 B)
📄
delete_host.cgi
(254 B)
📄
delete_pack.cgi
(3.15 KB)
📄
delete_packs.cgi
(2.86 KB)
📄
do_install.cgi
(7.11 KB)
📄
do_install_serial.cgi
(3.55 KB)
📄
edit_host.cgi
(3.84 KB)
📄
edit_pack.cgi
(3.33 KB)
📁
help
📁
images
📄
index.cgi
(4.87 KB)
📄
install_pack.cgi
(4.82 KB)
📁
lang
📄
list_pack.cgi
(2.28 KB)
📄
module.info
(427 B)
📄
module.info.af
(0 B)
📄
module.info.af.auto
(154 B)
📄
module.info.ar
(0 B)
📄
module.info.ar.auto
(201 B)
📄
module.info.be
(0 B)
📄
module.info.be.auto
(282 B)
📄
module.info.bg
(0 B)
📄
module.info.bg.auto
(251 B)
📄
module.info.ca
(155 B)
📄
module.info.ca.auto
(31 B)
📄
module.info.cs
(40 B)
📄
module.info.cs.auto
(122 B)
📄
module.info.da
(0 B)
📄
module.info.da.auto
(153 B)
📄
module.info.de
(133 B)
📄
module.info.de.auto
(25 B)
📄
module.info.el
(0 B)
📄
module.info.el.auto
(263 B)
📄
module.info.es
(39 B)
📄
module.info.es.auto
(119 B)
📄
module.info.eu
(0 B)
📄
module.info.eu.auto
(141 B)
📄
module.info.fa
(0 B)
📄
module.info.fa.auto
(228 B)
📄
module.info.fi
(0 B)
📄
module.info.fi.auto
(156 B)
📄
module.info.fr
(41 B)
📄
module.info.fr.auto
(139 B)
📄
module.info.he
(0 B)
📄
module.info.he.auto
(186 B)
📄
module.info.hr
(0 B)
📄
module.info.hr.auto
(155 B)
📄
module.info.hu
(33 B)
📄
module.info.hu.auto
(125 B)
📄
module.info.it
(0 B)
📄
module.info.it.auto
(147 B)
📄
module.info.ja
(0 B)
📄
module.info.ja.auto
(228 B)
📄
module.info.ko
(0 B)
📄
module.info.ko.auto
(193 B)
📄
module.info.lt
(0 B)
📄
module.info.lt.auto
(181 B)
📄
module.info.lv
(0 B)
📄
module.info.lv.auto
(165 B)
📄
module.info.ms
(119 B)
📄
module.info.ms.auto
(25 B)
📄
module.info.mt
(0 B)
📄
module.info.mt.auto
(158 B)
📄
module.info.nl
(35 B)
📄
module.info.nl.auto
(122 B)
📄
module.info.no
(35 B)
📄
module.info.no.auto
(115 B)
📄
module.info.pl
(132 B)
📄
module.info.pl.auto
(33 B)
📄
module.info.pt
(0 B)
📄
module.info.pt.auto
(154 B)
📄
module.info.pt_BR
(0 B)
📄
module.info.pt_BR.auto
(163 B)
📄
module.info.ro
(0 B)
📄
module.info.ro.auto
(152 B)
📄
module.info.ru
(0 B)
📄
module.info.ru.auto
(278 B)
📄
module.info.sk
(0 B)
📄
module.info.sk.auto
(162 B)
📄
module.info.sl
(0 B)
📄
module.info.sl.auto
(159 B)
📄
module.info.sv
(0 B)
📄
module.info.sv.auto
(151 B)
📄
module.info.th
(0 B)
📄
module.info.th.auto
(351 B)
📄
module.info.tr
(0 B)
📄
module.info.tr.auto
(159 B)
📄
module.info.uk
(0 B)
📄
module.info.uk.auto
(272 B)
📄
module.info.ur
(0 B)
📄
module.info.ur.auto
(235 B)
📄
module.info.vi
(0 B)
📄
module.info.vi.auto
(162 B)
📄
module.info.zh
(0 B)
📄
module.info.zh.auto
(131 B)
📄
module.info.zh_TW
(0 B)
📄
module.info.zh_TW.auto
(140 B)
📄
open.cgi
(250 B)
📄
openall.cgi
(427 B)
📄
prefs.info
(28 B)
📄
refresh.cgi
(1.61 KB)
📄
search.cgi
(1.92 KB)
Editing: list_pack.cgi
#!/usr/bin/perl # list_pack.cgi # List all the files in some package require './cluster-software-lib.pl'; &ReadParse(); &ui_print_header(undef, $text{'list_title'}, ""); @servers = &list_servers(); ($s) = grep { $_->{'id'} == $in{'server'} } @servers; &remote_foreign_require($s->{'host'}, "software", "software-lib.pl"); print &ui_subheading(&text('list_files', "<tt>$in{'package'}</tt>", $s->{'desc'} ? $s->{'desc'} : $s->{'host'})); print "<table class='table table-striped table-hover table-condensed' width=100%>\n"; print "<thead><tr><th>$text{'list_path'}</th> ", "<th>$text{'list_owner'}</th> ", "<th>$text{'list_group'}</th> ", "<th>$text{'list_type'}</th> ", "<th>$text{'list_size'}</th> ", "<th>$text{'list_status'}</th> </tr></thead><tbody>\n"; $n = &remote_foreign_call($s->{'host'}, "software", "check_files", $in{'package'}); $files = &remote_eval($s->{'host'}, "software", "\\%files"); for($i=0; $i<$n; $i++) { $sz = $files->{$i,'size'}; $ty = $files->{$i,'type'}; print "<tr>\n"; if ($ty == 3 || $ty == 4) { print "<td valign=top>$files->{$i,'path'} -> ", "$files->{$i,'link'}</td>\n"; print "<td><br></td> <td><br></td>\n"; } else { print "<td valign=top><table width=100% cellpadding=0 ", "cellspacing=0><tr><td>", "$files->{$i,'path'}</td> <td align=right>\n"; if ($ty == 0 || $ty == 5) { print "<a href='view.cgi",$files->{$i,'path'}, "'>$text{'list_view'}</a>"; } print "</td></tr>","</table></td>\n"; print "<td valign=top>$files->{$i,'user'}</td>\n"; print "<td valign=top>$files->{$i,'group'}</td>\n"; } print "<td valign=top>$software::type_map[$ty]</td>\n"; if ($ty != 0) { $sz = "<br>"; } elsif ($sz > 1000000) { $sz = sprintf "%d MB", $sz/1000000; } elsif ($sz > 1000) { $sz = sprintf "%d kB", $sz/1000; } else { $sz .= " B"; } print "<td valign=top>$sz</td>\n"; $err = $files->{$i,'error'}; if ($err) { $err =~ s/</</g; $err =~ s/>/>/g; $err =~ s/\n/<br>/g; print "<td valign=top><font color=#ff0000>$err</font></td>\n"; } else { print "<td valign=top>$text{'list_ok'}</td>\n"; } print "</tr>\n"; } print "</tbody></table><p>\n"; &remote_finished(); &ui_print_footer("edit_pack.cgi?package=".&urlize($in{'package'})."&search=".&urlize($in{'search'}), $text{'edit_return'});
Upload File
Create Folder