Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Detection device and method for website redirection

A detection device and redirection technology, applied in special data processing applications, instruments, electrical digital data processing, etc.

Active Publication Date: 2015-06-03
TENCENT TECH (SHENZHEN) CO LTD
View PDF4 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] For the first type of URL redirection, it is usually easy to identify, you only need to obtain and analyze the HTTP header; for the second type of URL redirection, you can analyze the string of the redirection destination URL by statically analyzing the HTML content. However, this static analysis method is easily bypassed by malicious website creators through means such as string splicing and encryption

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Detection device and method for website redirection
  • Detection device and method for website redirection
  • Detection device and method for website redirection

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0059] This embodiment introduces a specific way for the browser plug-in module to detect a jump relationship. The browser add-on module is able to detect URL redirection using HTML content.

[0060] The current mainstream web browsers all support the use of plug-ins to extend the functionality of the browser. By using the ActiveX plug-in of IE or the Netscape plug-in application programming interface (NPAPI) plug-in of Firefox / Chrome, the document object model (DOM, Document Object Model) tree and various attribute values ​​generated by the accessed page can be easily obtained. The present invention realizes the following functions through a self-defined browser plug-in module:

[0061] Before the DOM tree of the current page is constructed, obtain the address URL L of the current page (that is, the value of the window.location.href attribute), the URL R of the referring page of the current page (that is, the value of the attribute window.document.referrer), and the address ...

Embodiment 2

[0066] This embodiment introduces a specific method for detecting a jump relationship by the HTTP header jump detection module. The HTTP header jump detection module can detect URL redirection realized by HTTP header.

[0067] The HTTP header jump detection module captures the HTTP header returned by a given page, and analyzes the status code and jump address. For example, if the given URL is http: / / url.cn / 4f7bXM, the obtained HTTP header is as follows: figure 2 shown.

[0068] exist figure 2 , the status code 302 exists in the HTTP header, which indicates that there is a jump in the webpage; then obtain the jump address http: / / qq.com in the HTTP header, so as to obtain the webpage address http: / / url.cn / 4f7bXM to the webpage address http : / / qq.com's jump relationship, and send the jump relationship to the jump relationship database for storage.

Embodiment 3

[0071] This embodiment includes the following steps:

[0072] Step 301: The page address sending module sends the address URL A of page A to the HTTP header jump detection module, and the HTTP header jump detection module detects the jump relationship (URL A, URL B) according to the HTTP header returned by webpage A, and sends The jump relationship is sent to the jump relationship database.

[0073] Step 302: The page address sending module sends the address URL A of page A to the browser to which the browser plug-in module belongs. After the browser receives URL A, it jumps to page B, because the jump from A to B uses the HTTP header Realized, there is no reference page information, so the browser plug-in module cannot detect the jump.

[0074] After that, continue to jump to page C, the browser plug-in module obtains the current page address URL C, the reference page address URL B of the current page and the parent page address of the current page, and judges that the refer...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a detection device and method for website redirection. The device comprises a browser plug-in module and a jump relationship database, wherein the browser plug-in module is arranged in a webpage browser in a plug-in way and is used for obtaining a current page address, a quotation page address of the current page and a parent page address of the current page after the webpage browser downloads current page content and before the webpage browser executes the current page content, and judging whether obtained content simultaneously meets the following two conditions: the first condition is that the quotation page address of the current page is non-null, and the second condition is that the current page address is equal to the parent page address of the current page; if the obtained content simultaneously meets the two conditions, the quotation page address of the current page is judged to own a jump relationship to the current page address, and the jump relationship is sent to a jump relationship database; and the jump relationship database is used for receiving and storing the jump relationship. The website redirection realized through HTML (Hypertext Markup Language) content can be detected.

Description

technical field [0001] The invention relates to the technical field of website redirection, in particular to a detection device and method for website redirection. Background technique [0002] URL redirection, commonly known as URL redirection, means that when a user enters URL A to visit, the browser will automatically jump to URL B and display the content of URL B to the user. [0003] Accurately identifying URL jumps and establishing a comprehensive URL jump relational database are of great significance for automatic website classification, indexing, and website security detection. For example, when detecting whether a website is safe or not, it is usually necessary to download the HTML file of the website for analysis. Malicious websites may embed jump codes in the HTML, so that detection based on the current HTML content cannot detect any malicious content; another example, search engines When indexing a website, failure to properly detect page jumps can also lead use...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F17/30G06F21/56
CPCG06F16/9566
Inventor 刘健
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products