Skip to content

Commit be85cf5

Browse files
committed
Why in a quote?
1 parent 912bfd5 commit be85cf5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/msf/core/handler/reverse_http.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ def on_request(cli, req, obj)
360360
print_status("#{cli.peerhost}:#{cli.peerport} Unknown request to #{uri_match} #{req.inspect}...")
361361
resp.code = 200
362362
resp.message = "OK"
363-
resp.body = "#{datastore['HttpUknownRequestResponse']}"
363+
resp.body = datastore['HttpUknownRequestResponse'].to_s
364364
end
365365

366366
cli.send_response(resp) if (resp)

0 commit comments

Comments
 (0)