Change the sessions directory

Refresh after kill and migrate



git-svn-id: file:///home/svn/framework3/trunk@5236 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2007-12-31 00:52:20 +00:00
parent c8603d1d9d
commit 016f4ece6a
2 changed files with 4 additions and 2 deletions

View File

@ -9,7 +9,7 @@ module Msf
# The file system portion of the standard API extension.
#
###
class Fs < Msf::Ui::Gtk2::SkeletonBrowser
class Fs < Msf::Ui::Gtk2::SkeletonBrowser
COL_TYPE, COL_PATH, COL_DISPLAY_NAME, COL_IS_DIR, COL_PIXBUF = (0..5).to_a
def initialize(client)
@ -17,7 +17,7 @@ module Msf
# The session
@client = client
local = File.join(driver.resource_directory, "sessions")
local = File.join(driver.config_directory, "logs", "sessions")
remote = @client.fs.dir.getwd
# call the parent

View File

@ -124,6 +124,7 @@ module Msf
migrate_item_shell.signal_connect('activate') do |item|
if current = @selection.selected
cmd_migrate(current.get_value(PID).to_i)
update()
end
end
@ -131,6 +132,7 @@ module Msf
kill_item_shell.signal_connect('activate') do |item|
if current = @selection.selected
cmd_kill(current.get_value(PID))
update()
end
end