Sha256: ec04265a6749b6a5591a2b9584b2c0e419406dd586a28558b7c0b14d7772e3cb
Contents?: true
Size: 1.27 KB
Versions: 7
Compression:
Stored size: 1.27 KB
Contents
#!/usr/bin/env -S ronin-payloads build -f require 'ronin/payloads/<%= @payload_type[:file] -%>' module Ronin module Payloads class <%= @class_name -%> < <%= @payload_type[:class] %> register '<%= @file_name -%>' <%- if @author_email -%> author <%= @author_name.inspect %>, email: <%= @author_email.inspect %> <%- else -%> author <%= @author_name.inspect %> <%- end -%> <%- if @summary -%> summary <%= @summary.inspect %> <%- else -%> summary "FIX ME" <%- end -%> <%- if @description -%> description <<~DESC <%= @description %> DESC <%- else -%> description <<~DESC FIX ME DESC <%- end -%> <%- unless @references.empty? -%> references [ <%- @references.each_with_index do |url,index| -%> <%= url.inspect -%><% if index < @references.length-1 %>,<% end %> <%- end -%> ] <%- else -%> # references [ # "https://...", # "https://..." # ] <%- end -%> def build # @payload = ... end # Optional prelaunch hook: # # def prelaunch # end # # Optional postlaunch hook: # # def postlaunch # end end end end
Version data entries
7 entries across 7 versions & 1 rubygems