Fix #9215, minor style nitpick
parent
520e890520
commit
366a20a4a4
|
@ -474,12 +474,12 @@ class MetasploitModule < Msf::Exploit::Remote
|
|||
|
||||
def exploit
|
||||
case datastore['TARGET']
|
||||
when 0
|
||||
exploit_formcache
|
||||
when 1
|
||||
exploit_newuser
|
||||
else
|
||||
fail_with(Failure::BadConfig, "Invalid target selected.")
|
||||
when 0
|
||||
exploit_formcache
|
||||
when 1
|
||||
exploit_newuser
|
||||
else
|
||||
fail_with(Failure::BadConfig, "Invalid target selected.")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue