Skip to content

Commit

Permalink
Updated version check per @bcoles
Browse files Browse the repository at this point in the history
  • Loading branch information
bwatters-r7 committed Jul 17, 2017
1 parent f9493f4 commit ba92d42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/exploits/linux/http/ipfire_oinkcode_exec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def check
end

# now that we've pulled the info we need, check version.
if version && update && version.eql == '2.19' && update.to_i <= 110
if version && update && version == '2.19' && update.to_i <= 110
CheckCode::Appears
else
CheckCode::Safe
Expand Down

0 comments on commit ba92d42

Please sign in to comment.