module PWN::Plugins::MailAgent
def self.authors
def self.authors st.pentest@0dayinc.com>
def self.gmail(opts = {})
def self.gmail(opts = {}) smtp.gmail.com' true on] = :plain opts) => e
def self.help
def self.help 5( d', , , ', ional', onal', tional', ional alternative to :html_body', sh: { name1.doc': 'attachment file path 1', name2.xls': 'attachment file path 2' uired domain\\username', ional (but will be prompted if not submitted)', lse d', , , ', ional', onal', tional', ional alternative to :html_body', sh: { name1.doc': 'attachment file path 1', name2.xls': 'attachment file path 2' uired', ional (but will be prompted if not submitted)' lse n_live( d', , , ', ional', onal', tional', ional alternative to :html_body', sh: { name1.doc': 'attachment file path 1', name2.xls': 'attachment file path 2' uired', ional (but will be prompted if not submitted)' lse d', , , ', ional', onal', tional', ional alternative to :html_body', sh: { name1.doc': 'attachment file path 1', name2.xls': 'attachment file path 2' uired', ional (but will be prompted if not submitted)' lse d', , , ', ional', onal', tional', ional alternative to :html_body', sh: { name1.doc': 'attachment file path 1', name2.xls': 'attachment file path 2' server ip or domain', rt', |false, : 'optional defaults to :plain - available :login, :plain, or :cram_md5', ional', ional', lse
def self.hotmail_n_live(opts = {})
def self.hotmail_n_live(opts = {}) smtp.live.com' true on] = :plain opts) => e
def self.manual(opts = {})
def self.manual(opts = {}) known relay on] = :plain if opts[:authentication].nil? opts) => e
def self.office365(opts = {})
def self.office365(opts = {}) orporate mail solution smtp.office365.com' true on] = :login opts) => e
def self.parent_mail_agent(opts = {})
def self.parent_mail_agent(opts = {}) ply_to] ject] tml_body] t_body] # If HTML is NOT supported or desired ts[:authentication] {} ash]&.each do |attachment_name, attachment_path| attachment_name] = File.binread(attachment_path) ] ress] s_auto] ername] name.nil? && opts[:password].nil? lugins::AuthenticationHelper.mask_password password] G ENABLED: from: #{from.inspect}, to: #{to.inspect}, cc: #{cc.inspect}, bcc: #{bcc.inspect}, reply_to: #{reply_to} subject: #{subject.inspect}, html_body: #{html_body.inspect}, txt_body: #{txt_body.inspect}, attachments: #{attachments_hash.inspect}, address: #{address.inspect}, port: #{port.inspect}, username: #{username.inspect}, password: #{password.inspect} enable_starttls_auto: #{tls_auto.inspect}, authentication: #{authentication.inspect}") if debug == true below is known to be problematic until the author of pony fixes it. better to use :html_body symbol mail( o, ody, chments_hash, s, _auto: tls_auto, name, ord, authentication.to_sym, ost.localdomain' => e
def self.yahoo(opts = {})
def self.yahoo(opts = {}) smtp.mail.yahoo.com' true on] = :plain opts) => e