Sha256: a6b668433be57c763ac9ce00d76dd69f34fed358f973a7793061c9ad31abb33d
Contents?: true
Size: 1.57 KB
Versions: 3
Compression:
Stored size: 1.57 KB
Contents
#!/usr/bin/env -S ronin-recon test -f require 'ronin/recon/<%= @worker_type[:file] -%>' module Ronin module Recon class <%= @class_name -%> < <%= @worker_type[:class] %> register '<%= @file_name -%>' <%- if @author_name -%> <%- if @author_email -%> author <%= @author_name.inspect %>, email: <%= @author_email.inspect %> <%- else -%> author <%= @author_name.inspect %> <%- end -%> <%- else -%> author "FIX ME", email: "FIXME@example.com" <%- 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 -%> <%- unless @accepts.empty? -%> accepts <%= @accepts.join(', ') %> <%- else -%> accepts FIXME <%- end -%> <%- unless @outputs.empty? -%> outputs <%= @outputs.join(', ') %> <%- else -%> outputs FIXME <%- end -%> <%- if @intensity -%> intensity <%= @intensity.inspect %> <%- end -%> def process(value) # ... end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ronin-recon-0.1.0 | data/templates/worker.rb.erb |
ronin-recon-0.1.0.rc2 | data/templates/worker.rb.erb |
ronin-recon-0.1.0.rc1 | data/templates/worker.rb.erb |