CN111027042A - Behavior verification code verification method and device and storage medium - Google Patents
Behavior verification code verification method and device and storage medium Download PDFInfo
- Publication number
- CN111027042A CN111027042A CN201911232471.4A CN201911232471A CN111027042A CN 111027042 A CN111027042 A CN 111027042A CN 201911232471 A CN201911232471 A CN 201911232471A CN 111027042 A CN111027042 A CN 111027042A
- Authority
- CN
- China
- Prior art keywords
- verification
- behavior verification
- behavior
- page
- code
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
- G06F21/36—User authentication by graphic or iconic representation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2221/00—Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/21—Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/2133—Verifying human interaction, e.g., Captcha
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a verification method of a behavior verification code, which is characterized in that when a behavior verification request is received through a father page, a behavior verification iframe is searched; acquiring a rendered behavior verification window page from the found behavior verification iframe; displaying the behavior verification window page; acquiring a behavior verification code input by a user based on the behavior verification window page; and performing behavior verification on the behavior verification code. The invention also discloses a verification device and a storage medium for the behavior verification code. The behavior verification code has high verification compatibility, and can be effectively compatible with the password verification of other password controls.
Description
Technical Field
The present invention relates to the field of computers, and in particular, to a method and an apparatus for verifying a behavior verification code, and a storage medium.
Background
With the rapid development of the internet, in the field of internet security, particularly bank websites, the requirement on security is higher, so that pages such as registration, login and the like not only have password controls, but also have behavioral verification. When the password control device exists at the same time, some incompatible situations can occur, the password control device can shield the behavior verification code, and then a gap can appear when the verification code is slid, so that the experience of a user is not good. This occurs because, because the elements on a Web page have a hierarchical relationship, a high level obscures a low level, and because the level of the password control is the highest, the behavioral captcha is obscured. The prior art generally modifies password controls to make the hierarchy lower. However, the above modification can reduce the security, and the versions of various password controls are inconsistent and have no generality.
Therefore, the current behavioral verification method of the verification code has the problem of being difficult to be compatible with other password controls.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a verification method, a verification device and a storage medium of a behavior verification code, and aims to solve the technical problem that the existing verification mode of the behavior verification code is difficult to be compatible with other password controls.
In order to achieve the above object, the present invention provides a method for verifying a behavior verification code, including: when a behavior verification request is received through a parent page, searching a behavior verification iframe; acquiring a rendered behavior verification window page from the found behavior verification iframe; displaying the behavior verification window page; acquiring a behavior verification code input by a user based on the behavior verification window page; and performing behavior verification on the behavior verification code.
Optionally, the step of searching for the behavior verification iframe when the behavior verification request is received specifically includes: when a behavior verification request is received through a parent page, traversing the source code of the parent page to search a behavior verification iframe.
Optionally, the step of obtaining the behavior verification code input by the user based on the behavior verification window page specifically includes: and calling the behavior verification code received by the behavior verification window page through an application program interface of the window operating system, wherein the behavior verification code is input by a user based on the behavior verification window page.
Optionally, before the step of searching for the behavior verification iframe when the behavior verification request is received through the parent page, the method for checking the behavior verification code further includes: acquiring a loading request for a parent page; the behavior verification window page is initialized.
Optionally, the step of initializing the behavior verification window page specifically includes: initiating an initialization request of a behavior verification window page to a webpage server so that the webpage server feeds back initialization data of the behavior verification window page; searching a behavior verification iframe, and acquiring an initialization value of a behavior verification window page from the searched behavior verification iframe; initializing the behavior verification window page according to the initialization data and the initialization value; and loading the behavior verification window page and rendering the behavior verification window page in a behavior verification iframe.
Optionally, before the step of searching for the behavior verification iframe when the behavior verification request is received through the parent page, the method for checking the behavior verification code further includes: and when a login request sent by a user is received through the parent page, generating a behavior verification request.
Optionally, before the step of generating the behavior verification request when the login request sent by the user is received through the parent page, the verification method for the behavior verification code further includes: receiving user name information and password information input by a user through a password control; receiving a login request sent by a user; after the step of performing behavior verification on the behavior verification code, the method for verifying the behavior verification code further includes: and carrying out password verification on the user name information and the password information.
In addition, in order to achieve the above object, the present invention further provides a verification apparatus for a behavior verification code, including: the searching module is used for searching the behavior verification iframe when a behavior verification request is received through the father page; the page acquisition module is used for acquiring a rendered behavior verification window page from the found behavior verification iframe; the display module is used for displaying the behavior verification window page; the verification code acquisition module is used for acquiring the behavior verification code input by the user based on the behavior verification window page; and the verification module is used for performing behavior verification on the behavior verification code.
In addition, to achieve the above object, the present invention further provides a verification apparatus for a behavior verification code, including: the verification program of the behavior verification code realizes the steps of the verification method of the behavior verification code when being executed by the processor.
In addition, to achieve the above object, the present invention further provides a storage medium, in which a verification program of a behavior verification code is stored, and the verification program of the behavior verification code implements the steps of the verification method of the behavior verification code when being executed by a processor.
According to the verification method, device and storage medium for the behavior verification code, when a behavior verification request is received through a parent page, a behavior verification iframe is searched, a rendered behavior verification window page is obtained from the searched behavior verification iframe, the behavior verification window page is displayed, the behavior verification code input by a user based on the behavior verification window page is obtained, and therefore the behavior verification code is subjected to behavior verification; by the verification method of the behavior verification code, only the behavior verification iframe needs to be called, and the behavior verification window page in the behavior verification iframe is communicated with the father page, so that the verification compatibility of the behavior verification code is high, and the password verification of other password controls can be effectively compatible.
Drawings
FIG. 1 is a schematic diagram of a browser in a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for verifying a behavior verification code according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating steps before step S202 of the method for verifying a behavior verification code according to the embodiment of the present invention in FIG. 2;
FIG. 4 is a detailed flowchart of step S304 of the embodiment of the method for verifying a behavior verification code of the present invention in FIG. 3;
FIG. 5 is a flowchart illustrating steps before step S202 of the method for verifying a behavior verification code according to the embodiment of the present invention in FIG. 2;
FIG. 6 is a flowchart illustrating steps before step S502 of the method for verifying a behavior verification code according to the embodiment of the present invention in FIG. 5;
FIG. 7 is a flowchart illustrating steps after step S210 of the method for verifying a behavior verification code according to the embodiment of the present invention in FIG. 2;
fig. 8 is a block diagram of a verification apparatus for behavior verification codes according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, fig. 1 is a schematic structural diagram of a browser in a hardware operating environment according to an embodiment of the present invention.
The running environment of the browser in the embodiment of the present invention may be a PC (Personal Computer), or may be a mobile device having a display function, such as a smart phone, a tablet Computer, an e-book reader, an MP4(Moving Picture Experts Group Audio Layer IV, Moving Picture Experts compression standard Audio Layer 4) player, an MP4(Moving Picture Experts Group Audio Layer V, Moving Picture Experts compression standard Audio Layer 5) player, a portable Computer, and the like.
As shown in fig. 1, the browser may include: a processor 1001, such as a CPU, a memory 1003, and a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The memory 1003 may be a high-speed RAM memory or a non-volatile memory (e.g., a disk memory). The memory 1003 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the browser architecture shown in FIG. 1 does not constitute a limitation of the browser, and may include more or fewer components than shown, or some components in combination, or a different arrangement of components.
As shown in fig. 1, the memory 1003, which is a kind of computer storage medium, may include therein a checking program of an operating system, a network communication module, a user interface module, and a behavior verification code. The processor 1001 may be configured to call a verification program of the behavior verification code stored in the memory 1003, and perform the following operations: when a behavior verification request is received through a parent page, searching a behavior verification iframe; acquiring a rendered behavior verification window page from the found behavior verification iframe; displaying the behavior verification window page; acquiring a behavior verification code input by a user based on the behavior verification window page; and performing behavior verification on the behavior verification code.
Optionally, the step of searching for the behavior verification iframe when the behavior verification request is received specifically includes: when a behavior verification request is received through a parent page, traversing the source code of the parent page to search a behavior verification iframe.
Optionally, the step of obtaining the behavior verification code input by the user based on the behavior verification window page specifically includes: and calling the behavior verification code received by the behavior verification window page through an application program interface of the window operating system, wherein the behavior verification code is input by a user based on the behavior verification window page.
Optionally, before the step of searching for the behavior verification iframe when the behavior verification request is received through the parent page, the method for checking the behavior verification code further includes: acquiring a loading request for a parent page; the behavior verification window page is initialized.
Optionally, the step of initializing the behavior verification window page specifically includes: initiating an initialization request of a behavior verification window page to a webpage server so that the webpage server feeds back initialization data of the behavior verification window page; searching a behavior verification iframe, and acquiring an initialization value of a behavior verification window page from the searched behavior verification iframe; initializing the behavior verification window page according to the initialization data and the initialization value; and loading the behavior verification window page and rendering the behavior verification window page in a behavior verification iframe.
Optionally, before the step of searching for the behavior verification iframe when the behavior verification request is received through the parent page, the method for checking the behavior verification code further includes: and when a login request sent by a user is received through the parent page, generating a behavior verification request.
Optionally, before the step of generating the behavior verification request when the login request sent by the user is received through the parent page, the verification method for the behavior verification code further includes: receiving user name information and password information input by a user through a password control; receiving a login request sent by a user; after the step of performing behavior verification on the behavior verification code, the method for verifying the behavior verification code further includes: and carrying out password verification on the user name information and the password information.
Referring to fig. 2, an embodiment of a verification method for a behavior verification code includes:
step S202, when a behavior verification request is received through a parent page, a behavior verification iframe is searched;
it should be noted that, when the browser receives a behavior verification request through a parent page, the browser searches for a behavior verification iframe according to the behavior verification request. Wherein IFRAME is HTML (HyperText Markup Language) tag, functions as a document in a document, or floating FRAME (FRAME). The iframe element creates an inline frame that contains another document.
In this embodiment, the browser creates an iframe in advance, writes an initialization value of a behavior verification window page therein, and takes the iframe as a behavior verification iframe.
In one embodiment, step S202 specifically includes: when a behavior verification request is received through a parent page, traversing the source code of the parent page to search a behavior verification iframe.
It should be noted that the browser traverses the source code of the parent page that receives the behavior verification request, and finds the behavior verification iframe from the source code. Specifically, the behavior verification iframe has a specific attribute name, and the browser traverses the source code of the parent page according to the attribute name and finds the behavior verification iframe matched with the attribute name from the source code.
Step S204, a rendered behavior verification window page is obtained from the found behavior verification iframe;
it should be noted that the browser obtains the rendered behavior verification window page from the found behavior verification iframe, and reads it out completely.
Step S206, displaying the behavior verification window page;
further, the browser outputs the behavior verification window page to the front end for displaying so that a user can browse and operate the behavior verification window page.
Step S208, acquiring a behavior verification code input by a user based on the behavior verification window page;
it should be noted that, after the user inputs the behavior verification code based on the behavior verification window page, the browser obtains the behavior verification code. The behavior verification code input by the user is operation data of the user operation behavior verification window page. For example, when the behavior verification mode indicated by the behavior verification window page is jigsaw verification, the behavior verification code input by the user includes the sliding time of the user sliding the slider and the position information of the slider finally placed by the user.
In one embodiment, the step S208 specifically includes: and calling the behavior verification code received by the behavior verification window page through an application program interface of the window operating system, wherein the behavior verification code is input by a user based on the behavior verification window page.
It can be understood that, since the user performs the verification operation based on the behavior verification window page, the behavior verification code input by the user is executed by the behavior verification window page. Each page of the browser performs data communication through a Windows operating system Application program Interface (WinAPI) built in the browser. And the browser calls the behavior verification code received by the verification window page through the WinAPI. And the behavior verification window page is stored in the behavior verification iframe, so that the behavior verification code input by the user is actually received by the behavior verification iframe, the browser calls the behavior verification iframe, and the behavior verification code is read from the behavior verification iframe.
Step S210, performing behavior verification on the behavior verification code.
It should be noted that the browser performs behavior verification on the behavior verification code, and determines whether the verification passes. If the behavior verification mode indicated by the behavior verification window page is jigsaw verification, the initialization value comprises notch position information and preset time of a jigsaw, the behavior verification code input by the user comprises sliding time for the user to slide the sliding block and position information for the final sliding block to be placed by the user, the browser compares the sliding time with the preset time, judges whether the sliding time is greater than or equal to the preset time, if yes, the verification is overtime, and prompt information of verification failure is generated; if not, further comparing the notch position information with the position information of the slider placed by the user, if the notch position information is consistent with the position information of the slider placed by the user, judging that the verification is passed, and if the notch position information is inconsistent with the position information of the slider placed by the user, judging that the verification fails.
In one embodiment, the step S210 specifically includes: and sending the behavior verification code to a webpage server so that the webpage server feeds back a verification result after performing behavior verification on the behavior verification code.
In this embodiment, the browser sends the behavior verification code to the web server, so that the web server processes the verification process, and performance pressure of the browser can be effectively relieved. And after the webpage server obtains the verification result, feeding the verification result back to the browser.
In this embodiment, when a behavior verification request is received through a parent page, a behavior verification iframe is searched, a rendered behavior verification window page is obtained from the searched behavior verification iframe, the behavior verification window page is displayed, a behavior verification code input by a user based on the behavior verification window page is obtained, and thus, the behavior verification code is subjected to behavior verification; by the verification method of the behavior verification code, only the behavior verification iframe needs to be called, and the behavior verification window page in the behavior verification iframe is communicated with the father page, so that the verification compatibility of the behavior verification code is high, and the password verification of other password controls can be effectively compatible.
Further, in one embodiment, referring to fig. 3, before the step S202, the method for checking the behavior verification code further includes:
step S302, acquiring a loading request for a parent page;
it should be noted that the load request for the parent page is issued by the user through the browser. The parent page of this embodiment is a login page, when a user wants to log in a certain website, the login page of the website may be opened by inputting a website login address in the browser, and when the browser receives the website login address input by the user, the browser generates a loading request for loading the login page.
Step S304, initializing the behavior verification window page.
It should be noted that, in the process of loading the parent page, the browser initializes the behavior verification window page under the parent page.
In this embodiment, after the loading request for the parent page is acquired, the verification window page is initialized, so that the initialized verification window page can be directly called when the subsequent starting behavior is verified.
Further, in one embodiment, referring to fig. 4, the step S304 specifically includes:
step S402, initiating an initialization request of a behavior verification window page to a web server so that the web server feeds back initialization data of the behavior verification window page;
it should be noted that the browser may access the web server through the network, and the web server may manage each web page of the browser, which may process more complex program instructions. When the browser obtains a loading request for a parent page, an initialization request of a behavior verification window page is sent to a webpage server. And when receiving the initialization request, the webpage server feeds back the initialization data of the behavior verification window page to the browser. The initialization data includes window graphic data and initial text data of a behavior verification window page. The window graphic data includes a window picture, window size data, and the like.
Step S404, searching a behavior verification iframe, and acquiring an initialization value of a behavior verification window page from the searched behavior verification iframe;
it should be noted that, after finding the behavior verification iframe, the browser reads the initialization value of the behavior verification window page from the found behavior verification iframe. The initialization value is generated randomly and used for indicating a user to perform corresponding behavior operation according to the initialization value. For example, if the behavior verification mode indicated by the behavior verification window page is puzzle verification and the user needs to slide the slider to the notch, the position information of the notch is the initialized value.
Step S406, initializing the behavior verification window page according to the initialization data and the initialization value;
it should be noted that the browser initializes the behavior verification window page according to the initialization data and the initialization value.
Step S408, the behavior verification window page is loaded and rendered in the behavior verification iframe.
It should be noted that the browser loads the behavior verification window page, and renders the behavior verification window page in the behavior verification iframe to obtain a visual behavior verification window page.
The embodiment provides a specific process for initializing a behavior verification window page, where an initialization request of the behavior verification window page is initiated to a web server, so that the web server feeds back initialization data of the behavior verification window page, searches for a behavior verification iframe, obtains an initialization value of the behavior verification window page from the found behavior verification iframe, initializes the behavior verification window page according to the initialization data and the initialization value, loads the behavior verification window page, and renders the behavior verification window page in the behavior verification iframe, thereby completing initialization of the behavior verification window page.
Further, in one embodiment, the step S304 specifically includes: initializing a behavior verification window page, and loading a password control on the parent page. The password control is used for encrypting user name information and password information input by a user so as to avoid information leakage.
Referring to fig. 5, before the step S202, the method for checking the behavior verification code further includes: step S502, when a login request sent by a user is received through a father page, a behavior verification request is generated. Specifically, when a user inputs a login request through a parent page, the browser receives the login request and generates a behavior verification request.
In the embodiment, when a login request sent by a user is received, a behavior verification request is generated to perform behavior verification before login, so that the operation is ensured to be sent manually, and the safety and reliability of website login are ensured.
Further, in one embodiment, referring to fig. 6, before the step S502, the method for checking the behavior verification code further includes:
step S602, receiving user name information and password information input by a user through a password control;
step S604, a login request sent by the user is received.
The browser receives user name information and password information input by a user through the password control. And further receiving a login request sent by the user. Upon receiving a login request, a behavior verification request is generated. If the user does not input complete user name information and password information, prompt information for inputting an account password is generated firstly, a behavior verification request is not generated directly, and the behavior verification request is generated only after the user inputs the user name information and the password information completely.
In the embodiment, the browser receives the user name information and the password information input by the user, and receives the login request sent by the user after receiving the user name information and the password information, so that login can be performed according to the user name information and the password information, behavior correction is performed before login, and the safety and reliability of the user in logging in the website are guaranteed.
Based on the embodiment shown in fig. 6, in one embodiment, referring to fig. 7, after the step S210, the method for checking the behavior verification code further includes: step S702, performing password verification on the user name information and the password information.
The browser reads a login user name and a login password which are prestored in the database, compares the login user name and the login password with user name information and password information input by a user, if the login user name is consistent with the user name information and the login password is consistent with the password information, the password verification is passed, and otherwise, the password verification fails. In one embodiment, the browser sends the user name information and the password information to the web server, so that the web server performs the password verification according to the user name information and the password information, and the performance pressure of the browser is relieved.
Further, when the behavior verification of the behavior verification code and the password verification of the user name information and the password information are both verified, the browser logs in the website of the father page.
In this embodiment, after the behavior verification passes, password verification is further performed according to the user name information and the password information, so that the safety and reliability of user login are further ensured.
Referring to fig. 8, an embodiment of the present invention further provides an embodiment of a verification apparatus for a behavior verification code, where the verification apparatus for a behavior verification code includes:
the searching module 810 is configured to search a behavior verification iframe when a behavior verification request is received through a parent page;
a page obtaining module 820, configured to obtain a rendered behavior verification window page from the found behavior verification iframe;
a display module 830, configured to display the behavior verification window page;
the verification code obtaining module 840 is used for obtaining a behavior verification code input by a user based on the behavior verification window page;
and the checking module 850 is used for performing behavior checking on the behavior verification code.
In this embodiment, when a behavior verification request is received through a parent page, a behavior verification iframe is searched, a rendered behavior verification window page is obtained from the searched behavior verification iframe, the behavior verification window page is displayed, a behavior verification code input by a user based on the behavior verification window page is obtained, and thus, the behavior verification code is subjected to behavior verification; by the verification method of the behavior verification code, only the behavior verification iframe needs to be called, and the behavior verification window page in the behavior verification iframe is communicated with the father page, so that the verification compatibility of the behavior verification code is high, and the password verification of other password controls can be effectively compatible.
Optionally, the searching module 810 is further configured to traverse the source code of the parent page to search for a behavior verification iframe when a behavior verification request is received through the parent page.
Optionally, the verification code obtaining module 840 is further configured to invoke the behavior verification code received by the behavior verification window page through a window operating system application program interface, where the behavior verification code is input by the user based on the behavior verification window page.
Optionally, the verification apparatus for the behavior verification code further includes: the initialization module is used for acquiring a loading request for a parent page; the behavior verification window page is initialized.
Optionally, the initialization module is further configured to initiate an initialization request of a behavior verification window page to a web server, so that the web server feeds back initialization data of the behavior verification window page; searching a behavior verification iframe, and acquiring an initialization value of a behavior verification window page from the searched behavior verification iframe; initializing the behavior verification window page according to the initialization data and the initialization value; and loading the behavior verification window page and rendering the behavior verification window page in a behavior verification iframe.
Optionally, the verification apparatus for the behavior verification code further includes: and the request generation module is used for generating a behavior verification request when a login request sent by a user is received through the father page.
Optionally, the verification apparatus for the behavior verification code further includes: the receiving module is used for receiving user name information and password information input by a user through the password control; receiving a login request sent by a user; and the password verification module is used for performing password verification on the user name information and the password information.
In addition, an embodiment of the present invention further provides a verification apparatus for a behavior verification code, where the verification apparatus for a behavior verification code includes: the verification program of the behavior verification code realizes the steps of the embodiment of the verification method of the behavior verification code when being executed by the processor.
In addition, an embodiment of the present invention further provides a storage medium, where a verification program of a behavior verification code is stored on the storage medium, and when executed by a processor, the steps of the embodiment of the method for verifying the behavior verification code are implemented.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on this understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for causing a browser device to execute the methods according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (10)
1. A verification method of a behavior verification code is characterized by comprising the following steps:
when a behavior verification request is received through a parent page, searching a behavior verification iframe;
acquiring a rendered behavior verification window page from the found behavior verification iframe;
displaying the behavior verification window page;
acquiring a behavior verification code input by a user based on the behavior verification window page;
and performing behavior verification on the behavior verification code.
2. The method for checking a behavior verification code according to claim 1, wherein the step of searching for a behavior verification iframe when the behavior verification request is received specifically includes:
when a behavior verification request is received through a parent page, traversing the source code of the parent page to search a behavior verification iframe.
3. The method for verifying the behavior verification code according to claim 2, wherein the step of obtaining the behavior verification code input by the user based on the behavior verification window page specifically includes:
and calling the behavior verification code received by the behavior verification window page through an application program interface of the window operating system, wherein the behavior verification code is input by a user based on the behavior verification window page.
4. The method for checking a behavioral validation code according to claim 1, wherein, before the step of searching for a behavioral validation iframe when a behavioral validation request is received through a parent page, the method for checking a behavioral validation code further comprises:
acquiring a loading request for a parent page;
the behavior verification window page is initialized.
5. The method for verifying the behavior verification code according to claim 4, wherein the step of initializing the behavior verification window page specifically includes:
initiating an initialization request of a behavior verification window page to a webpage server so that the webpage server feeds back initialization data of the behavior verification window page;
searching a behavior verification iframe, and acquiring an initialization value of a behavior verification window page from the searched behavior verification iframe;
initializing the behavior verification window page according to the initialization data and the initialization value;
and loading the behavior verification window page and rendering the behavior verification window page in a behavior verification iframe.
6. The method for checking a behavioral validation code according to claim 1, wherein, before the step of searching for a behavioral validation iframe when a behavioral validation request is received through a parent page, the method for checking a behavioral validation code further comprises:
and when a login request sent by a user is received through the parent page, generating a behavior verification request.
7. The method for checking a behavioral verification code according to claim 6, wherein before the step of generating a behavioral verification request upon receiving a login request issued by a user through a parent page, the method for checking a behavioral verification code further comprises:
receiving user name information and password information input by a user through a password control;
receiving a login request sent by a user;
after the step of performing behavior verification on the behavior verification code, the method for verifying the behavior verification code further includes:
and carrying out password verification on the user name information and the password information.
8. A verification device for a behavior verification code is characterized by comprising the following steps:
the searching module is used for searching the behavior verification iframe when a behavior verification request is received through the father page;
the page acquisition module is used for acquiring a rendered behavior verification window page from the found behavior verification iframe;
the display module is used for displaying the behavior verification window page;
the verification code acquisition module is used for acquiring the behavior verification code input by the user based on the behavior verification window page;
and the verification module is used for performing behavior verification on the behavior verification code.
9. A verification device for behavior verification codes is characterized by comprising: a memory, a processor and a program for checking a behaviour verification code stored on the memory and executable on the processor, the program for checking a behaviour verification code implementing the steps of the method for checking a behaviour verification code according to any one of claims 1 to 7 when executed by the processor.
10. A storage medium having stored thereon a verification program of a behaviour verification code, the verification program of a behaviour verification code implementing the steps of the verification method of a behaviour verification code according to any one of claims 1 to 7 when executed by a processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911232471.4A CN111027042A (en) | 2019-12-03 | 2019-12-03 | Behavior verification code verification method and device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911232471.4A CN111027042A (en) | 2019-12-03 | 2019-12-03 | Behavior verification code verification method and device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111027042A true CN111027042A (en) | 2020-04-17 |
Family
ID=70204553
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911232471.4A Pending CN111027042A (en) | 2019-12-03 | 2019-12-03 | Behavior verification code verification method and device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111027042A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103856493A (en) * | 2012-11-28 | 2014-06-11 | 纽海信息技术(上海)有限公司 | Cross domain login system and method |
US9015844B1 (en) * | 2012-06-25 | 2015-04-21 | Symantec Corporation | Techniques for web application vulnerability scanning |
CN107196892A (en) * | 2016-03-15 | 2017-09-22 | 阿里巴巴集团控股有限公司 | A kind of Website logging method and device |
-
2019
- 2019-12-03 CN CN201911232471.4A patent/CN111027042A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9015844B1 (en) * | 2012-06-25 | 2015-04-21 | Symantec Corporation | Techniques for web application vulnerability scanning |
CN103856493A (en) * | 2012-11-28 | 2014-06-11 | 纽海信息技术(上海)有限公司 | Cross domain login system and method |
CN107196892A (en) * | 2016-03-15 | 2017-09-22 | 阿里巴巴集团控股有限公司 | A kind of Website logging method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2842072B1 (en) | Retrieving content from website through sandbox | |
CN107852412B (en) | System and method, computer readable medium for phishing and brand protection | |
US7343626B1 (en) | Automated detection of cross site scripting vulnerabilities | |
US8667565B2 (en) | Security restructuring for web media | |
US20150012924A1 (en) | Method and Device for Loading a Plug-In | |
US7953753B2 (en) | Newsmaker verification and commenting method and system | |
CN101273331B (en) | Method of controlling a browser window | |
CN111414562A (en) | Application program page API interface preposition method and device and storage medium | |
US11755830B2 (en) | Utilizing natural language processing to automatically perform multi-factor authentication | |
CN111767109A (en) | H5 page display method and device based on terminal application and readable storage medium | |
US20180357404A1 (en) | Information processing method and apparatus, and electronic device | |
CN110990798B (en) | Application program permission configuration method and device, electronic equipment and storage medium | |
US20160162984A1 (en) | Processing unstructured messages | |
CN111651749A (en) | Method and device for finding account based on password, computer equipment and storage medium | |
KR101318132B1 (en) | Method for securing a gadget access to a library | |
CN111027042A (en) | Behavior verification code verification method and device and storage medium | |
US20150264025A1 (en) | Persistent bookmarklet authorization | |
US20100146485A1 (en) | Environment Abstraction of a Business Application and the Executing Operating Environment | |
US11449186B2 (en) | System and method for optimized generation of a single page application for multi-page applications | |
CN111367898B (en) | Data processing method, device, system, electronic equipment and storage medium | |
CN113378549B (en) | Document verification method and device, computer equipment and storage medium | |
CN115269066B (en) | Interface calling method, device and storage medium | |
CN118395434A (en) | Front-end component management and control method, device, equipment and storage medium | |
CN115935106A (en) | Website generation method, device, equipment and storage medium | |
CN116318722A (en) | Browser-based security certificate calling method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200417 |