Fix typo
parent
cbc1bd9966
commit
381dea94d0
|
@ -245,8 +245,8 @@ module Exploit::CmdStager
|
|||
# @return [Symbol] the compatible cmd stager flavor.
|
||||
# @return [nil] if there isn't any compatible flavor defined.
|
||||
def target_flavor
|
||||
return target.opts['CmdStagerFlavor'].to_sym if target && target.opts['CMDStagerFlavor']
|
||||
return module_info['CmdStagerFlavor'].to_sym if module_info['CMDStagerFlavor']
|
||||
return target.opts['CmdStagerFlavor'].to_sym if target && target.opts['CmdStagerFlavor']
|
||||
return module_info['CmdStagerFlavor'].to_sym if module_info['CmdStagerFlavor']
|
||||
nil
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue