From 381dea94d0f63f3ed684b57870f5b599f66c8c77 Mon Sep 17 00:00:00 2001 From: jvazquez-r7 Date: Sat, 8 Feb 2014 23:59:25 -0600 Subject: [PATCH] Fix typo --- lib/msf/core/exploit/cmdstager.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/msf/core/exploit/cmdstager.rb b/lib/msf/core/exploit/cmdstager.rb index 7bd5d97dc1..d69433bcee 100644 --- a/lib/msf/core/exploit/cmdstager.rb +++ b/lib/msf/core/exploit/cmdstager.rb @@ -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