Land #10666, compatible_sessions NoMethodError fix
parent
9b466d93bf
commit
2f515318e7
|
@ -2247,7 +2247,9 @@ class Core
|
|||
# Provide valid session options for the current post-exploit module
|
||||
#
|
||||
def option_values_sessions
|
||||
active_module.compatible_sessions.map { |sid| sid.to_s }
|
||||
if active_module.respond_to?(:compatible_sessions)
|
||||
active_module.compatible_sessions.map { |sid| sid.to_s }
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue