/
usr
/
lib
/
/usr/lib
mkdir
upload
Name
Size
Mode
Actions
apt/
-
0755
rm
aspell/
-
0755
rm
bfd-plugins/
-
0755
rm
binfmt.d/
-
0755
rm
cbi/
-
0750
rm
ccron/
-
0755
rm
cgi-bin/
-
0755
rm
compat-ld/
-
0755
rm
diet/
-
0755
rm
dpkg/
-
0755
rm
emacs/
-
0755
rm
emacsen-common/
-
0755
rm
environment.d/
-
0755
rm
file/
-
0755
rm
gcc/
-
0755
rm
git-core/
-
0755
rm
gnupg/
-
0755
rm
gnupg2/
-
0755
rm
GraphicsMagick-1.4/
-
0755
rm
groff/
-
0755
rm
init/
-
0755
rm
ispell/
-
0755
rm
kernel/
-
0755
rm
klibc/
-
0755
rm
linux/
-
0755
rm
locale/
-
0755
rm
lsb/
-
0755
rm
man-db/
-
0755
rm
mc/
-
0755
rm
mime/
-
0755
rm
modprobe.d/
-
0755
rm
openssh/
-
0755
rm
pam.d/
-
0755
rm
pcrlock.d/
-
0755
rm
php8.3/
-
0755
rm
pkgconfig/
-
0755
rm
python3/
-
0755
rm
python3.13/
-
0755
rm
ruby/
-
0755
rm
sasl2/
-
0755
rm
ssl/
-
0755
rm
susshi/
-
0755
rm
sysctl.d/
-
0755
rm
systemd/
-
0755
rm
sysusers.d/
-
0755
rm
tmpfiles.d/
-
0755
rm
udev/
-
0755
rm
ui-infong-disable-utils/
-
0700
rm
valgrind/
-
0755
rm
X11/
-
0755
rm
x86_64-linux-gnu/
-
0755
rm
x86_64-linux-musl/
-
0755
rm
browscap.ini
591564
0644
edit
dl
rm
cpp
1166360
0755
edit
dl
rm
libc-client.so.2007e
1099752
0644
edit
dl
rm
libc-client.so.2007e.0
1099752
0644
edit
dl
rm
libGraphicsMagick-Q16.so.3
3224840
0644
edit
dl
rm
libGraphicsMagick-Q16.so.3.25.2
3224840
0644
edit
dl
rm
libGraphicsMagickWand-Q16.so.2
206688
0644
edit
dl
rm
libGraphicsMagickWand-Q16.so.2.10.1
206688
0644
edit
dl
rm
os-release
286
0644
edit
dl
rm
sendmail
1963
0755
edit
dl
rm
Edit:
/usr/sbin/sendmail
(1963B)
#! /usr/bin/perl # # sendmail wrapper to support multiple sendmail solutions in customer # context (chroots) on infongs. # use strict; use warnings; use 5.010; use Config::Tiny; my $DEBUG = $ENV{UI_DEBUG} // 0; use constant { CONFIGFILE => '/etc/ui-sendmail-wrapper.conf', EXITCODE => 127, }; sub error { my $errmsg = shift; print STDERR "Error: $errmsg\n"; exit EXITCODE; } sub debug { my $msg = shift; print STDERR "[DEBUG] $msg\n" if $DEBUG; } sub call { my @args = @_; my $cmd = shift @args; debug("Executing command: $cmd " . join(' ', @args)); no warnings; exec { $cmd } "/usr/sbin/sendmail", @args or error("could not execute $cmd: $!"); } ## ## MAIN ## # # Read config file my $config; if (-r CONFIGFILE) { $config = Config::Tiny->read(CONFIGFILE) or error("could not read config from " . CONFIGFILE); } $config //= {}; # # Initialize sendmail clients from config with defaults my $msmtp_exe = $config->{msmtp}->{executable} // '/usr/bin/msmtp'; debug("Sendmail Clients: msmtp=$msmtp_exe"); # # Get space owner (reverse uid lookup) my $spaceowner; { delete local @ENV{qw/USER LOGNAME/}; # this ensures we do not get back an account name $spaceowner = getpwuid($<) or error "could not resolve uid $<"; } debug("Space Owner: $spaceowner"); # # Get customer msmtp config my $msmtp_configfile_pattern = ( $config->{msmtp}->{configfile_pattern} // '/homepages/config/smtp/msmtprc.%s' ); my $msmtp_customer_config = sprintf($msmtp_configfile_pattern, $spaceowner); debug("Checking msmtp config file at $msmtp_customer_config."); # # Execute msmtp if customer msmtp config exists if (-r $msmtp_customer_config) { debug("Config found. Will execute msmtp with custom config"); call($msmtp_exe, "-C", $msmtp_customer_config, @ARGV); } else { error("This webspace is not enabled to use sendmail due to missing configuration."); } 1;
Save
cmd:
run