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.186
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 /
smart-status /
[ HOME SHELL ]
Name
Size
Permission
Action
images
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
CHANGELOG
1.34
KB
-rw-r--r--
action.cgi
810
B
-rwxr-xr-x
config
41
B
-rw-r--r--
config-CentOS-Linux-5.0-6.9
41
B
-rw-r--r--
config-Redhat-Enterprise-Linux...
41
B
-rw-r--r--
config.info
221
B
-rw-r--r--
config.info.ca
264
B
-rw-r--r--
config.info.de
261
B
-rw-r--r--
config.info.es
166
B
-rw-r--r--
config.info.fr
0
B
-rw-r--r--
config.info.ms
245
B
-rw-r--r--
config.info.nl
251
B
-rw-r--r--
config.info.no
230
B
-rw-r--r--
config.info.ru
360
B
-rw-r--r--
index.cgi
4.37
KB
-rwxr-xr-x
install_check.pl
343
B
-rwxr-xr-x
module.info
195
B
-rw-r--r--
module.info.af
0
B
-rw-r--r--
module.info.af.auto
127
B
-rw-r--r--
module.info.ar
0
B
-rw-r--r--
module.info.ar.auto
152
B
-rw-r--r--
module.info.be
0
B
-rw-r--r--
module.info.be.auto
169
B
-rw-r--r--
module.info.bg
0
B
-rw-r--r--
module.info.bg.auto
230
B
-rw-r--r--
module.info.ca
136
B
-rw-r--r--
module.info.cs
26
B
-rw-r--r--
module.info.cs.auto
91
B
-rw-r--r--
module.info.da
0
B
-rw-r--r--
module.info.da.auto
126
B
-rw-r--r--
module.info.de
144
B
-rw-r--r--
module.info.el
0
B
-rw-r--r--
module.info.el.auto
222
B
-rw-r--r--
module.info.es
37
B
-rw-r--r--
module.info.es.auto
102
B
-rw-r--r--
module.info.eu
0
B
-rw-r--r--
module.info.eu.auto
127
B
-rw-r--r--
module.info.fa
0
B
-rw-r--r--
module.info.fa.auto
190
B
-rw-r--r--
module.info.fi
0
B
-rw-r--r--
module.info.fi.auto
116
B
-rw-r--r--
module.info.fr
0
B
-rw-r--r--
module.info.fr.auto
143
B
-rw-r--r--
module.info.he
0
B
-rw-r--r--
module.info.he.auto
158
B
-rw-r--r--
module.info.hr
0
B
-rw-r--r--
module.info.hr.auto
123
B
-rw-r--r--
module.info.hu
0
B
-rw-r--r--
module.info.hu.auto
163
B
-rw-r--r--
module.info.it
0
B
-rw-r--r--
module.info.it.auto
132
B
-rw-r--r--
module.info.ja
0
B
-rw-r--r--
module.info.ja.auto
166
B
-rw-r--r--
module.info.ko
0
B
-rw-r--r--
module.info.ko.auto
156
B
-rw-r--r--
module.info.lt
0
B
-rw-r--r--
module.info.lt.auto
135
B
-rw-r--r--
module.info.lv
0
B
-rw-r--r--
module.info.lv.auto
129
B
-rw-r--r--
module.info.ms
117
B
-rw-r--r--
module.info.mt
0
B
-rw-r--r--
module.info.mt.auto
125
B
-rw-r--r--
module.info.nl
27
B
-rw-r--r--
module.info.nl.auto
110
B
-rw-r--r--
module.info.no
25
B
-rw-r--r--
module.info.no.auto
100
B
-rw-r--r--
module.info.pl
0
B
-rw-r--r--
module.info.pl.auto
120
B
-rw-r--r--
module.info.pt
0
B
-rw-r--r--
module.info.pt.auto
130
B
-rw-r--r--
module.info.pt_BR
0
B
-rw-r--r--
module.info.pt_BR.auto
136
B
-rw-r--r--
module.info.ro
0
B
-rw-r--r--
module.info.ro.auto
136
B
-rw-r--r--
module.info.ru
46
B
-rw-r--r--
module.info.ru.auto
157
B
-rw-r--r--
module.info.sk
26
B
-rw-r--r--
module.info.sk.auto
95
B
-rw-r--r--
module.info.sl
0
B
-rw-r--r--
module.info.sl.auto
120
B
-rw-r--r--
module.info.sv
0
B
-rw-r--r--
module.info.sv.auto
134
B
-rw-r--r--
module.info.th
0
B
-rw-r--r--
module.info.th.auto
273
B
-rw-r--r--
module.info.tr
0
B
-rw-r--r--
module.info.tr.auto
145
B
-rw-r--r--
module.info.uk
0
B
-rw-r--r--
module.info.uk.auto
190
B
-rw-r--r--
module.info.ur
0
B
-rw-r--r--
module.info.ur.auto
213
B
-rw-r--r--
module.info.vi
0
B
-rw-r--r--
module.info.vi.auto
172
B
-rw-r--r--
module.info.zh
0
B
-rw-r--r--
module.info.zh.auto
109
B
-rw-r--r--
module.info.zh_TW
0
B
-rw-r--r--
module.info.zh_TW.auto
115
B
-rw-r--r--
prefs.info
20
B
-rw-r--r--
smart-status-lib.pl
12.98
KB
-rwxr-xr-x
status_monitor.pl
4.17
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : status_monitor.pl
do 'smart-status-lib.pl'; # status_monitor_list() # Just one type is supported sub status_monitor_list { if (&has_command($config{'smartctl'})) { return ( [ "smart", $text{'monitor_type'} ], [ "wearout", $text{'monitor_type2'} ] ); } else { return ( ); } } # status_monitor_status(type, &monitor, from-ui) # Check the drive status sub status_monitor_status { local ($type, $mon, $ui) = @_; local @drives = &list_smart_disks_partitions(); local ($d) = grep { ($_->{'device'} eq $mon->{'drive'} || &indexof($mon->{'drive'}, @{$_->{'ids'}}) >= 0) && $_->{'subdisk'} eq $mon->{'subdisk'} } @drives; if (!$d) { # Not in list?! return { 'up' => -1, 'desc' => $text{'monitor_nosuch'} }; } local $st = &get_drive_status($d->{'device'}, $d); if (!$st->{'support'} || !$st->{'enabled'}) { # SMART not enabled on device return { 'up' => -1, 'desc' => $text{'monitor_nosmart'} }; } if ($type eq "wearout") { # Check SSD wear level local $wo; foreach my $a (@{$st->{'attribs'}}) { if ($a->[0] eq "Media Wearout Indicator") { $wo = $a; last; } } if (!$wo) { return { 'up' => -1, 'desc' => $text{'monitor_nowearout'} }; } if ($wo->[3] < $mon->{'wearlevel'}) { return { 'up' => 0, 'desc' => &text('monitor_wornout', $wo->[3]), 'value' => $wo->[3] }; } else { return { 'up' => 1, 'value' => $wo->[3] }; } } else { # Record number of errors since last time local %errors; local $errors_file = "$module_config_directory/last-errors"; &read_file($errors_file, \%errors); local %lasterrors = %errors; $errors{$mon->{'drive'}} = $st->{'errors'}; &write_file($errors_file, \%errors); # Check for errors if (!$st->{'check'}) { # Check failed return { 'up' => 0 }; } elsif ($st->{'errors'} && $mon->{'errors'} == 1) { # Errors found, and failing on any errors return { 'up' => 0, 'value' => $st->{'errors'}, 'desc' => &text('monitor_errorsfound', $st->{'errors'}) }; } elsif ($st->{'errors'} && $mon->{'errors'} == 2 && $st->{'errors'} > $lasterrors{$mon->{'drive'}}) { # Errors found and have increased return { 'up' => 0, 'value' => $st->{'errors'}, 'desc' => &text('monitor_errorsinced', $st->{'errors'}, $lasterrors{$mon->{'drive'}}) }; } else { # All OK! return { 'up' => 1, 'value' => $st->{'errors'} }; } } } # status_monitor_dialog(type, &monitor) # Return form for selecting a drive sub status_monitor_dialog { local ($type, $mon) = @_; local $rv; local @drives = &list_smart_disks_partitions(); local ($inlist, $invalue); foreach my $d (@drives) { if ($d->{'device'} eq $mon->{'drive'} && $d->{'subdisk'} eq $mon->{'subdisk'}) { $inlist = 1; $invalue = $mon->{'drive'}.":".$mon->{'subdisk'}; } elsif (&indexof($mon->{'drive'}, @{$d->{'ids'}}) >= 0 && $d->{'subdisk'} eq $mon->{'subdisk'}) { $inlist = 1; $invalue = $d->{'id'}.":".$mon->{'subdisk'}; } } $inlist = 1 if (!$mon->{'drive'}); $rv .= &ui_table_row($text{'monitor_drive'}, &ui_select("drive", !$mon->{'drive'} ? $drives[0]->{'device'} : $invalue, [ (map { [ ($_->{'id'} || $_->{'device'}).':'.$_->{'subdisk'}, $_->{'desc'}.($_->{'model'} ? " ($_->{'model'})" : "") ] } @drives), [ "", $text{'monitor_other'} ] ]). &ui_textbox("other", $inlist ? "" : $mon->{'drive'}, 15), 3); if ($type eq "wearout") { $rv .= &ui_table_row($text{'monitor_wearlevel'}, &ui_textbox("wearlevel", $mon->{'wearlevel'} || 10, 5)."%"); } else { $rv .= &ui_table_row($text{'monitor_errors'}, &ui_radio("errors", $mon->{'errors'} || 0, [ [ 1, $text{'yes'} ], [ 0, $text{'no'} ], [ 2, $text{'monitor_errorsinc'} ] ])); } return $rv; } # status_monitor_parse(type, &monitor, &in) # Parse form for selecting a rule sub status_monitor_parse { local ($type, $mon, $in) = @_; if ($in->{'drive'}) { ($mon->{'drive'}, $mon->{'subdisk'}) = split(/:/, $in->{'drive'}); } else { $mon->{'drive'} = $in->{'other'}; $mon->{'subdisk'} = undef; $mon->{'drive'} =~ /^\S+$/ || &error($text{'monitor_edrive'}); } if ($type eq "wearout") { $in->{'wearlevel'} =~ /^\d+(\.\d+)?$/ || &error($text{'monitor_ewearlevel'}); $mon->{'wearlevel'} = $in->{'wearlevel'}; } else { $mon->{'errors'} = $in->{'errors'}; } } 1;
Close