X7ROOT File Manager
Current Path:
/usr/libexec/usermin
usr
/
libexec
/
usermin
/
📁
..
📁
JSON
📄
LICENCE
(1.48 KB)
📄
LICENCE.ja
(1.62 KB)
📄
README
(1.93 KB)
📄
WebminCore.pm
(7.65 KB)
📁
WebminUI
📄
acl_security.pl
(2.89 KB)
📁
at
📁
authentic-theme
📁
blue-theme
📁
changepass
📁
chfn
📄
chooser.cgi
(7.21 KB)
📁
commands
📄
config-aix
(227 B)
📄
config-cobalt-linux
(264 B)
📄
config-coherent-linux
(264 B)
📄
config-corel-linux
(264 B)
📄
config-debian-linux
(264 B)
📄
config-freebsd
(256 B)
📄
config-generic-linux
(264 B)
📄
config-gentoo-linux
(264 B)
📄
config-hpux
(243 B)
📄
config-irix
(284 B)
📄
config-lib.pl
(10.83 KB)
📄
config-macos
(260 B)
📄
config-mandrake-linux
(278 B)
📄
config-msc-linux
(264 B)
📄
config-netbsd
(283 B)
📄
config-open-linux
(264 B)
📄
config-openbsd
(241 B)
📄
config-openmamba-linux
(264 B)
📄
config-openserver
(236 B)
📄
config-osf1
(266 B)
📄
config-redhat-linux
(264 B)
📄
config-slackware-linux
(280 B)
📄
config-sol-linux
(264 B)
📄
config-solaris
(417 B)
📄
config-suse-linux
(264 B)
📄
config-trustix-linux
(264 B)
📄
config-turbo-linux
(264 B)
📄
config-united-linux
(264 B)
📄
config-unixware
(286 B)
📄
copyconfig.pl
(4.33 KB)
📁
cron
📁
cshrc
📄
date_chooser.cgi
(2.19 KB)
📄
defaultacl
(98 B)
📄
defaulttheme
(16 B)
📄
entities_map.txt
(1.47 KB)
📄
favicon.ico
(14.73 KB)
📄
feedback.cgi
(6.37 KB)
📄
feedback_form.cgi
(3.45 KB)
📁
fetchmail
📁
file
📁
filemin
📁
filter
📁
forward
📁
gnupg
📁
gray-theme
📄
group_chooser.cgi
(7.36 KB)
📄
help.cgi
(2.06 KB)
📁
htaccess
📁
htaccess-htpasswd
📁
images
📄
index.cgi
(5.55 KB)
📄
install-module.pl
(1.27 KB)
📄
install-type
(4 B)
📄
javascript-lib.pl
(14.69 KB)
📁
lang
📄
lang_list.txt
(3.41 KB)
📁
language
📁
mailbox
📁
mailcap
📄
maketemp.pl
(424 B)
📁
man
📄
mime.types
(12.42 KB)
📄
miniserv.pem
(974 B)
📄
miniserv.pl
(171.07 KB)
📁
mysql
📄
newmods.pl
(1.25 KB)
📄
os_list.txt
(33.58 KB)
📄
oschooser.pl
(4.55 KB)
📄
pam_login.cgi
(2.65 KB)
📄
password_change.cgi
(7 KB)
📄
password_form.cgi
(1.3 KB)
📄
perlpath.pl
(571 B)
📁
plan
📁
postgresql
📁
proc
📁
procmail
📁
quota
📄
robots.txt
(26 B)
📄
rpm-name
(8 B)
📁
schedule
📄
session_login.cgi
(3.35 KB)
📄
setup.sh
(24.78 KB)
📁
shell
📁
spam
📁
ssh
📄
switch_user.cgi
(404 B)
📁
telnet
📁
theme
📄
thirdparty.pl
(1.73 KB)
📁
tunnel
📁
twofactor
📄
uconfig.cgi
(1.39 KB)
📄
uconfig_save.cgi
(1.46 KB)
📄
ui-lib.pl
(82.48 KB)
📁
ulang
📄
update-from-repo.sh
(14.8 KB)
📄
updateboot.pl
(1.89 KB)
📁
updown
📄
uptracker.cgi
(2.88 KB)
📄
user_chooser.cgi
(7.29 KB)
📄
usermin-debian-pam
(104 B)
📄
usermin-init
(1.88 KB)
📄
usermin-pam
(101 B)
📄
usermin-pam-osx
(243 B)
📄
usermin-systemd
(352 B)
📁
usermount
📄
version
(6 B)
📄
web-lib-funcs.pl
(328.14 KB)
📄
web-lib.pl
(907 B)
📄
webmin-search-lib.pl
(8.93 KB)
📄
webmin_search.cgi
(2.63 KB)
Editing: session_login.cgi
#!/usr/bin/perl # session_login.cgi # Display the login form used in session login mode BEGIN { push(@INC, "."); }; use WebminCore; $pragma_no_cache = 1; #$ENV{'MINISERV_INTERNAL'} || die "Can only be called by miniserv.pl"; &init_config(); &ReadParse(undef, undef, undef, 2); if ($gconfig{'loginbanner'} && $ENV{'HTTP_COOKIE'} !~ /banner=1/ && !$in{'logout'} && !$in{'failed'} && !$in{'timed_out'}) { # Show pre-login HTML page print "Set-Cookie: banner=1; path=/\r\n"; &PrintHeader(); $url = $in{'page'}; open(BANNER, "<$gconfig{'loginbanner'}"); while(<BANNER>) { s/LOGINURL/$url/g; print; } close(BANNER); return; } &get_miniserv_config(\%miniserv); $sec = uc($ENV{'HTTPS'}) eq 'ON' ? "; secure" : ""; if (!$miniserv{'no_httponly'}) { $sec .= "; httpOnly"; } $sidname = $miniserv{'sidname'} || "sid"; print "Set-Cookie: banner=0; path=/$sec\r\n" if ($gconfig{'loginbanner'}); print "Set-Cookie: $sidname=x; path=/$sec\r\n" if ($in{'logout'}); print "Set-Cookie: testing=1; path=/$sec\r\n"; $title = $text{'session_header'}; if ($gconfig{'showhost'}) { $title = &get_display_hostname()." : ".$title; } &ui_print_unbuffered_header( undef, undef, undef, undef, undef, 1, 1, undef, "<title>$title</title>", "onLoad='document.forms[0].user.focus()'"); if ($tconfig{'inframe'}) { # Framed themes lose original page $in{'page'} = "/"; } print "<center>\n"; if (defined($in{'failed'})) { if ($in{'twofactor_msg'}) { print "<h3>",&text('session_twofailed', &html_escape($in{'twofactor_msg'})),"</h3><p></p>\n"; } else { print "<h3>$text{'session_failed'}</h3><p></p>\n"; } } elsif ($in{'logout'}) { print "<h3>$text{'session_logout'}</h3><p></p>\n"; } elsif ($in{'timed_out'}) { print "<h3>",&text('session_timed_out', int($in{'timed_out'}/60)),"</h3><p></p>\n"; } print "$text{'session_prefix'}\n"; print &ui_form_start("@{[&get_webprefix()]}/session_login.cgi", "post"); print &ui_hidden("page", $in{'page'}); print &ui_table_start($text{'session_header'}, "width=40% class='loginform'", 2); # Login message if ($gconfig{'realname'}) { $host = &get_display_hostname(); } else { $host = $ENV{'HTTP_HOST'}; $host =~ s/:\d+//g; $host = &html_escape($host); } print &ui_table_row(undef, &text($gconfig{'nohostname'} ? 'session_mesg2' : 'session_mesg', "<tt>$host</tt>"), 2, [ "align=center", "align=center" ]); # Username and password $tags = $gconfig{'noremember'} ? "autocomplete=off" : ""; print &ui_table_row($text{'session_user'}, &ui_textbox("user", $in{'failed'}, 20, 0, undef, $tags)); print &ui_table_row($text{'session_pass'}, &ui_password("pass", undef, 20, 0, undef, $tags)); # Two-factor token, for users that have it if ($miniserv{'twofactor_provider'}) { print &ui_table_row($text{'session_twofactor'}, &ui_textbox("twofactor", undef, 20, 0, undef, "autocomplete=off")); } # Remember session cookie? if (!$gconfig{'noremember'}) { print &ui_table_row(" ", &ui_checkbox("save", 1, $text{'session_save'}, 0)); } print &ui_table_end(),"\n"; print &ui_submit($text{'session_login'}); print &ui_reset($text{'session_clear'}); print &ui_form_end(); print "</center>\n"; print "$text{'session_postfix'}\n"; # Output frame-detection Javascript, if theme uses frames if ($tconfig{'inframe'}) { print <<EOF; <script> if (window != window.top) { window.top.location = window.location; } </script> EOF } &ui_print_footer();
Upload File
Create Folder