bug/bundler_fix
jvazquez-r7 2014-02-08 23:59:25 -06:00 committed by Spencer McIntyre
parent cbc1bd9966
commit 381dea94d0
1 changed files with 2 additions and 2 deletions

View File

@ -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