From fdf56da24f852166d374260acd97e91a064e575f Mon Sep 17 00:00:00 2001 From: Retro_Guy Date: Sun, 28 Mar 2021 03:15:57 -0700 Subject: [PATCH] Very minor logging change in rslight-lib.php --- Rocksolid_Light/rslight/scripts/rslight-lib.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Rocksolid_Light/rslight/scripts/rslight-lib.php b/Rocksolid_Light/rslight/scripts/rslight-lib.php index 4534bf4..730dc5f 100755 --- a/Rocksolid_Light/rslight/scripts/rslight-lib.php +++ b/Rocksolid_Light/rslight/scripts/rslight-lib.php @@ -43,13 +43,12 @@ set_time_limit(0); continue; } if(stripos($buf, 'AUTHINFO PASS') !== false) { - file_put_contents($logfile, "\n".format_log_date()." AUTHINFO PASS (hidden)", FILE_APPEND); + file_put_contents($logfile, "\n".format_log_date()." ".$client." AUTHINFO PASS (hidden)", FILE_APPEND); } else { file_put_contents($logfile, "\n".format_log_date()." ".$client." ".$buf, FILE_APPEND); } $command = explode(' ', $buf); $command[0] = strtolower($command[0]); -//echo "0:".$command[0]." 1:".$command[1]." 2:".$command[2]." 3:".$command[3]."\r\n"; if(isset($command[1])) { $command[1] = strtolower($command[1]); }