Linux server.thearyasamaj.org 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64
Apache
: 103.90.241.146 | : 216.73.216.28
Cant Read [ /etc/named.conf ]
5.6.40
ftpuser@mantra.thearyasamaj.org
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
libexec /
usermin /
[ HOME SHELL ]
Name
Size
Permission
Action
JSON
[ DIR ]
drwxr-xr-x
WebminUI
[ DIR ]
drwxr-xr-x
at
[ DIR ]
drwxr-xr-x
authentic-theme
[ DIR ]
drwxr-xr-x
blue-theme
[ DIR ]
drwxr-xr-x
changepass
[ DIR ]
drwxr-xr-x
chfn
[ DIR ]
drwxr-xr-x
commands
[ DIR ]
drwxr-xr-x
cron
[ DIR ]
drwxr-xr-x
cshrc
[ DIR ]
drwxr-xr-x
fetchmail
[ DIR ]
drwxr-xr-x
file
[ DIR ]
drwxr-xr-x
filemin
[ DIR ]
drwxr-xr-x
filter
[ DIR ]
drwxr-xr-x
forward
[ DIR ]
drwxr-xr-x
gnupg
[ DIR ]
drwxr-xr-x
gray-theme
[ DIR ]
drwxr-xr-x
htaccess
[ DIR ]
drwxr-xr-x
htaccess-htpasswd
[ DIR ]
drwxr-xr-x
images
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
language
[ DIR ]
drwxr-xr-x
mailbox
[ DIR ]
drwxr-xr-x
mailcap
[ DIR ]
drwxr-xr-x
man
[ DIR ]
drwxr-xr-x
mysql
[ DIR ]
drwxr-xr-x
plan
[ DIR ]
drwxr-xr-x
postgresql
[ DIR ]
drwxr-xr-x
proc
[ DIR ]
drwxr-xr-x
procmail
[ DIR ]
drwxr-xr-x
quota
[ DIR ]
drwxr-xr-x
schedule
[ DIR ]
drwxr-xr-x
shell
[ DIR ]
drwxr-xr-x
spam
[ DIR ]
drwxr-xr-x
ssh
[ DIR ]
drwxr-xr-x
telnet
[ DIR ]
drwxr-xr-x
theme
[ DIR ]
drwxr-xr-x
tunnel
[ DIR ]
drwxr-xr-x
twofactor
[ DIR ]
drwxr-xr-x
ulang
[ DIR ]
drwxr-xr-x
updown
[ DIR ]
drwxr-xr-x
usermount
[ DIR ]
drwxr-xr-x
LICENCE
1.48
KB
-rw-r--r--
LICENCE.ja
1.62
KB
-rw-r--r--
README
1.93
KB
-rw-r--r--
WebminCore.pm
7.65
KB
-rw-r--r--
acl_security.pl
2.89
KB
-rwxr-xr-x
chooser.cgi
7.21
KB
-rwxr-xr-x
config-aix
227
B
-rw-r--r--
config-cobalt-linux
264
B
-rw-r--r--
config-coherent-linux
264
B
-rw-r--r--
config-corel-linux
264
B
-rw-r--r--
config-debian-linux
264
B
-rw-r--r--
config-freebsd
256
B
-rw-r--r--
config-generic-linux
264
B
-rw-r--r--
config-gentoo-linux
264
B
-rw-r--r--
config-hpux
243
B
-rw-r--r--
config-irix
284
B
-rw-r--r--
config-lib.pl
10.83
KB
-rwxr-xr-x
config-macos
260
B
-rw-r--r--
config-mandrake-linux
278
B
-rw-r--r--
config-msc-linux
264
B
-rw-r--r--
config-netbsd
283
B
-rw-r--r--
config-open-linux
264
B
-rw-r--r--
config-openbsd
241
B
-rw-r--r--
config-openmamba-linux
264
B
-rw-r--r--
config-openserver
236
B
-rw-r--r--
config-osf1
266
B
-rw-r--r--
config-redhat-linux
264
B
-rw-r--r--
config-slackware-linux
280
B
-rw-r--r--
config-sol-linux
264
B
-rw-r--r--
config-solaris
417
B
-rw-r--r--
config-suse-linux
264
B
-rw-r--r--
config-trustix-linux
264
B
-rw-r--r--
config-turbo-linux
264
B
-rw-r--r--
config-united-linux
264
B
-rw-r--r--
config-unixware
286
B
-rw-r--r--
copyconfig.pl
4.33
KB
-rwxr-xr-x
date_chooser.cgi
2.19
KB
-rwxr-xr-x
defaultacl
98
B
-rw-r--r--
defaulttheme
16
B
-rw-r--r--
entities_map.txt
1.47
KB
-rw-r--r--
favicon.ico
14.73
KB
-rw-r--r--
feedback.cgi
6.37
KB
-rwxr-xr-x
feedback_form.cgi
3.45
KB
-rwxr-xr-x
group_chooser.cgi
7.36
KB
-rwxr-xr-x
help.cgi
2.06
KB
-rwxr-xr-x
index.cgi
5.55
KB
-rwxr-xr-x
install-module.pl
1.27
KB
-rwxr-xr-x
install-type
4
B
-rw-r--r--
javascript-lib.pl
14.69
KB
-rwxr-xr-x
lang_list.txt
3.41
KB
-rw-r--r--
maketemp.pl
424
B
-rwxr-xr-x
mime.types
12.42
KB
-rw-r--r--
miniserv.pem
974
B
-rw-r--r--
miniserv.pl
171.07
KB
-rwxr-xr-x
newmods.pl
1.25
KB
-rwxr-xr-x
os_list.txt
33.58
KB
-rw-r--r--
oschooser.pl
4.55
KB
-rwxr-xr-x
pam_login.cgi
2.65
KB
-rwxr-xr-x
password_change.cgi
7
KB
-rwxr-xr-x
password_form.cgi
1.3
KB
-rwxr-xr-x
perlpath.pl
571
B
-rwxr-xr-x
robots.txt
26
B
-rw-r--r--
rpm-name
8
B
-rw-r--r--
session_login.cgi
3.35
KB
-rwxr-xr-x
setup.sh
24.78
KB
-rwxr-xr-x
switch_user.cgi
404
B
-rwxr-xr-x
thirdparty.pl
1.73
KB
-rwxr-xr-x
uconfig.cgi
1.39
KB
-rwxr-xr-x
uconfig_save.cgi
1.46
KB
-rwxr-xr-x
ui-lib.pl
82.48
KB
-rwxr-xr-x
update-from-repo.sh
14.8
KB
-rwxr-xr-x
updateboot.pl
1.89
KB
-rwxr-xr-x
uptracker.cgi
2.88
KB
-rwxr-xr-x
user_chooser.cgi
7.29
KB
-rwxr-xr-x
usermin-debian-pam
104
B
-rw-r--r--
usermin-init
1.88
KB
-rwxr-xr-x
usermin-pam
101
B
-rw-r--r--
usermin-pam-osx
243
B
-rw-r--r--
usermin-systemd
352
B
-rw-r--r--
version
6
B
-rw-r--r--
web-lib-funcs.pl
328.14
KB
-rwxr-xr-x
web-lib.pl
907
B
-rwxr-xr-x
webmin-search-lib.pl
8.93
KB
-rwxr-xr-x
webmin_search.cgi
2.63
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : oschooser.pl
#!/usr/bin/perl # oschooser.pl # Read the list of operating systems and ask the user to choose # an OS and version # auto param: 0 = always ask user # 1 = automatic, give up if fails # 2 = automatic, ask user if fails # 3 = automatic, ask user if fails and if a TTY $| = 1; ($oslist, $out, $auto) = @ARGV; open(OS, "<".$oslist) || die "failed to open $oslist : $!"; while(<OS>) { chop; if (/^([^\t]+)\t+([^\t]+)\t+([^\t]+)\t+([^\t]+)\t*(.*)$/) { push(@list, [ $1, $2, $3, $4, $5 ]); push(@names, $1) if (!$donename{$1}++); $names_to_real{$1} ||= $3; } } close(OS); if ($auto) { # Try to guess the OS name and version if (-r "/etc/.issue") { $etc_issue = `cat /etc/.issue`; } elsif (-r "/etc/issue") { $etc_issue = `cat /etc/issue`; } if (-r "/etc/os-release") { $os_release = `cat /etc/os-release`; } if (&has_command('uname')) { $uname = `uname -a 2>/dev/null`; } foreach $o (@list) { if ("$^O" =~ /MSWin32/ && "$o->[2]" !~ /windows/) { next; } if ($o->[4] && eval "$o->[4]") { # Got a match! Resolve the versions $ver = $o; if ($ver->[1] =~ /\$/) { $ver->[1] = eval "($o->[4]); $ver->[1]"; } if ($ver->[3] =~ /\$/) { $ver->[3] = eval "($o->[4]); $ver->[3]"; } last; } if ($@) { print STDERR "Error parsing $o->[4]\n"; } } if (!$ver) { if ($auto == 1) { # Failed .. give up print "Failed to detect operating system\n"; exit 1; } elsif ($auto == 3) { # Do we have a tty? local $rv = system("tty >/dev/null 2>&1"); if ($?) { print "Failed to detect operating system\n"; exit 1; } else { $auto = 0; } } else { # Ask the user $auto = 0; } } } if (!$auto) { if (0 && &has_command("dialog")) { # call the dialog command to ask for the OS (disabled for now) $cmd = "dialog --menu \"Please select your operating system type from the list below\" 20 60 12"; for($i=0; $i<@names; $i++) { $cmd .= " ".($i+1)." '$names[$i]'"; } $tmp_base = $ENV{'tempdir'} || "/tmp/.webmin"; $temp = "$tmp_base/dialog.out"; system("$cmd 2>$temp"); $osnum = `cat $temp`; $osnum = int($osnum); if (!$osnum) { #unlink($temp); print "ERROR: No operating system selected\n\n"; exit 9; } # call the dialog command to ask for the version $name = $names[$osnum-1]; @vers = grep { $_->[0] eq $name } @list; $cmd = "dialog --menu \"Please select your operating system's version from the list below\" 20 60 12"; for($i=0; $i<@vers; $i++) { $cmd .= " ".($i+1)." '$name $vers[$i]->[1]'"; } system("$cmd 2>$temp"); $vnum = `cat $temp`; $vnum = int($vnum); unlink($temp); if (!$vnum) { print "ERROR: No operating system version selected\n\n"; exit 9; } $ver = $vers[$vnum-1]; } else { # ask for the operating system name ourselves $dashes = "-" x 75; print <<EOF; For Webmin to work properly, it needs to know which operating system type and version you are running. Please select your system type by entering the number next to it from the list below $dashes EOF for($i=0; $i<@names; $i++) { printf " %2d) %-20.20s ", $i+1, $names[$i]; print "\n" if ($i%3 == 2); } print "\n" if ($i%3); print $dashes,"\n"; print "Operating system: "; chop($osnum = <STDIN>); if ($osnum !~ /^\d+$/) { print "ERROR: You must enter the number next to your operating\n"; print "system, not its name or version number.\n\n"; exit 9; } if ($osnum < 1 || $osnum > @names) { print "ERROR: $osnum is not a valid operating system number.\n\n"; exit 10; } print "\n"; # Ask for the operating system version $name = $names[$osnum-1]; print <<EOF; Please enter the version of $name you are running EOF print "Version: "; chop($vnum = <STDIN>); if ($vnum !~ /^\S+$/) { print "ERROR: An operating system number cannot contain\n\n"; print "spaces. It must be like 2.1 or ES4.0.\n"; exit 10; } print "\n"; $ver = [ $name, $vnum, $names_to_real{$name}, $vnum ]; } } # Write the name, version and real name and version to a file open(OUT, ">$out"); print OUT "os_type='",$ver->[2],"'\n"; print OUT "os_version='",$ver->[3],"'\n"; print OUT "real_os_type='",$ver->[0],"'\n"; print OUT "real_os_version='",$ver->[1],"'\n"; close(OUT); # has_command(command) # Returns the full path if some command is in the path, undef if not sub has_command { local($d); if (!$_[0]) { return undef; } local $rv = undef; if ($_[0] =~ /^\//) { $rv = (-x $_[0]) ? $_[0] : undef; } else { foreach $d (split(/:/ , $ENV{PATH})) { if (-x "$d/$_[0]") { $rv = "$d/$_[0]"; last; } } } return $rv; }
Close