1
mirror of https://github.com/rapid7/metasploit-framework synced 2024-11-12 11:52:01 +01:00

use the module's platfrom if no session is set

git-svn-id: file:///home/svn/framework3/trunk@11430 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
James Lee 2010-12-28 19:28:43 +00:00
parent 885545a94e
commit 02c555c4c6

View File

@ -46,7 +46,8 @@ class Post < Msf::Module
end
def platform
session.platform
return session.platform if session
super
end
#