Jump to content
UBot Underground

[FREE] Twilio SMS Plugin


Recommended Posts

Hi guys,

 

I want to make google account automation. 

 

As it is PVA then how i can use twilio plugin to get that done? I mean how i can get a new number from this plugin and type it in google form and then get verification code from this plugin? 

 

Thanks in advance :)

 

I don't think this will work for google verifications will it? Usually when you try to phone verify a google account or a maps listing (GMB listing) twilio does not work. Or is that what this is for?

Link to post
Share on other sites
  • 3 years later...

Trying to get this plugin to work but says it says "upgrade required" even after I upgrade my twilio account to a paid version.

 


Trying to get this plugin to work but says it says "upgrade required" even after I upgrade my twilio account to a paid version.

 

post-9583-0-64101800-1558319093_thumb.jpg

Link to post
Share on other sites

Im looking at possibly upgrading the api library for twilio, but not sure if it would be worth it based on time for a plugin that I've been giving away for so long now.

 

 

Understood.  Just wanted to make sure it wasnt something I was doing wrong on my end.  I will try to make it happen on my own.  Thanks. :)

Link to post
Share on other sites
  • 3 months later...

yes

can u please give me an example for http post

set(#account id,"","Global")

set(#token,"","Global")

set(#to number,"","Global")

set(#from number,"","Global")

set(#text body,"","Global")

set(#post,$plugin function("HTTP post.dll", "$http post", "https://api.twilio.com/2010-04-01/Accounts/{#account id}/Messages.json", "To={#to number}&From={#from number}&Body=Hello World&u={#account id}:{#token}", "", "", "", ""),"Global")

 

know nothing about how code after reading twilio examples, please help me out

Link to post
Share on other sites

Node view

set(#post,$plugin function("HTTP post.dll", "$http post", "URL HERE/Accounts/{#account id}/Messages.json", "\{
  \"To\": \"\",
  \"From\": \"\",
  \"Body\": \"Hello World\",
  \"u\": \":\"
\}", "", "", "", ""),"Global")

Code view

set(#post,$plugin function("HTTP post.dll", "$http post", "URL HERE/Accounts/{#account id}/Messages.json", "\{
  \"To\": \"\",
  \"From\": \"\",
  \"Body\": \"Hello World\",
  \"u\": \":\"
\}", "", "", "", ""),"Global")

 

 

Copy the above and paste to ubot.

 

Edit it to add your variables and corrected url

Link to post
Share on other sites

Node view

set(#post,$plugin function("HTTP post.dll", "$http post", "URL HERE/Accounts/{#account id}/Messages.json", "\{
  \"To\": \"\",
  \"From\": \"\",
  \"Body\": \"Hello World\",
  \"u\": \":\"
\}", "", "", "", ""),"Global")

Code view

set(#post,$plugin function("HTTP post.dll", "$http post", "URL HERE/Accounts/{#account id}/Messages.json", "\{

  \"To\": \"\",

  \"From\": \"\",

  \"Body\": \"Hello World\",

  \"u\": \":\"

\}", "", "", "", ""),"Global")

 

 

Copy the above and paste to ubot.

 

Edit it to add your variables and corrected url

thanks for your reply

 

 

with your codes

i get an error says 401 unauthorized

 

 

and after days google

i find with http basic mode , the authentication will pass through

 

 

plugin command("HTTP post.dll", "http basic mode", "Yes")

plugin command("HTTP post.dll", "http set headers", "Authorization", "{#account id}:{#token}")

set(#post,$plugin function("HTTP post.dll", "$http post", "https://api.twilio.com/2010-04-01/Accounts/{#account id}/Messages.json", "To=+13018859006&From=+12022171008&Body=Hello World", "", "", "", ""),"Global")

 

with the codes , i get an error says 400 bad request

 

following are the debug content, please help me

 

 

#post: HTTP/1.1 400 Bad Request

Date: Tue, 10 Sep 2019 21:47:36 GMT

Content-Type: text/html

Content-Length: 264

Connection: close

X-Shenanigans: none

Access-Control-Allow-Origin: *

Access-Control-Allow-Headers: Accept, Authorization, Content-Type, If-Match, If-Modified-Since, If-None-Match, If-Unmodified-Since

Access-Control-Allow-Methods: GET, POST, DELETE, OPTIONS

Access-Control-Expose-Headers: ETag

Access-Control-Allow-Credentials: true

X-Powered-By: AT-5000

Strict-Transport-Security: max-age=31536000

 

<html>

<head><title>400 The plain HTTP request was sent to HTTPS port</title></head>

<body bgcolor="white">

<center><h1>400 Bad Request</h1></center>

<center>The plain HTTP request was sent to HTTPS port</center>

<hr><center>nginx</center>

</body>

</html>

 

 

 

Link to post
Share on other sites

thanks for your reply

 

 

with your codes

i get an error says 401 unauthorized

 

 

and after days google

i find with http basic mode , the authentication will pass through

 

 

plugin command("HTTP post.dll", "http basic mode", "Yes")

plugin command("HTTP post.dll", "http set headers", "Authorization", "{#account id}:{#token}")

set(#post,$plugin function("HTTP post.dll", "$http post", "https://api.twilio.com/2010-04-01/Accounts/{#account id}/Messages.json", "To=+13018859006&From=+12022171008&Body=Hello World", "", "", "", ""),"Global")

 

with the codes , i get an error says 400 bad request

 

following are the debug content, please help me

 

 

#post: HTTP/1.1 400 Bad Request

Date: Tue, 10 Sep 2019 21:47:36 GMT

Content-Type: text/html

Content-Length: 264

Connection: close

X-Shenanigans: none

Access-Control-Allow-Origin: *

Access-Control-Allow-Headers: Accept, Authorization, Content-Type, If-Match, If-Modified-Since, If-None-Match, If-Unmodified-Since

Access-Control-Allow-Methods: GET, POST, DELETE, OPTIONS

Access-Control-Expose-Headers: ETag

Access-Control-Allow-Credentials: true

X-Powered-By: AT-5000

Strict-Transport-Security: max-age=31536000

 

<html>

<head><title>400 The plain HTTP request was sent to HTTPS port</title></head>

<body bgcolor="white">

<center><h1>400 Bad Request</h1></center>

<center>The plain HTTP request was sent to HTTPS port</center>

<hr><center>nginx</center>

</body>

</html>

 

 

 

Dude,

 

The only way i got this working was using python.

 

1.  Download python https://www.python.org/downloads/ and install it to your computer

2.  Install Python Plugin (ExecutePython.dll) to ubot.

3. Use the python examples from twilio.

 

This worked perfect for me and at the same time I can start learning python.

Link to post
Share on other sites

thanks for your reply

 

 

with your codes

i get an error says 401 unauthorized

 

 

and after days google

i find with http basic mode , the authentication will pass through

 

 

plugin command("HTTP post.dll", "http basic mode", "Yes")

plugin command("HTTP post.dll", "http set headers", "Authorization", "{#account id}:{#token}")

set(#post,$plugin function("HTTP post.dll", "$http post", "https://api.twilio.com/2010-04-01/Accounts/{#account id}/Messages.json", "To=+13018859006&From=+12022171008&Body=Hello World", "", "", "", ""),"Global")

 

with the codes , i get an error says 400 bad request

 

following are the debug content, please help me

 

 

#post: HTTP/1.1 400 Bad Request

Date: Tue, 10 Sep 2019 21:47:36 GMT

Content-Type: text/html

Content-Length: 264

Connection: close

X-Shenanigans: none

Access-Control-Allow-Origin: *

Access-Control-Allow-Headers: Accept, Authorization, Content-Type, If-Match, If-Modified-Since, If-None-Match, If-Unmodified-Since

Access-Control-Allow-Methods: GET, POST, DELETE, OPTIONS

Access-Control-Expose-Headers: ETag

Access-Control-Allow-Credentials: true

X-Powered-By: AT-5000

Strict-Transport-Security: max-age=31536000

 

<html>

<head><title>400 The plain HTTP request was sent to HTTPS port</title></head>

<body bgcolor="white">

<center><h1>400 Bad Request</h1></center>

<center>The plain HTTP request was sent to HTTPS port</center>

<hr><center>nginx</center>

</body>

</html>

 

 

 

 

 

I forgot to mention to install twilio via PIP

 

Once you get all of that installed this will work for you.  Fill in the XXXXXXXX's

set(#account_sid,"ACxxxxxxxxxxxxxxxxxxxxxxxxxxxx","Global")
set(#auth_token,"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx","Global")
set(#body,"Hello World Via SMS","Global")
set(#from,"+xxxxxxxxxxx","Global")
set(#to,"+xxxxxxxxxxx","Global")
set(#python_Test,$plugin function("ExecutePython.dll", "Execute From Code", "# Download the helper library from https://www.twilio.com/docs/python/install
from twilio.rest import Client


# Your Account Sid and Auth Token from twilio.com/console
# DANGER! This is insecure. See http://twil.io/secure
account_sid = \'{#account_sid}\'
auth_token = \'{#auth_token}\'
client = Client(account_sid, auth_token)

message = client.messages \\
                .create(
                     body=\"{#body}\",
                     from_=\'{#from}\',
                     to=\'{#to}\'
                 )

print(message.sid)
", "c:\\Python37\\Python.exe"),"Global")

Link to post
Share on other sites
  • 3 months later...

Dude,

 

The only way i got this working was using python.

 

1.  Download python https://www.python.org/downloads/ and install it to your computer

2.  Install Python Plugin (ExecutePython.dll) to ubot.

3. Use the python examples from twilio.

 

This worked perfect for me and at the same time I can start learning python.

can u please instruct me how to install python plugin to ubot?

 

i have been googling for all days, but still can not find the right way.

thanks

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...