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:
parent
885545a94e
commit
02c555c4c6
@ -46,7 +46,8 @@ class Post < Msf::Module
|
||||
end
|
||||
|
||||
def platform
|
||||
session.platform
|
||||
return session.platform if session
|
||||
super
|
||||
end
|
||||
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user