Linux ns8.secondary29.go.th 2.6.32-754.28.1.el6.x86_64 #1 SMP Wed Mar 11 18:38:45 UTC 2020 x86_64
Apache/2.2.15 (CentOS)
: 122.154.134.11 | : 122.154.134.9
Cant Read [ /etc/named.conf ]
5.6.40
apache
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 /
WebminUI /
[ HOME SHELL ]
Name
Size
Permission
Action
All.pm
969
B
-rw-r--r--
Button.pm
1.16
KB
-rw-r--r--
Checkbox.pm
1.19
KB
-rw-r--r--
Checkboxes.pm
2.49
KB
-rw-r--r--
Columns.pm
1.43
KB
-rw-r--r--
ConfirmPage.pm
1.14
KB
-rw-r--r--
Date.pm
2.11
KB
-rw-r--r--
DynamicBar.pm
2.35
KB
-rw-r--r--
DynamicHTML.pm
1.16
KB
-rw-r--r--
DynamicText.pm
2.42
KB
-rw-r--r--
DynamicWait.pm
2.49
KB
-rw-r--r--
ErrorPage.pm
565
B
-rw-r--r--
File.pm
1.57
KB
-rw-r--r--
Form.pm
7.94
KB
-rw-r--r--
Group.pm
1.44
KB
-rw-r--r--
Icon.pm
1.09
KB
-rw-r--r--
Input.pm
2.27
KB
-rw-r--r--
InputTable.pm
2.79
KB
-rw-r--r--
JavascriptButton.pm
970
B
-rw-r--r--
LinkTable.pm
6.39
KB
-rw-r--r--
Menu.pm
1.48
KB
-rw-r--r--
Multiline.pm
873
B
-rw-r--r--
OptTextarea.pm
2.85
KB
-rw-r--r--
OptTextbox.pm
1.94
KB
-rw-r--r--
Page.pm
8.41
KB
-rw-r--r--
Password.pm
639
B
-rw-r--r--
PlainText.pm
1.7
KB
-rw-r--r--
Properties.pm
2.6
KB
-rw-r--r--
Radios.pm
1.59
KB
-rw-r--r--
ResultPage.pm
520
B
-rw-r--r--
Section.pm
3.54
KB
-rw-r--r--
Select.pm
2.66
KB
-rw-r--r--
Submit.pm
788
B
-rw-r--r--
Table.pm
15.87
KB
-rw-r--r--
TableAction.pm
1.51
KB
-rw-r--r--
Tabs.pm
2.86
KB
-rw-r--r--
Textarea.pm
2.16
KB
-rw-r--r--
Textbox.pm
1.63
KB
-rw-r--r--
Time.pm
4.12
KB
-rw-r--r--
TitleList.pm
1.51
KB
-rw-r--r--
Upload.pm
1.48
KB
-rw-r--r--
User.pm
1.44
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : Date.pm
package WebminUI::Date; use WebminUI::Input; use Time::Local; use WebminCore; @ISA = ( "WebminUI::Input" ); =head2 new WebminUI::Date(name, time, [disabled]) Create a new field for selecting a date =cut sub new { if (defined(&WebminUI::Theme::Date::new)) { return new WebminUI::Theme::Date(@_[1..$#_]); } my ($self, $name, $value, $disabled) = @_; bless($self = { }); $self->set_name($name); $self->set_value($value); $self->set_disabled($disabled) if (defined($disabled)); return $self; } =head2 html() Returns the HTML for the date chooser =cut sub html { my ($self) = @_; my $rv; my @tm = localtime($self->get_value()); my $name = $self->get_name(); $rv .= &ui_date_input($tm[3], $tm[4]+1, $tm[5]+1900, "day_".$name, "month_".$name, "year_".$name, $self->get_disabled())." ". &date_chooser_button("day_".$name, "month_".$name, "year_".$name); return $rv; } =head2 get_value() Returns the date as a Unix time number (for zero o'clock) =cut sub get_value { my ($self) = @_; my $in = $self->{'form'} ? $self->{'form'}->{'in'} : undef; if ($in && defined($in->{"day_".$self->{'name'}})) { my $rv = $self->to_time($in); return defined($rv) ? $rv : $self->{'value'}; } elsif ($in && defined($in->{"ui_value_".$self->{'name'}})) { return $in->{"ui_value_".$self->{'name'}}; } else { return $self->{'value'}; } } sub to_time { my ($self, $in) = @_; my $day = $in->{"day_".$self->{'name'}}; return undef if ($day !~ /^\d+$/); my $month = $in->{"month_".$self->{'name'}}-1; my $year = $in->{"year_".$self->{'name'}}-1900; return undef if ($year !~ /^\d+$/); my $rv = eval { timelocal(0, 0, 0, $day, $month, $year) }; return $@ ? undef : $rv; } sub set_validation_func { my ($self, $func) = @_; $self->{'validation_func'} = $func; } =head2 validate() Ensures that the date is valid =cut sub validate { my ($self) = @_; my $tm = $self->to_time($self->{'form'}->{'in'}); if (!defined($tm)) { return ( $text{'ui_edate'} ); } if ($self->{'validation_func'}) { my $err = &{$self->{'validation_func'}}($self->get_value(), $self->{'name'}, $self->{'form'}); return ( $err ) if ($err); } return ( ); } 1;
Close