Skip to content

Commit 297cbb2

Browse files
authored
Single quotes to double quotes for string interpolation
Secondary commit from peer review suggestion.
1 parent c7d40bc commit 297cbb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/auxiliary/gather/checkpoint_gateway_fileread_cve_2024_24919.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def run
7979

8080
# If the vulnerable server responds with a status other than the expected 200 or 404 (for example, a WAF 403), fail with UnexpectedReply
8181
if res_read_file&.code != 200
82-
fail_with(Failure::UnexpectedReply, 'The application did not respond with a 200 as expected - the HTTP response code was: #{res_read_file&.code} ')
82+
fail_with(Failure::UnexpectedReply, "The application did not respond with a 200 as expected - the HTTP response code was: #{res_read_file&.code}")
8383
end
8484

8585
# Assign variable with file contents, then store the file in loot or print the contents

0 commit comments

Comments
 (0)