Change targetr to target to fix small typo bug on one failure

The target object seems to have a typo where it is referred to as
“targetr” which I’d guess isn’t exactly what we’d like to do in this
case. So, I’ve changed that to “target” in order to work.

So, I’ve simply fixed that small typo.
bug/bundler_fix
Kent Gruber 2017-10-19 19:55:58 -04:00
parent 54d64cdcc5
commit 7cd532c384
1 changed files with 1 additions and 1 deletions

View File

@ -494,7 +494,7 @@ class MetasploitModule < Msf::Exploit::Remote
].pack('v')
else
fail_with(Failure::NoTarget, "Unknown target #{targetr['Method']}")
fail_with(Failure::NoTarget, "Unknown target #{target['Method']}")
end
# Build the ANI file