Twilio Setup in Ruby

kali null
Nov 27, 2017

Installation:

  1. gem install sinatra
  2. download/instal ngrok
  3. gem install twilio-ruby (not required for this setup)

Basic ‘receive sms’ service would run on the following code:

  1. ruby app.rb -p 3090
  2. run ngrok: ./ngrok http 3090(or whatever port)
  3. change incoming messages url on twilio dashboard

4. make a request to http://73bac8c0.ngrok.io/message

5. read received info at http://127.0.0.1:4040/inspect/http

links:

https://github.com/pressstart101/twilio/

Bitcoin tip jar: bc1qgpl6lhf09j6kcdvkh8cz90p4cfxuyfec3ecjrd

Ethereum tip jar: 0x7e0Bf6D50b5F5fcbf76A16Bd5285CE0c74C063a9

--

--

kali null

security researcher and penetration tester. twitter: @kali_null