Skip to content

Commit

Permalink
Nuke extra space at EOL
Browse files Browse the repository at this point in the history
  • Loading branch information
Tod Beardsley committed Jun 2, 2014
1 parent ea383b4 commit b136765
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/exploits/multi/elasticsearch/script_mvel_rce.rb
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def exploit
fail_with(Failure::Unknown, "#{peer} - Could not identify remote OS...")
else
# TODO: It'd be nice to report_host() with this info.
print_good("#{peer} - Remote OS is '#{result}' ")
print_good("#{peer} - Remote OS is '#{result}'")
end

jar_file = ""
Expand All @@ -88,7 +88,7 @@ def exploit
if result.nil?
fail_with(Failure::Unknown, "#{peer} - Could not identify TEMP path...")
else
print_good("#{peer} - TEMP path identified: '#{result}' ")
print_good("#{peer} - TEMP path identified: '#{result}'")
end
jar_file = "#{result}#{rand_text_alpha(3 + rand(4))}.jar"
else
Expand Down

0 comments on commit b136765

Please sign in to comment.