Optimistic about your portal-data transmission on the client-adjust the http referer using the browser

Source: Internet
Author: User

Optimistic about your portal-data transmission on the client-adjust the http referer using the browser
1. In the Internet, a large amount of data is transmitted through URL parameters. Most of the data is not transmitted through encryption. As I have learned, most of the data is carried out in plaintext... Of course, as we all know, the URL parameter is not very secure, so the http information header (including referer and other attributes) has entered our field of view. Referer is used to indicate where the browser is from to the WEB server. 2. viewpoint: According to the w3.org standard, http information headers are completely optional. That is, the Referer attributes can also be changed. At work, we often need to simulate the referer modification, for example, if our pages are indexed by Baidu or other search engines, if we block referer from all other sources, isn't it self-defeating people? :) At this time, we need to modify the referer source of the page to simulate the jump of google, Baidu, or other websites. This is a simple and crude method, such as using chrome. Open the chrome browser, enter the keyword "", select a result, right-click "review elements", and you will see a string similar to: href = http://www.baidu.com/link?url=WzFUXPfNYdPlOwgYv0365ygF8PyiQkei6N9oih9v8WvgM_pnUHavjdgfJ6RVd_-1GWkZrYzVnGcCrDd5cF5MOq&wd=%E6%81%AD%E5%96%9C%E5%8F%91%E8%B4%A2&issp=1&f=8&ie=utf-8&tn=baiduhome_pg&inputT=4466 Right-click to modify attributes. Change to: href =" http://127.0.0.1:8080/webStudy/http_accept.jsp "And then click" "on Baidu to go to our test page. (For more information about the code, see visit your portal-client data transmission (3)-http information header) to go to our own page :... User-agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.20.safari/537.36 referer: https://www.baidu.com /S? Wd = % E6 % 81% AD % E5 % 96% 9C % E5 % 8F % 91% E8 % B4 % A2 & rsv_spt = 1 & issp = 1 & f = 8 & rsv_bp = 0 & rsv_idx = 2 & ie = UTF-8 & tn = baiduhome_pg & rsv_enter = 1 & rsv_sug3 = 22 & rsv_sug1 = 15 & rsv_sug2 = 0 & inputT = 4466 & rsv_sug4 = 5662... Note: The referer has been changed https://www.baidu.com ... 3. The plug-in of firfox browser can be used to modify the page referer. The plug-in name is RefControl 1. installation Method: Search for the plug-in Firfox and click "add to Firefox". 2. setting Method: rewrite all links in the test environment to baidu 3. view method: Right-click the status bar under the browser and select "display Referer in the status bar"

 

Related Article

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.