Skip to content

Commit

Permalink
changed check to Appears when vulnerable
Browse files Browse the repository at this point in the history
  • Loading branch information
h00die-gr3y committed Aug 6, 2024
1 parent 8f0d22d commit 8b3392a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def check
version_number = Rex::Version.new(version.gsub(/[[:space:]]/, '')) unless version.nil?
end
return CheckCode::Detected('Could not retrieve the version information.') if version_number.nil?
return CheckCode::Vulnerable("Version #{version_number}") if version_number <= Rex::Version.new('1.2.3')
return CheckCode::Appears("Version #{version_number}") if version_number <= Rex::Version.new('1.2.3')

CheckCode::Safe("Version #{version_number}")
end
Expand Down

0 comments on commit 8b3392a

Please sign in to comment.