diff --git a/lib/msf/ui/gtk2/frame.rb b/lib/msf/ui/gtk2/frame.rb index b29070e9af..b8933aa42a 100644 --- a/lib/msf/ui/gtk2/frame.rb +++ b/lib/msf/ui/gtk2/frame.rb @@ -1,3 +1,4 @@ require 'msf/ui/gtk2/frame/modules_tree' require 'msf/ui/gtk2/frame/sessions_tree' require 'msf/ui/gtk2/frame/jobs_tree' +require 'msf/ui/gtk2/frame/tips' diff --git a/lib/msf/ui/gtk2/frame/sessions_tree.rb b/lib/msf/ui/gtk2/frame/sessions_tree.rb index 8b0b6c6cdc..c0bf39b7f5 100644 --- a/lib/msf/ui/gtk2/frame/sessions_tree.rb +++ b/lib/msf/ui/gtk2/frame/sessions_tree.rb @@ -48,7 +48,10 @@ module Msf column_type.set_cell_data_func(renderer_type) do |column, cell, model, iter| cell.text = iter[TYPE] end - #column_payload.sort_column_id = PAYLOAD + + # Init tips on the treeview for session + tips = SessionTips.new(column_type) + tips.add_view(@treeview) #set model to treeview @treeview.set_model(@model) @@ -168,7 +171,7 @@ module Msf # Items session signals meterpreter_proc_item_shell.signal_connect('activate') do |item| if current = @selection.selected - print current[O_SESSION].tunnel_peer + print current[O_SESSION].sys.process.getpid end end end