⚝
One Hat Cyber Team
⚝
Your IP:
160.79.111.224
Server IP:
15.204.235.159
Server:
Linux srv.techlup.co.ke 4.18.0-553.5.1.el8_10.x86_64 #1 SMP Wed Jun 5 09:12:13 EDT 2024 x86_64
Server Software:
Apache
PHP Version:
8.2.27
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
proc
/
self
/
root
/
usr
/
share
/
doc
/
perl-Sys-Syslog
/
eg
/
View File Name :
syslog.pl
#!/usr/bin/perl use strict; use warnings; use Sys::Syslog; die "usage: $0 facility/priority message\n" unless @ARGV; my ($facility, $priority) = split "/", shift; my $message = join " ", @ARGV; openlog($0, "ndelay,pid", $facility) or die "fatal: can't open syslog: $!\n"; syslog($priority, "%s", $message); closelog();