diff --git a/data/new/exploit.rb.erb b/data/new/exploit.rb.erb index 4dd3f251..9093a5d2 100644 --- a/data/new/exploit.rb.erb +++ b/data/new/exploit.rb.erb @@ -69,7 +69,7 @@ module Ronin <%- end -%> <%- unless @references.empty? -%> references [ - <%- @references.each do |url| -%> + <%- @references.each.with_index do |url,index| -%> <%= url.inspect -%><% if index < @references.length-1 %>,<% end %> <%- end -%> ]