2017-03-02 22:47:55 +00:00
|
|
|
# -*- coding: binary -*-
|
|
|
|
|
|
|
|
module Rex
|
|
|
|
module Proto
|
|
|
|
module Sms
|
|
|
|
module Model
|
|
|
|
|
|
|
|
GATEWAYS = {
|
|
|
|
:alltel => 'sms.alltelwireless.com', # Alltel
|
|
|
|
:att => 'txt.att.net', # AT&T Wireless
|
|
|
|
:boost => 'sms.myboostmobile.com', # Boost Mobile
|
|
|
|
:cricket => 'sms.mycricket.com', # Cricket Wireless
|
2017-03-03 17:09:04 +00:00
|
|
|
# Sprint is commented out, because the gateways don't seem to work.
|
|
|
|
# Gateways tried for Sprint:
|
|
|
|
# messaging.sprintpcs.com
|
|
|
|
# pm.sprint.com
|
|
|
|
#:sprint => 'messaging.sprintpcs.com', # Sprint
|
2017-03-02 22:47:55 +00:00
|
|
|
:tmobile => 'tmomail.net', # T-Mobile
|
|
|
|
:verizon => 'vtext.com', # Verizon
|
2017-03-03 17:36:13 +00:00
|
|
|
:virgin => 'vmobl.com', # Virgin Mobile
|
2017-03-03 17:38:47 +00:00
|
|
|
:google => 'msg.fi.google.com' # Google Project Fi
|
2017-03-02 22:47:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
require 'net/smtp'
|
|
|
|
require 'rex/proto/sms/model/smtp'
|
2017-03-13 21:13:59 +00:00
|
|
|
require 'rex/proto/sms/model/message'
|
2017-03-02 22:47:55 +00:00
|
|
|
require 'rex/proto/sms/client'
|