commit
856baf5f32
|
@ -124,4 +124,9 @@ class MetasploitModule < Msf::Exploit::Remote
|
||||||
fail_with(Failure::Unreachable, "#{peer} - Could not connect to the web service")
|
fail_with(Failure::Unreachable, "#{peer} - Could not connect to the web service")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def on_new_session(session)
|
||||||
|
super
|
||||||
|
session.shell_command_token('setsid $SHELL')
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue