changed output format of 'alias' per egypt's suggestion

now the output is copy pasteable to an rc file as valid alias commands
This commit is contained in:
kernelsmith
2012-11-16 17:57:26 -06:00
parent 4953fda8e9
commit d73a0006df
+2 -2
View File
@@ -52,10 +52,10 @@ class Plugin::Alias < Msf::Plugin
'Header' => "Current Aliases",
'Prefix' => "\n",
'Postfix' => "\n",
'Columns' => [ 'Alias Name', 'Alias Value' ]
'Columns' => [ '', 'Alias Name', 'Alias Value' ]
)
@aliases.each_pair do |key,val|
tbl << [key,val]
tbl << ["alias",key,val]
end
return print(tbl.to_s)
end