Skip to content

Commit

Permalink
Fixes a privately reported vuln
Browse files Browse the repository at this point in the history
  • Loading branch information
stamparm committed Feb 28, 2023
1 parent bb4d24b commit a299967
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/httpd.py
Expand Up @@ -396,7 +396,7 @@ def _login(self, params):

if not IS_WIN:
try:
subprocess.check_output("logger -p auth.info -t \"%s[%d]\" \"%s password for %s from %s port %s\"" % (NAME.lower(), os.getpid(), "Accepted" if valid else "Failed", params.get("username"), self.client_address[0], self.client_address[1]), stderr=subprocess.STDOUT, shell=True)
subprocess.check_output(["logger", "-p", "auth.info", "-t", "%s[%d]" % (NAME.lower(), os.getpid()), "%s password for %s from %s port %s" % ("Accepted" if valid else "Failed", params.get("username"), self.client_address[0], self.client_address[1])], stderr=subprocess.STDOUT, shell=False)
except Exception:
if config.SHOW_DEBUG:
traceback.print_exc()
Expand Down

0 comments on commit a299967

Please sign in to comment.