bin/metasploit-aggregator in metasploit-aggregator-0.2.1 vs bin/metasploit-aggregator in metasploit-aggregator-0.2.2
- old
+ new
@@ -25,10 +25,10 @@
elsif command.chomp == 'park'
client.release_session($stdin.gets.chomp)
elsif command.chomp == 'details'
client = Metasploit::Aggregator::ServerProxy.new(admin_host, admin_port)
sessions = client.sessions
- sessions.each_pair do |payload, console|
+ sessions.each_pair do |payload, _console|
details = client.session_details(payload)
$stdout.puts payload
details.each_pair do |key, attr|
$stdout.print "\t"
$stdout.print "#{key}:"