Skip to content

Commit 7763798

Browse files
committed
Fixing check method
1 parent 828b6aa commit 7763798

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

modules/exploits/linux/http/pandora_fms_auth_netflow_rce.rb

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,6 @@ def initialize(info = {})
3939
}
4040
]
4141
],
42-
# 'Payload' => {
43-
# 'BadChars' => " "
44-
# },
4542
'DisclosureDate' => '2025-12-30',
4643
'DefaultTarget' => 0,
4744
'DefaultOptions' => {
@@ -89,7 +86,7 @@ def check
8986

9087
vprint_status("Version #{version} detected")
9188

92-
return Exploit::CheckCode::Vulnerable("Vulnerable PandoraFMS version #{version} detected") if Rex::Version.new(version).between?(Rex::Version.new('7.0.776'), Rex::Version.new('7.0.777'))
89+
return Exploit::CheckCode::Vulnerable("Vulnerable PandoraFMS version #{version} detected") unless Rex::Version.new(version) >= Rex::Version.new('7.0.777.10')
9390

9491
Msf::Exploit::CheckCode::Safe('Running version is not vulnerable')
9592
end

0 commit comments

Comments
 (0)