change and use Indent constant
git-svn-id: file:///home/svn/framework3/trunk@6111 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
a61baaa1eb
commit
70c93d7691
|
@ -10,15 +10,14 @@ require 'rex'
|
||||||
require 'msf/ui'
|
require 'msf/ui'
|
||||||
require 'msf/base'
|
require 'msf/base'
|
||||||
|
|
||||||
Indent = ' '
|
Indent = ' '
|
||||||
|
|
||||||
# Initialize the simplified framework instance.
|
# Initialize the simplified framework instance.
|
||||||
$framework = Msf::Simple::Framework.create
|
$framework = Msf::Simple::Framework.create
|
||||||
|
|
||||||
|
|
||||||
tbl = Rex::Ui::Text::Table.new(
|
tbl = Rex::Ui::Text::Table.new(
|
||||||
'Header' => 'Module References',
|
'Header' => 'Module References',
|
||||||
'Indent' => 0,
|
'Indent' => Indent.length,
|
||||||
'Columns' => [ 'Module', 'Reference' ]
|
'Columns' => [ 'Module', 'Reference' ]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -57,4 +56,4 @@ $framework.auxiliary.each_module { |name, mod|
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
|
|
||||||
puts tbl.to_s
|
puts tbl.to_s
|
||||||
|
|
Loading…
Reference in New Issue