metasploit-framework/lib/rex/proto/sms/model.rb

32 lines
979 B
Ruby
Raw Normal View History

# -*- 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
# 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
: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
}
end
end
end
end
require 'net/smtp'
require 'rex/proto/sms/model/smtp'
require 'rex/proto/sms/client'