Linux worldls-302.fr.planethoster.net 4.18.0-553.8.1.lve.el7h.x86_64 #1 SMP Thu Jul 4 15:19:33 UTC 2024 x86_64
LiteSpeed
Server IP : 10.185.0.203 & Your IP : 216.73.216.32
Domains :
Cant Read [ /etc/named.conf ]
User : gerathty
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
perl5 /
vendor_perl /
Delete
Unzip
Name
Size
Permission
Date
Action
App
[ DIR ]
drwxr-xr-x
2017-07-03 22:04
Archive
[ DIR ]
drwxr-xr-x
2019-10-01 22:44
B
[ DIR ]
drwxr-xr-x
2019-06-17 23:11
Bundle
[ DIR ]
drwxr-xr-x
2017-07-04 03:41
Business
[ DIR ]
drwxr-xr-x
2017-07-03 22:11
CGI
[ DIR ]
drwxr-xr-x
2019-06-17 23:11
CPAN
[ DIR ]
drwxr-xr-x
2019-06-17 23:11
CPANPLUS
[ DIR ]
drwxr-xr-x
2019-06-17 23:11
Carp
[ DIR ]
drwxr-xr-x
2017-07-04 01:45
DBIx
[ DIR ]
drwxr-xr-x
2019-06-17 23:11
Date
[ DIR ]
drwxr-xr-x
2017-07-03 22:11
Devel
[ DIR ]
drwxr-xr-x
2019-06-17 23:11
Digest
[ DIR ]
drwxr-xr-x
2017-07-03 22:09
Encode
[ DIR ]
drwxr-xr-x
2017-07-03 22:11
Error
[ DIR ]
drwxr-xr-x
2017-07-03 22:04
Exporter
[ DIR ]
drwxr-xr-x
2017-07-04 01:45
ExtUtils
[ DIR ]
drwxr-xr-x
2017-09-19 01:21
File
[ DIR ]
drwxr-xr-x
2019-06-17 23:11
Getopt
[ DIR ]
drwxr-xr-x
2018-05-29 23:36
Git
[ DIR ]
drwxr-xr-x
2026-08-17 16:10
HTML
[ DIR ]
drwxr-xr-x
2017-07-03 22:11
HTTP
[ DIR ]
drwxr-xr-x
2018-12-19 18:49
IO
[ DIR ]
drwxr-xr-x
2018-01-27 21:48
IPC
[ DIR ]
drwxr-xr-x
2019-06-17 23:11
JSON
[ DIR ]
drwxr-xr-x
2019-06-17 23:11
LWP
[ DIR ]
drwxr-xr-x
2017-07-03 22:11
Locale
[ DIR ]
drwxr-xr-x
2019-06-17 23:11
Log
[ DIR ]
drwxr-xr-x
2019-06-17 23:11
Module
[ DIR ]
drwxr-xr-x
2019-06-17 23:11
Mozilla
[ DIR ]
drwxr-xr-x
2018-05-29 23:37
Net
[ DIR ]
drwxr-xr-x
2017-07-04 03:41
POD2
[ DIR ]
drwxr-xr-x
2017-05-29 23:38
Params
[ DIR ]
drwxr-xr-x
2019-06-17 23:11
Parse
[ DIR ]
drwxr-xr-x
2019-06-17 23:11
Perl
[ DIR ]
drwxr-xr-x
2019-06-17 23:11
Perl4
[ DIR ]
drwxr-xr-x
2017-09-19 01:22
Pod
[ DIR ]
drwxr-xr-x
2019-06-17 23:11
RPC
[ DIR ]
drwxr-xr-x
2017-07-04 03:41
TAP
[ DIR ]
drwxr-xr-x
2017-07-03 22:04
Term
[ DIR ]
drwxr-xr-x
2019-06-17 23:11
Test
[ DIR ]
drwxr-xr-x
2019-06-17 23:11
Text
[ DIR ]
drwxr-xr-x
2019-06-17 23:11
Thread
[ DIR ]
drwxr-xr-x
2017-07-03 22:04
Time
[ DIR ]
drwxr-xr-x
2017-07-03 22:11
Try
[ DIR ]
drwxr-xr-x
2017-07-03 22:09
Types
[ DIR ]
drwxr-xr-x
2022-05-23 22:47
Version
[ DIR ]
drwxr-xr-x
2019-06-17 23:11
WWW
[ DIR ]
drwxr-xr-x
2017-07-03 22:11
autodie
[ DIR ]
drwxr-xr-x
2019-06-17 23:11
common
[ DIR ]
drwxr-xr-x
2022-05-23 22:47
inc
[ DIR ]
drwxr-xr-x
2019-06-17 23:11
lib
[ DIR ]
drwxr-xr-x
2017-05-29 23:38
local
[ DIR ]
drwxr-xr-x
2017-09-19 01:21
CGI.pm
255.24
KB
-rw-r--r--
2012-11-15 00:42
CPANPLUS.pm
7.05
KB
-rw-r--r--
2013-05-20 23:46
Carp.pm
19.93
KB
-rw-r--r--
2012-06-18 13:32
Digest.pm
10.35
KB
-rw-r--r--
2011-10-02 12:06
Env.pm
5.39
KB
-rw-r--r--
2013-03-02 18:10
Error.pm
24.27
KB
-rw-r--r--
2014-09-16 17:00
Expect.pm
53.44
KB
-rw-r--r--
2007-07-19 14:23
Expect.pod
42.71
KB
-rw-r--r--
2007-07-19 14:34
Exporter.pm
18.31
KB
-rw-r--r--
2013-03-27 16:34
Fatal.pm
45.16
KB
-rw-r--r--
2013-02-22 15:49
Git.pm
42.55
KB
-r--r--r--
2013-06-10 22:01
abbrev.pl
819
B
-rw-r--r--
2017-06-14 01:38
assert.pl
1.27
KB
-rw-r--r--
2017-06-14 01:38
autodie.pm
11.83
KB
-rw-r--r--
2013-02-22 15:49
bigfloat.pl
7.14
KB
-rw-r--r--
2017-06-14 01:38
bigint.pl
8.71
KB
-rw-r--r--
2017-06-14 01:38
bigrat.pl
4.35
KB
-rw-r--r--
2017-06-14 01:38
cacheout.pl
1.1
KB
-rw-r--r--
2017-06-14 01:38
chat2.pl
9.73
KB
-rw-r--r--
2017-06-14 01:38
complete.pl
3.12
KB
-rw-r--r--
2017-06-14 01:38
constant.pm
13.04
KB
-rw-r--r--
2014-09-16 14:33
ctime.pl
1.93
KB
-rw-r--r--
2017-06-14 01:38
dotsh.pl
2.12
KB
-rw-r--r--
2017-06-14 01:38
exceptions.pl
1.7
KB
-rw-r--r--
2017-06-14 01:38
fastcwd.pl
1019
B
-rw-r--r--
2017-06-14 01:38
find.pl
1.16
KB
-rw-r--r--
2017-06-14 01:38
finddepth.pl
1.1
KB
-rw-r--r--
2017-06-14 01:38
flush.pl
642
B
-rw-r--r--
2017-06-14 01:38
ftp.pl
23.53
KB
-rw-r--r--
2017-06-14 01:38
getcwd.pl
1.37
KB
-rw-r--r--
2017-06-14 01:38
getopt.pl
1.27
KB
-rw-r--r--
2017-06-14 01:38
getopts.pl
1.35
KB
-rw-r--r--
2017-06-14 01:38
hostname.pl
727
B
-rw-r--r--
2017-06-14 01:38
importenv.pl
283
B
-rw-r--r--
2017-06-14 01:38
look.pl
1.23
KB
-rw-r--r--
2017-06-14 01:38
newgetopt.pl
2.15
KB
-rw-r--r--
2010-07-09 14:26
open2.pl
185
B
-rw-r--r--
2017-06-14 01:38
open3.pl
185
B
-rw-r--r--
2017-06-14 01:38
parent.pm
2.83
KB
-rw-r--r--
2011-03-08 18:26
perldoc.pod
8.25
KB
-rw-r--r--
2013-01-28 04:32
pwd.pl
1.44
KB
-rw-r--r--
2017-06-14 01:38
shellwords.pl
280
B
-rw-r--r--
2017-06-14 01:38
stat.pl
525
B
-rw-r--r--
2017-06-14 01:38
syslog.pl
4.69
KB
-rw-r--r--
2017-06-14 01:38
tainted.pl
164
B
-rw-r--r--
2017-06-14 01:38
termcap.pl
4.02
KB
-rw-r--r--
2017-06-14 01:38
timelocal.pl
690
B
-rw-r--r--
2017-06-14 01:38
validate.pl
3.64
KB
-rw-r--r--
2017-06-14 01:38
Save
Rename
# # syslog.pl # # $Log: syslog.pl,v $ # # tom christiansen <tchrist@convex.com> # modified to use sockets by Larry Wall <lwall@jpl-devvax.jpl.nasa.gov> # NOTE: openlog now takes three arguments, just like openlog(3) # # call syslog() with a string priority and a list of printf() args # like syslog(3) # # usage: require 'syslog.pl'; # # then (put these all in a script to test function) # # # do openlog($program,'cons,pid','user'); # do syslog('info','this is another test'); # do syslog('mail|warning','this is a better test: %d', time); # do closelog(); # # do syslog('debug','this is the last test'); # do openlog("$program $$",'ndelay','user'); # do syslog('notice','fooprogram: this is really done'); # # $! = 55; # do syslog('info','problem was %m'); # %m == $! in syslog(3) package syslog; use warnings::register; $host = 'localhost' unless $host; # set $syslog'host to change if ($] >= 5 && warnings::enabled()) { warnings::warn("You should 'use Sys::Syslog' instead; continuing"); } require 'syslog.ph'; eval 'use Socket; 1' || eval { require "socket.ph" } || require "sys/socket.ph"; $maskpri = &LOG_UPTO(&LOG_DEBUG); sub main'openlog { ($ident, $logopt, $facility) = @_; # package vars $lo_pid = $logopt =~ /\bpid\b/; $lo_ndelay = $logopt =~ /\bndelay\b/; $lo_cons = $logopt =~ /\bcons\b/; $lo_nowait = $logopt =~ /\bnowait\b/; &connect if $lo_ndelay; } sub main'closelog { $facility = $ident = ''; &disconnect; } sub main'setlogmask { local($oldmask) = $maskpri; $maskpri = shift; $oldmask; } sub main'syslog { local($priority) = shift; local($mask) = shift; local($message, $whoami); local(@words, $num, $numpri, $numfac, $sum); local($facility) = $facility; # may need to change temporarily. die "syslog: expected both priority and mask" unless $mask && $priority; @words = split(/\W+/, $priority, 2);# Allow "level" or "level|facility". undef $numpri; undef $numfac; foreach (@words) { $num = &xlate($_); # Translate word to number. if (/^kern$/ || $num < 0) { die "syslog: invalid level/facility: $_\n"; } elsif ($num <= &LOG_PRIMASK) { die "syslog: too many levels given: $_\n" if defined($numpri); $numpri = $num; return 0 unless &LOG_MASK($numpri) & $maskpri; } else { die "syslog: too many facilities given: $_\n" if defined($numfac); $facility = $_; $numfac = $num; } } die "syslog: level must be given\n" unless defined($numpri); if (!defined($numfac)) { # Facility not specified in this call. $facility = 'user' unless $facility; $numfac = &xlate($facility); } &connect unless $connected; $whoami = $ident; if (!$ident && $mask =~ /^(\S.*):\s?(.*)/) { $whoami = $1; $mask = $2; } unless ($whoami) { ($whoami = getlogin) || ($whoami = getpwuid($<)) || ($whoami = 'syslog'); } $whoami .= "[$$]" if $lo_pid; $mask =~ s/%m/$!/g; $mask .= "\n" unless $mask =~ /\n$/; $message = sprintf ($mask, @_); $sum = $numpri + $numfac; unless (send(SYSLOG,"<$sum>$whoami: $message",0)) { if ($lo_cons) { if ($pid = fork) { unless ($lo_nowait) { do {$died = wait;} until $died == $pid || $died < 0; } } else { open(CONS,">/dev/console"); print CONS "<$facility.$priority>$whoami: $message\r"; exit if defined $pid; # if fork failed, we're parent close CONS; } } } } sub xlate { local($name) = @_; $name = uc $name; $name = "LOG_$name" unless $name =~ /^LOG_/; $name = "syslog'$name"; defined &$name ? &$name : -1; } sub connect { $pat = 'S n C4 x8'; $af_unix = &AF_UNIX; $af_inet = &AF_INET; $stream = &SOCK_STREAM; $datagram = &SOCK_DGRAM; ($name,$aliases,$proto) = getprotobyname('udp'); $udp = $proto; ($name,$aliases,$port,$proto) = getservbyname('syslog','udp'); $syslog = $port; if (chop($myname = `hostname`)) { ($name,$aliases,$addrtype,$length,@addrs) = gethostbyname($myname); die "Can't lookup $myname\n" unless $name; @bytes = unpack("C4",$addrs[0]); } else { @bytes = (0,0,0,0); } $this = pack($pat, $af_inet, 0, @bytes); if ($host =~ /^\d+\./) { @bytes = split(/\./,$host); } else { ($name,$aliases,$addrtype,$length,@addrs) = gethostbyname($host); die "Can't lookup $host\n" unless $name; @bytes = unpack("C4",$addrs[0]); } $that = pack($pat,$af_inet,$syslog,@bytes); socket(SYSLOG,$af_inet,$datagram,$udp) || die "socket: $!\n"; bind(SYSLOG,$this) || die "bind: $!\n"; connect(SYSLOG,$that) || die "connect: $!\n"; local($old) = select(SYSLOG); $| = 1; select($old); $connected = 1; } sub disconnect { close SYSLOG; $connected = 0; } 1;