Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(NSS): Fix should_pre_check logic to identify sshd #419

Merged
merged 1 commit into from
Jul 5, 2024

Commits on Jul 5, 2024

  1. Fix should_pre_check logic to identify sshd

    The cmdline returned by calling proc.cmdline() has multiple strings that
    consist of the entire command, which means that, instead of having
    something like this: ["cmd", "arg1", "arg2, ..., "argn"]
    It looks like this: ["cmd arg1 arg2 ... argn"]
    
    In order to better limit the options, as this precheck can be a security
    breach, we only allow the precheck if it comes from the common known
    sshd binary.
    denisonbarbosa committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    b727293 View commit details
    Browse the repository at this point in the history