Text message interface processing note

Source: Internet
Author: User

Problem description:

In the original group buying system, the text message interface is transplanted to other websites.

 

Problem Encountered

1. This method can be used to directly call the Group Buying SMS sending method. However, an identity authentication is required to log on to the group buying system before sending the message successfully.

Based on the source code, finding the essence of the SMS gateway is also a combination of URL + User Name + password + sent Mobile Phone + sent content. Directly extracting this URL can be called without group buying system verification.

 

2. porting to other websites

Use ajax to call the request and submit the URL.

Solution 1 use an IFRAME to obtain the user's mobile phone number and content, and then change the SRC of the IFRAME to load the page and submit the code, however, this method exposes the identity information of the URL of the SMS interface.

Solution 2: Use ajax to call and simulate a get submission in the background. This solution is relatively secure !)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.