Use PAYLOAD instead of CMD
parent
f37ac39b4c
commit
500d7159f1
|
@ -79,7 +79,7 @@ class Metasploit3 < Msf::Exploit::Remote
|
|||
|
||||
print_status("#{peer} - Exploiting...")
|
||||
|
||||
if datastore['CMD']
|
||||
if datastore['PAYLOAD'] == 'cmd/unix/generic'
|
||||
exploit_cmd
|
||||
else
|
||||
exploit_session
|
||||
|
|
Loading…
Reference in New Issue