Permalink
Browse files

Alignment.

  • Loading branch information...
1 parent 39e6f1e commit 4cc905710aa140eb9cd06aa328ff7e1f441bbda4 @postmodern postmodern committed Jun 11, 2012
Showing with 14 additions and 14 deletions.
  1. +9 −9 lib/ronin/gen/generators/exploits/exploit.rb
  2. +5 −5 lib/ronin/gen/generators/payloads/payload.rb
View
18 lib/ronin/gen/generators/exploits/exploit.rb
@@ -37,25 +37,25 @@ class Exploit < RubyGenerator
template 'exploit.erb'
- parameter :helpers, :type => Array[Symbol],
+ parameter :helpers, :type => Array[Symbol],
:default => []
- parameter :name, :type => String,
+ parameter :name, :type => String,
:default => 'Exploit'
- parameter :description, :type => String,
+ parameter :description, :type => String,
:default => 'This is an exploit.'
- parameter :status, :type => Symbol,
+ parameter :status, :type => Symbol,
:default => :potential
- parameter :released, :type => true,
+ parameter :released, :type => true,
:default => false
- parameter :reported, :type => true,
+ parameter :reported, :type => true,
:default => false
- parameter :authors, :type => Array,
+ parameter :authors, :type => Array,
:default => ['Anonymous']
parameter :arch, :type => Symbol
@@ -64,10 +64,10 @@ class Exploit < RubyGenerator
parameter :os_version, :type => String
- parameter :software, :type => String,
+ parameter :software, :type => String,
:default => 'Software'
- parameter :software_version, :type => String,
+ parameter :software_version, :type => String,
:default => '0.0.1'
end
View
10 lib/ronin/gen/generators/payloads/payload.rb
@@ -37,19 +37,19 @@ class Payload < RubyGenerator
template 'payload.erb'
- parameter :helpers, :type => Array[Symbol],
+ parameter :helpers, :type => Array[Symbol],
:default => []
- parameter :name, :type => String,
+ parameter :name, :type => String,
:default => 'Payload'
- parameter :version, :type => String,
+ parameter :version, :type => String,
:default => '0.1'
- parameter :description, :type => String,
+ parameter :description, :type => String,
:default => 'This is a payload.'
- parameter :authors, :type => Array,
+ parameter :authors, :type => Array,
:default => []
parameter :arch, :type => Symbol

0 comments on commit 4cc9057

Please sign in to comment.