Merge pull request #682 from bonsaiviking/persistence-type

Fix handling of PAYLOAD_TYPE in persistence
unstable
HD Moore 2012-08-10 11:42:05 -07:00
commit 9c0703f488
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ class Metasploit3 < Msf::Post
end
# Set the proper payload
case datastore['STARTUP']
case datastore['PAYLOAD_TYPE']
when /TCP/i
payload = "windows/meterpreter/reverse_tcp"
when /HTTP/i