You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# as `sudo --version` returns the version in format `[version]p[minor version?]`, we need to remove the `p` character.
92
-
sudo_version.gsub!(/p/,'.')
93
-
94
81
returnCheckCode::Appears("Running version #{sudo_version}")ifRex::Version.new(sudo_version).between?(Rex::Version.new('1.9.14'),Rex::Version.new('1.9.17'))
95
82
96
83
CheckCode::Safe("Sudo #{sudo_version} is not vulnerable")
0 commit comments