removed auto_target
git-svn-id: file:///home/svn/incoming/trunk@2586 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
f30bb50759
commit
2f257cc384
|
@ -99,20 +99,6 @@ class Exploit < Msf::Module
|
|||
CheckCode::Unsupported
|
||||
end
|
||||
|
||||
#
|
||||
# Attempts to automatically select the target for exploitation. If the
|
||||
# target can be automatically determined, the appropriate target will be
|
||||
# returned, otherwise nil is returned if the target cannot be automatically
|
||||
# determined.
|
||||
#
|
||||
# If an exploit module establishes a connection that can stay open past the
|
||||
# auto targetting phase, it can persist it as a class attribute and
|
||||
# reference it when the exploit is actually run. The auto_target routine
|
||||
# is only called if no target is specified.
|
||||
#
|
||||
def auto_target
|
||||
end
|
||||
|
||||
#
|
||||
# Kicks off the actual exploit. Prior to this call, the framework will
|
||||
# have validated the data store using the options associated with this
|
||||
|
@ -137,10 +123,6 @@ class Exploit < Msf::Module
|
|||
derived_implementor?(Msf::Exploit, 'check')
|
||||
end
|
||||
|
||||
def supports_auto_target?
|
||||
derived_implementor?(Msf::Exploit, 'auto_target')
|
||||
end
|
||||
|
||||
def supports_exploit?
|
||||
derived_implementor?(Msf::Exploit, 'exploit')
|
||||
end
|
||||
|
@ -151,7 +133,6 @@ class Exploit < Msf::Module
|
|||
def capabilities
|
||||
{
|
||||
'check' => supports_check?,
|
||||
'auto_target' => supports_auto_target?,
|
||||
'exploit' => supports_exploit?
|
||||
}
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue