Hackfut Security File Manager
Current Path:
/usr/share/perl5
usr
/
share
/
perl5
/
📁
..
📄
AnyDBM_File.pm
(2.53 KB)
📁
App
📁
Archive
📁
Attribute
📄
AutoLoader.pm
(14.65 KB)
📄
AutoSplit.pm
(19.18 KB)
📁
B
📄
Benchmark.pm
(27.86 KB)
📁
CGI
📄
CGI.pm
(255.35 KB)
📄
CORE.pod
(1.53 KB)
📁
CPAN
📄
CPAN.pm
(144.4 KB)
📁
CPANPLUS
📄
CPANPLUS.pm
(7.1 KB)
📁
Carp
📄
Carp.pm
(7.43 KB)
📁
Class
📁
Config
📄
DB.pm
(18.75 KB)
📁
DBM_Filter
📄
DBM_Filter.pm
(14.08 KB)
📁
Date
📁
Devel
📁
Digest
📄
Digest.pm
(10.17 KB)
📄
DirHandle.pm
(1.89 KB)
📄
Dumpvalue.pm
(16.5 KB)
📁
Encode
📄
English.pm
(4.38 KB)
📄
Env.pm
(5.05 KB)
📄
Expect.pm
(53.44 KB)
📄
Expect.pod
(42.71 KB)
📁
Exporter
📄
Exporter.pm
(18.16 KB)
📁
ExtUtils
📄
Fatal.pm
(40.01 KB)
📁
File
📄
FileCache.pm
(5.44 KB)
📄
FileHandle.pm
(6.62 KB)
📁
Filter
📄
FindBin.pm
(5.53 KB)
📁
Getopt
📁
I18N
📁
IO
📁
IPC
📁
JSON
📁
Locale
📁
Log
📁
Math
📁
Memoize
📄
Memoize.pm
(34.47 KB)
📁
Module
📄
NEXT.pm
(18.05 KB)
📁
Net
📁
Object
📁
Package
📁
Params
📁
Parse
📁
PerlIO
📄
PerlIO.pm
(10.86 KB)
📁
Pod
📄
Safe.pm
(23.76 KB)
📁
Search
📄
SelectSaver.pm
(1.05 KB)
📄
SelfLoader.pm
(16.93 KB)
📄
Shell.pm
(8.48 KB)
📄
Switch.pm
(27.84 KB)
📄
Symbol.pm
(4.68 KB)
📁
TAP
📁
Term
📁
Test
📄
Test.pm
(28.13 KB)
📁
Test2
📄
Test2.pm
(6.24 KB)
📁
Text
📁
Thread
📄
Thread.pm
(8.09 KB)
📁
Tie
📁
Time
📄
UNIVERSAL.pm
(6.38 KB)
📁
Unicode
📁
User
📄
abbrev.pl
(838 B)
📄
assert.pl
(1.27 KB)
📄
attributes.pm
(14.53 KB)
📁
autodie
📄
autodie.pm
(11.49 KB)
📄
autouse.pm
(4.14 KB)
📄
base.pm
(6.82 KB)
📄
bigfloat.pl
(7.2 KB)
📄
bigint.pl
(8.75 KB)
📄
bigint.pm
(17.43 KB)
📄
bignum.pm
(18.24 KB)
📄
bigrat.pl
(4.37 KB)
📄
bigrat.pm
(14.1 KB)
📄
blib.pm
(2.06 KB)
📄
bytes.pm
(2.33 KB)
📄
bytes_heavy.pl
(758 B)
📄
cacheout.pl
(1.1 KB)
📄
charnames.pm
(15.3 KB)
📄
complete.pl
(3.12 KB)
📄
constant.pm
(12.23 KB)
📄
ctime.pl
(1.95 KB)
📄
diagnostics.pm
(16.97 KB)
📄
dotsh.pl
(2.12 KB)
📄
dumpvar.pl
(14.92 KB)
📁
encoding
📄
exceptions.pl
(1.7 KB)
📄
fastcwd.pl
(1019 B)
📄
feature.pm
(4.97 KB)
📄
fields.pm
(9.28 KB)
📄
filetest.pm
(3.91 KB)
📄
find.pl
(1.16 KB)
📄
finddepth.pl
(1.1 KB)
📄
flush.pl
(642 B)
📄
getcwd.pl
(1.39 KB)
📄
getopt.pl
(1.29 KB)
📄
getopts.pl
(1.37 KB)
📄
hostname.pl
(727 B)
📄
if.pm
(1.14 KB)
📄
importenv.pl
(283 B)
📄
integer.pm
(3.19 KB)
📄
less.pm
(3.01 KB)
📄
locale.pm
(820 B)
📄
look.pl
(1.23 KB)
📄
newgetopt.pl
(2.16 KB)
📄
ok.pm
(967 B)
📄
open.pm
(7.56 KB)
📄
open2.pl
(185 B)
📄
open3.pl
(185 B)
📁
overload
📄
overload.pm
(46.92 KB)
📄
overloading.pm
(1.76 KB)
📄
parent.pm
(2.93 KB)
📄
perl5db.pl
(310.24 KB)
📁
pod
📄
pwd.pl
(1.44 KB)
📄
shellwords.pl
(276 B)
📄
sigtrap.pm
(7.43 KB)
📄
sort.pm
(5.95 KB)
📄
stat.pl
(590 B)
📄
strict.pm
(3.63 KB)
📄
subs.pm
(842 B)
📄
syslog.pl
(4.69 KB)
📄
tainted.pl
(164 B)
📄
termcap.pl
(4.02 KB)
📄
timelocal.pl
(690 B)
📁
unicore
📄
utf8.pm
(6.76 KB)
📄
utf8_heavy.pl
(7.81 KB)
📄
validate.pl
(3.64 KB)
📄
vars.pm
(2.3 KB)
📁
vendor_perl
📁
version
📄
vmsish.pm
(4.23 KB)
📁
warnings
📄
warnings.pm
(15.75 KB)
Editing: termcap.pl
;# $RCSfile: termcap.pl,v $$Revision: 4.1 $$Date: 92/08/07 18:24:16 $ # # 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: Term::Cap # ;# ;# Usage: ;# require 'ioctl.pl'; ;# ioctl(TTY,$TIOCGETP,$foo); ;# ($ispeed,$ospeed) = unpack('cc',$foo); ;# require 'termcap.pl'; ;# &Tgetent('vt100'); # sets $TC{'cm'}, etc. ;# &Tputs(&Tgoto($TC{'cm'},$col,$row), 0, 'FILEHANDLE'); ;# &Tputs($TC{'dl'},$affcnt,'FILEHANDLE'); ;# sub Tgetent { local($TERM) = @_; local($TERMCAP,$_,$entry,$loop,$field); # warn "Tgetent: no ospeed set" unless $ospeed; foreach $key (keys %TC) { delete $TC{$key}; } $TERM = $ENV{'TERM'} unless $TERM; $TERM =~ s/(\W)/\\$1/g; $TERMCAP = $ENV{'TERMCAP'}; $TERMCAP = '/etc/termcap' unless $TERMCAP; if ($TERMCAP !~ m:^/:) { if ($TERMCAP !~ /(^|\|)$TERM[:\|]/) { $TERMCAP = '/etc/termcap'; } } if ($TERMCAP =~ m:^/:) { $entry = ''; do { $loop = " open(TERMCAP,'<$TERMCAP') || die \"Can't open $TERMCAP\"; while (<TERMCAP>) { next if /^#/; next if /^\t/; if (/(^|\\|)${TERM}[:\\|]/) { chop; while (chop eq '\\\\') { \$_ .= <TERMCAP>; chop; } \$_ .= ':'; last; } } close TERMCAP; \$entry .= \$_; "; eval $loop; } while s/:tc=([^:]+):/:/ && ($TERM = $1); $TERMCAP = $entry; } foreach $field (split(/:[\s:\\]*/,$TERMCAP)) { if ($field =~ /^\w\w$/) { $TC{$field} = 1; } elsif ($field =~ /^(\w\w)#(.*)/) { $TC{$1} = $2 if $TC{$1} eq ''; } elsif ($field =~ /^(\w\w)=(.*)/) { $entry = $1; $_ = $2; s/\\E/\033/g; s/\\(200)/pack('c',0)/eg; # NUL character s/\\(0\d\d)/pack('c',oct($1))/eg; # octal s/\\(0x[0-9A-Fa-f][0-9A-Fa-f])/pack('c',hex($1))/eg; # hex s/\\(\d\d\d)/pack('c',$1 & 0177)/eg; s/\\n/\n/g; s/\\r/\r/g; s/\\t/\t/g; s/\\b/\b/g; s/\\f/\f/g; s/\\\^/\377/g; s/\^\?/\177/g; s/\^(.)/pack('c',ord($1) & 31)/eg; s/\\(.)/$1/g; s/\377/^/g; $TC{$entry} = $_ if $TC{$entry} eq ''; } } $TC{'pc'} = "\0" if $TC{'pc'} eq ''; $TC{'bc'} = "\b" if $TC{'bc'} eq ''; } @Tputs = (0,200,133.3,90.9,74.3,66.7,50,33.3,16.7,8.3,5.5,4.1,2,1,.5,.2); sub Tputs { local($string,$affcnt,$FH) = @_; local($ms); if ($string =~ /(^[\d.]+)(\*?)(.*)$/) { $ms = $1; $ms *= $affcnt if $2; $string = $3; $decr = $Tputs[$ospeed]; if ($decr > .1) { $ms += $decr / 2; $string .= $TC{'pc'} x ($ms / $decr); } } print $FH $string if $FH; $string; } sub Tgoto { local($string) = shift(@_); local($result) = ''; local($after) = ''; local($code,$tmp) = @_; local(@tmp); @tmp = ($tmp,$code); local($online) = 0; while ($string =~ /^([^%]*)%(.)(.*)/) { $result .= $1; $code = $2; $string = $3; if ($code eq 'd') { $result .= sprintf("%d",shift(@tmp)); } elsif ($code eq '.') { $tmp = shift(@tmp); if ($tmp == 0 || $tmp == 4 || $tmp == 10) { if ($online) { ++$tmp, $after .= $TC{'up'} if $TC{'up'}; } else { ++$tmp, $after .= $TC{'bc'}; } } $result .= sprintf("%c",$tmp); $online = !$online; } elsif ($code eq '+') { $result .= sprintf("%c",shift(@tmp)+ord($string)); $string = substr($string,1,99); $online = !$online; } elsif ($code eq 'r') { ($code,$tmp) = @tmp; @tmp = ($tmp,$code); $online = !$online; } elsif ($code eq '>') { ($code,$tmp,$string) = unpack("CCa99",$string); if ($tmp[$[] > $code) { $tmp[$[] += $tmp; } } elsif ($code eq '2') { $result .= sprintf("%02d",shift(@tmp)); $online = !$online; } elsif ($code eq '3') { $result .= sprintf("%03d",shift(@tmp)); $online = !$online; } elsif ($code eq 'i') { ($code,$tmp) = @tmp; @tmp = ($code+1,$tmp+1); } else { return "OOPS"; } } $result . $string . $after; } 1;
Upload File
Create Folder