Skip to content

Commit

Permalink
fix: right versions in spip_rce_form.rb ....
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocapikk committed Aug 30, 2024
1 parent 53f0bc3 commit effbfac
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions modules/exploits/multi/http/spip_rce_form.rb
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,13 @@ def check

print_status("SPIP Version detected: #{rversion}")

if rversion.between?(Rex::Version.new('2.0.0'), Rex::Version.new('2.0.20'))
if rversion.between?(Rex::Version.new('4.2.0'), Rex::Version.new('4.2.1'))
return Exploit::CheckCode::Appears
elsif rversion.between?(Rex::Version.new('2.1.0'), Rex::Version.new('2.1.15'))
elsif rversion.between?(Rex::Version.new('4.1.0'), Rex::Version.new('4.1.18'))
return Exploit::CheckCode::Appears
elsif rversion.between?(Rex::Version.new('3.0.0'), Rex::Version.new('3.0.2'))
elsif rversion.between?(Rex::Version.new('4.0.0'), Rex::Version.new('4.0.10'))
return Exploit::CheckCode::Appears
elsif rversion.between?(Rex::Version.new('3.2.0'), Rex::Version.new('3.2.18'))
return Exploit::CheckCode::Appears
end

Expand Down

0 comments on commit effbfac

Please sign in to comment.