Method, device, equipment and medium for prompting and modifying weak passwords
By obtaining and filtering the title information requested by the hypertext transmission protocol, determining the weak password of the camera device, and obtaining the shooting command through the shooting command interface, controlling the device to shoot, generating prompts to modify the file, solving the problem of low accuracy of weak password detection in the prior art, and improving the accuracy and security of weak password detection.
Patent Information
- Application Number
- CN202211047886.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-30
- Publication Date
- 2025-04-25
- Estimated Expiration
- 2042-08-30
AI Technical Summary
When existing scanning devices detect weak passwords of camera monitoring devices, their accuracy is low, which may lead to the non-weak password being misjudged as weak passwords, which will lead to serious security problems.
By obtaining the title information of the hypertext transmission protocol request corresponding to the original to be verified address, the target to be verified address is filtered out, and the target to be verified device is determined. Use the device information to determine the weak password information, log in to the target surviving device, and obtain the shooting command through the preset command interface, and control the device to shoot to get prompts to modify the file. Finally, the prompt modification file is sent to the target user, prompting him to modify the weak password.
It improves the accuracy of weak passwords detected by scanning equipment, reduces the risk caused by weak passwords, ensures that the target user can modify weak passwords in a timely manner, and improves the security of the equipment.
Smart Images

Figure CN115412345B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a method, device, equipment and medium for prompting and modifying weak passwords. Background Art
[0002] Most camera surveillance devices use initial weak passwords. This type of password vulnerability can be easily guessed or cracked by attackers. Weak passwords are usually very simple, usually simple numbers or letters. Common default weak password accounts and passwords include admin / admin, admin / 111111, admin / 123456, etc. In addition, camera surveillance devices from different manufacturers mostly have default passwords, which can usually be found in the product instructions. This allows hackers to simply use brute force methods and initial account passwords to gain control of the camera.
[0003] Existing scanning devices can only detect weak passwords of camera monitoring devices based on IP, and then export corresponding reports for IT operation and maintenance administrators to modify weak passwords. However, the accuracy of weak passwords detected by scanning devices is low, and non-weak passwords may be judged as weak passwords. Therefore, administrators question the weak passwords detected by scanning devices. Since administrators do not pay attention to weak passwords, weak passwords may cause serious security problems.
[0004] In summary, it can be seen that how to improve the accuracy of weak passwords detected by scanning devices and reduce the danger caused by weak passwords are problems to be solved in the field. Summary of the invention
[0005] In view of this, the purpose of the present invention is to provide a method, device, equipment and medium for prompting and modifying weak passwords, so as to improve the accuracy of weak passwords detected by scanning equipment and reduce the danger caused by weak passwords. The specific scheme is as follows:
[0006] In a first aspect, the present application discloses a method for prompting and modifying a weak password, comprising:
[0007] Acquire the header information of the hypertext transfer protocol request corresponding to the original address to be verified, and filter out the target address to be verified from the original address to be verified, and then determine the target surviving device corresponding to the target address to be verified;
[0008] Determine the device information of the target surviving device using the title information, determine the corresponding weak password information based on the device information, and then log in to the target surviving device using the weak password information;
[0009] Obtaining a current shooting command through a preset command interface, and controlling the target survival device to shoot, so as to obtain a prompt modification file corresponding to the current shooting command;
[0010] The prompt modification file is sent to the user address of the target user, so as to prompt the target user to modify the weak password information based on the prompt modification file.
[0011] Optionally, the acquiring the current shooting command through a preset command interface and controlling the target survival device to shoot, so as to obtain a prompt modification file corresponding to the current shooting command, includes:
[0012] The current shooting command is obtained through a preset command interface. If the current shooting command is a preset video shooting command, the target survival device is controlled to shoot a video for a preset time period to obtain a prompt modification file corresponding to the current shooting command.
[0013] Optionally, the acquiring the current shooting command through a preset command interface and controlling the target survival device to shoot, so as to obtain a prompt modification file corresponding to the current shooting command, includes:
[0014] The current shooting command is obtained through a preset command interface. If the current shooting command is a preset photo shooting command, the target survival device is controlled to shoot photos at preset time intervals to obtain a prompt modification file corresponding to the current shooting command.
[0015] Optionally, controlling the target survival device to take photos at preset time intervals includes:
[0016] Determining a preset time interval and a preset number of photos based on the preset photo shooting command;
[0017] The target survival device is controlled to take photos based on the preset time interval and the preset number of photos.
[0018] Optionally, the acquiring the header information of the hypertext transfer protocol request corresponding to the original address to be verified, and filtering out the target address to be verified from the original address to be verified, includes:
[0019] Performing a survival scan on the original address to be verified to obtain a surviving device and a surviving port, and sending a corresponding hypertext transfer protocol request to the surviving port to obtain header information and hypertext transfer protocol response information returned by the surviving device based on the corresponding hypertext transfer protocol request;
[0020] The target address to be verified is screened out from the original addresses to be verified using the hypertext transfer protocol response information.
[0021] Optionally, the determining the device information of the target surviving device by using the title information includes:
[0022] The device type information, device brand information and device model information of the target surviving device are determined using the title information.
[0023] Optionally, determining corresponding weak password information based on the device information, and then using the weak password information to log in to the target surviving device includes:
[0024] Querying weak password information corresponding to the device type information, the device brand information, and the device model information from a preset weak password library, and determining a corresponding login type based on the device type information, the device brand information, and the device model information;
[0025] Based on the login type, the target surviving device is logged in using the weak password information.
[0026] In a second aspect, the present application discloses a weak password prompt modification device, comprising:
[0027] A device determination module, used to obtain the header information of the hypertext transfer protocol request corresponding to the original address to be verified, and filter out the target address to be verified from the original address to be verified, and then determine the target surviving device corresponding to the target address to be verified;
[0028] A device login module, used to determine the device information of the target surviving device using the title information, determine the corresponding weak password information based on the device information, and then log in to the target surviving device using the weak password information;
[0029] A file acquisition module, used to acquire a current shooting command through a preset command interface, and control the target survival device to shoot, so as to obtain a prompt modification file corresponding to the current shooting command;
[0030] The prompt modification module is used to send the prompt modification file to the user address of the target user, so as to prompt the target user to modify the weak password information based on the prompt modification file.
[0031] In a third aspect, the present application discloses an electronic device, comprising:
[0032] Memory, used to store computer programs;
[0033] The processor is used to execute the computer program to implement the steps of the aforementioned method for prompting and modifying weak passwords disclosed above.
[0034] In a fourth aspect, the present application discloses a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, the steps of the aforementioned method for prompting and modifying weak passwords disclosed above are implemented.
[0035] It can be seen that the present application obtains the title information of the hypertext transfer protocol request corresponding to the original address to be verified, and filters out the target address to be verified from the original address to be verified, and then determines the target surviving device corresponding to the target address to be verified; uses the title information to determine the device information of the target surviving device, and determines the corresponding weak password information based on the device information, and then uses the weak password information to log in to the target surviving device; obtains the current shooting command through a preset command interface, and controls the target surviving device to shoot, so as to obtain a prompt modification file corresponding to the current shooting command; sends the prompt modification file to the user address of the target user, so as to prompt the target user to modify the weak password information based on the prompt modification file. It can be seen that the present application filters out the target address to be verified from the original address to be verified, and determines the target survival device corresponding to the target address to be verified, that is, the camera device, and then determines the device information of the target survival device, and determines the weak password information based on the device information, so as to successfully log in to the target survival device using the weak password information, which can prove that the weak password of the target survival device has been cracked, thereby reducing the probability of misjudgment, and controlling the target survival device to take pictures. The resulting prompt modification file proves that the current weak password information is easy to crack and has a high risk factor, and the prompt modification file is sent to the target user. The target user can know that the current weak password is highly dangerous, so the weak password is modified. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0037] Figure 1 A flowchart of a method for prompting and modifying a weak password disclosed in this application;
[0038] Figure 2 A specific schematic diagram of obtaining a prompt file modification disclosed in this application;
[0039] Figure 3 A flowchart of a specific method for prompting and modifying weak passwords disclosed in this application;
[0040] Figure 4A flowchart of a specific method for prompting and modifying weak passwords disclosed in this application;
[0041] Figure 5 A schematic diagram of the structure of a device for prompting and modifying a weak password disclosed in this application;
[0042] Figure 6 This is a structural diagram of an electronic device disclosed in this application. DETAILED DESCRIPTION
[0043] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0044] Most camera surveillance devices use initial weak passwords. This type of password vulnerability can be easily guessed or cracked by attackers. Weak passwords are usually very simple, usually simple numbers or letters. Common default weak password accounts and passwords include admin / admin, admin / 111111, admin / 123456, etc. In addition, camera surveillance devices from different manufacturers mostly have default passwords, which can usually be found in the product instructions. This allows hackers to simply use brute force methods and initial account passwords to gain control of the camera.
[0045] Existing scanning devices can only detect weak passwords of camera monitoring devices based on IP, and then export corresponding reports for IT operation and maintenance administrators to modify weak passwords. However, the accuracy of weak passwords detected by scanning devices is low, and non-weak passwords may be judged as weak passwords. Therefore, administrators question the weak passwords detected by scanning devices. Since administrators do not pay attention to weak passwords, weak passwords may cause serious security problems.
[0046] To this end, the present application provides a solution for modifying weak passwords, thereby improving the accuracy of weak passwords detected by scanning devices and reducing the dangers caused by weak passwords.
[0047] See also Figure 1 As shown, the embodiment of the present application discloses a method for prompting and modifying a weak password, including:
[0048] Step S11: obtaining header information of a hypertext transfer protocol request corresponding to an original address to be verified, filtering out a target address to be verified from the original address to be verified, and then determining a target surviving device corresponding to the target address to be verified.
[0049] In this embodiment, the acquisition of the header information of the hypertext transfer protocol request corresponding to the original address to be verified and the selection of the target address to be verified from the original address to be verified specifically includes: performing a survival scan on the original address to be verified to obtain a survival device and a survival port, and sending a corresponding hypertext transfer protocol request to the survival port to obtain the header information and hypertext transfer protocol response information returned by the survival device based on the corresponding hypertext transfer protocol request; and selecting the target address to be verified from the original address to be verified using the hypertext transfer protocol response information. Based on the asset detection engine, the survival scan is performed on the original address to be verified to obtain a survival device and a survival port, and the survival device and the survival port are transmitted through corresponding pipelines to the target device in this embodiment for obtaining weak password information and controlling the camera to shoot after logging into the camera device to obtain a prompt to modify the file. The target device includes a communication interface, a processor, and a memory. The communication interface is used to access the network and includes a gigabit electrical port, a gigabit optical port, and a 10 gigabit optical port. The processor can perform an asset detection engine, survival scan, and weak password verification, and the memory can store prompts to modify the file. The target device sends a Hyper Text Transfer Protocol (HTTP) request to the survival port to obtain the title information returned by the survival device, wherein the title information includes response header information and HTTP page information, and stores the title information in a corresponding file.
[0050] It should be noted that in this embodiment, the target survival device is a camera device, which generally has basic functions such as video recording or transmission and static image capture. After the lens captures the image, the photosensitive component circuit and control component in the camera process the image and convert it into a digital signal that can be recognized by the computer, and then input it into the computer through a parallel port or USB (Universal Serial Bus) connection, and then the software restores the image. After obtaining the title information and HTTP response information, the header Server field of the Web page information in the HTTP response information is used to filter non-IoT devices, that is, filter non-camera devices, that is, only filter out camera devices.
[0051] Step S12: using the title information to determine the device information of the target surviving device, and based on the device information, determining the corresponding weak password information, and then using the weak password information to log in to the target surviving device.
[0052] In this embodiment, the determining the device information of the target surviving device by using the title information specifically includes: determining the device type information, device brand information and device model information of the target surviving device by using the title information.
[0053] In this embodiment, the weak password information corresponding to the device information is determined, and then the target surviving device is logged in using the weak password information, specifically including: querying the weak password information corresponding to the device type information, the device brand information and the device model information from the preset weak password library, and determining the corresponding login type based on the device type information, the device brand information and the device model information; based on the login type, the target surviving device is logged in using the weak password information. Weak password information refers to passwords that are easily guessed or cracked by attackers. Weak passwords are usually very simple, usually simple numbers or letters. Common default weak password accounts and passwords include admin / admin, admin / 111111, admin / 123456, etc.
[0054] Step S13: obtaining the current shooting command through a preset command interface, and controlling the target survival device to shoot, so as to obtain a prompt modification file corresponding to the current shooting command.
[0055] In this embodiment, Figure 2 A specific prompt modification file acquisition schematic diagram is shown, which uses the obtained weak password information to log in to the camera device, and obtains the current shooting command through the preset command interface. For example, the preset shooting command is to shoot a 5-second video and take 5 photos in the 5-second video, with a time interval of 1 second between each photo, to obtain a prompt modification file containing videos and photos.
[0056] Step S14: Sending the prompt modification file to the user address of the target user, so as to prompt the target user to modify the weak password information based on the prompt modification file.
[0057] In this embodiment, the target user can determine that the camera device currently has a weak password based on the prompt modification file, so the security factor of the camera device is very low, and the camera device is very easy to be illegally controlled, so the target user modifies the weak password information based on the prompt modification file to obtain a password with a high security factor. The prompt modification file is sent to the user address of the target user. It should be noted that the target user can be an IT administrator or a user corresponding to the camera device with a weak password. When the target user is an IT administrator, the IT administrator can modify the password of the camera device with a weak password, or notify the corresponding user to modify the password. When the target user is the user corresponding to the camera device with a weak password, the target user modifies the password based on the prompt modification file.
[0058] It can be seen that the present application obtains the title information of the hypertext transfer protocol request corresponding to the original address to be verified, and filters out the target address to be verified from the original address to be verified, and then determines the target surviving device corresponding to the target address to be verified; uses the title information to determine the device information of the target surviving device, and determines the corresponding weak password information based on the device information, and then uses the weak password information to log in to the target surviving device; obtains the current shooting command through a preset command interface, and controls the target surviving device to shoot, so as to obtain a prompt modification file corresponding to the current shooting command; sends the prompt modification file to the user address of the target user, so as to prompt the target user to modify the weak password information based on the prompt modification file. It can be seen that the present application filters out the target address to be verified from the original address to be verified, and determines the target survival device corresponding to the target address to be verified, that is, the camera device, and then determines the device information of the target survival device, and determines the weak password information based on the device information, so as to successfully log in to the target survival device using the weak password information, which can prove that the weak password of the target survival device has been cracked, thereby reducing the probability of misjudgment, and controlling the target survival device to take pictures. The resulting prompt modification file proves that the current weak password information is easy to crack and has a high risk factor, and the prompt modification file is sent to the target user. The target user can know that the current weak password is highly dangerous, so the weak password is modified.
[0059] See also Figure 3 As shown, the embodiment of the present application discloses a specific method for prompting and modifying weak passwords, including:
[0060] Step S21: obtaining header information of a hypertext transfer protocol request corresponding to an original address to be verified, filtering out a target address to be verified from the original address to be verified, and then determining a target surviving device corresponding to the target address to be verified.
[0061] Step S22: using the title information to determine the device information of the target surviving device, and based on the device information, determining the corresponding weak password information, and then using the weak password information to log in to the target surviving device.
[0062] Step S23: obtaining the current shooting command through the preset command interface, and if the current shooting command is a preset video shooting command, controlling the target survival device to shoot a video for a preset time period to obtain a prompt modification file corresponding to the current shooting command.
[0063] In this embodiment, it can be understood that the target survival device is a camera device, so the camera device can be controlled to shoot a video for a preset time period, for example, the preset time period is 10 seconds, so as to obtain a 10-second video file, and the 10-second video file is used as a prompt to modify the file. The preset time period can be included in the current shooting command.
[0064] Step S24: Sending the prompt modification file to the user address of the target user, so as to prompt the target user to modify the weak password information based on the prompt modification file.
[0065] It can be seen that after obtaining the weak password information, the present application logs in to the target surviving device, that is, logs in to the camera device, and controls the camera device to shoot video for a preset time period to get a prompt to modify the file. Because the camera device can be logged in, it can be determined that the camera device has a weak password, reducing the probability of misjudgment. The target user can determine that the current camera device has a weak password based on the prompt to modify the file, and it is extremely unsafe and can be easily illegally cracked and illegally controlled to shoot the camera, significantly increasing the target user's alertness to modify the weak password to obtain a more secure password.
[0066] See also Figure 4 As shown, the embodiment of the present application discloses a specific method for prompting and modifying weak passwords, including:
[0067] Step S31: obtaining header information of a hypertext transfer protocol request corresponding to an original address to be verified, filtering out a target address to be verified from the original address to be verified, and then determining a target surviving device corresponding to the target address to be verified.
[0068] Step S32: using the title information to determine the device information of the target surviving device, and based on the device information, determining the corresponding weak password information, and then using the weak password information to log in to the target surviving device.
[0069] In this embodiment, when using weak password information to log in to the target survival device, it is an authentication process, where authentication refers to verifying whether the current user has the right to access the target survival device. Traditional authentication is verified through passwords. The premise of this method is that each user who obtains a password has been authorized. When a user is created, a password is assigned to the user. The user's password can be specified by the administrator or applied for by the user.
[0070] Step S33: obtaining the current shooting command through the preset command interface, and if the current shooting command is a preset photo shooting command, controlling the target survival device to shoot photos at preset time intervals to obtain a prompt modification file corresponding to the current shooting command.
[0071] In this embodiment, the control of the target survival device to take photos at preset time intervals specifically includes: determining a preset time interval and a preset number of photos based on the preset photo shooting command; and controlling the target survival device to take photos based on the preset time interval and the preset number of photos. For example, the preset time interval is 1 second, the preset number of photos is 10, and then photos are taken to obtain a prompt to modify the file containing 10 photo files. When the administrator password of the system is a weak password, researchers use the administrator user and the weak password to enter the system to control the entire system, thereby completely controlling the system. Any researcher only needs to use a simple IE (Internet Explorer) browser or simple tool skills to exploit this type of vulnerability.
[0072] Step S34: Send the prompt modification file to the user address of the target user, so as to prompt the target user to modify the weak password information based on the prompt modification file.
[0073] It can be seen that after obtaining the weak password information, the present application logs in to the target survival device and controls the target survival device to take photos to get a prompt to modify the file. Since the traditional method of obtaining the target survival device with a weak password may result in misjudgment, the target user does not trust the acquisition result, which greatly reduces the probability of password modification for the target survival device whose actual password is a weak password, and thus increases the security issues caused by weak passwords. The present application logs in to the target survival device to take photos, so as to verify that the target survival device currently has a weak password, thereby improving the target user's trust in the result, that is, improving the accuracy of the user's judgment on whether the password is safe. When the target user receives a prompt to modify the file, it is determined that the target survival device does have a weak password and the security index is very low, and then the password of the target survival device is modified.
[0074] See also Figure 5 As shown, the embodiment of the present application discloses a weak password prompt modification device, including:
[0075] The device determination module 11 is used to obtain the header information of the hypertext transfer protocol request corresponding to the original address to be verified, and filter out the target address to be verified from the original address to be verified, and then determine the target surviving device corresponding to the target address to be verified;
[0076] A device login module 12, configured to determine device information of the target surviving device using the title information, determine corresponding weak password information based on the device information, and then log in to the target surviving device using the weak password information;
[0077] The file acquisition module 13 is used to acquire the current shooting command through a preset command interface, and control the target survival device to shoot, so as to obtain a prompt modification file corresponding to the current shooting command;
[0078] The prompt modification module 14 is used to send the prompt modification file to the user address of the target user, so as to prompt the target user to modify the weak password information based on the prompt modification file.
[0079] It can be seen that the present application obtains the title information of the hypertext transfer protocol request corresponding to the original address to be verified, and filters out the target address to be verified from the original address to be verified, and then determines the target surviving device corresponding to the target address to be verified; uses the title information to determine the device information of the target surviving device, and determines the corresponding weak password information based on the device information, and then uses the weak password information to log in to the target surviving device; obtains the current shooting command through a preset command interface, and controls the target surviving device to shoot, so as to obtain a prompt modification file corresponding to the current shooting command; sends the prompt modification file to the user address of the target user, so as to prompt the target user to modify the weak password information based on the prompt modification file. It can be seen that the present application filters out the target address to be verified from the original address to be verified, and determines the target survival device corresponding to the target address to be verified, that is, the camera device, and then determines the device information of the target survival device, and determines the weak password information based on the device information, so as to successfully log in to the target survival device using the weak password information, which can prove that the weak password of the target survival device has been cracked, thereby reducing the probability of misjudgment, and controlling the target survival device to take pictures. The resulting prompt modification file proves that the current weak password information is easy to crack and has a high risk factor, and the prompt modification file is sent to the target user. The target user can know that the current weak password is highly dangerous, so the weak password is modified.
[0080] In some specific embodiments, the file acquisition module 13 includes:
[0081] The first prompt modification file acquisition unit is used to obtain the current shooting command through the preset command interface. If the current shooting command is a preset video shooting command, the target survival device is controlled to perform video shooting for a preset time period to obtain a prompt modification file corresponding to the current shooting command.
[0082] In some specific embodiments, the file acquisition module 13 includes:
[0083] The second prompt modification file acquisition unit is used to obtain the current shooting command through the preset command interface. If the current shooting command is a preset photo shooting command, the target survival device is controlled to take photos at preset time intervals to obtain a prompt modification file corresponding to the current shooting command.
[0084] In some specific embodiments, the second prompt modification file acquisition unit includes:
[0085] The photo shooting unit is used to determine a preset time interval and a preset number of photos based on the preset photo shooting command; and control the target survival device to take photos based on the preset time interval and the preset number of photos.
[0086] In some specific embodiments, the device determination module 11 includes:
[0087] The target address to be verified screening unit is used to perform a survival scan on the original address to be verified to obtain a surviving device and a surviving port, and send a corresponding hypertext transfer protocol request to the surviving port to obtain the header information and hypertext transfer protocol response information returned by the surviving device based on the corresponding hypertext transfer protocol request; and use the hypertext transfer protocol response information to screen out the target address to be verified from the original address to be verified.
[0088] In some specific embodiments, the device login module 12 includes:
[0089] The device information determining unit is used to determine the device type information, device brand information and device model information of the target surviving device by using the title information.
[0090] In some specific embodiments, the device login module 12 includes:
[0091] The target surviving device login unit is used to query the weak password information corresponding to the device type information, the device brand information and the device model information from a preset weak password library, and determine the corresponding login type based on the device type information, the device brand information and the device model information; based on the login type, log in to the target surviving device using the weak password information.
[0092] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Specifically, it may include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 is used to store a computer program, which is loaded and executed by the processor 21 to implement the following steps:
[0093] Acquire the header information of the hypertext transfer protocol request corresponding to the original address to be verified, and filter out the target address to be verified from the original address to be verified, and then determine the target surviving device corresponding to the target address to be verified;
[0094] Determine the device information of the target surviving device using the title information, determine the corresponding weak password information based on the device information, and then log in to the target surviving device using the weak password information;
[0095] Obtaining a current shooting command through a preset command interface, and controlling the target survival device to shoot, so as to obtain a prompt modification file corresponding to the current shooting command;
[0096] The prompt modification file is sent to the user address of the target user, so as to prompt the target user to modify the weak password information based on the prompt modification file.
[0097] In some specific implementations, the processor can implement the following steps by executing the computer program stored in the memory:
[0098] The current shooting command is obtained through a preset command interface. If the current shooting command is a preset video shooting command, the target survival device is controlled to shoot a video for a preset time period to obtain a prompt modification file corresponding to the current shooting command.
[0099] In some specific implementations, the processor can implement the following steps by executing the computer program stored in the memory:
[0100] The current shooting command is obtained through a preset command interface. If the current shooting command is a preset photo shooting command, the target survival device is controlled to shoot photos at preset time intervals to obtain a prompt modification file corresponding to the current shooting command.
[0101] In some specific implementations, the processor can implement the following steps by executing the computer program stored in the memory:
[0102] Determining a preset time interval and a preset number of photos based on the preset photo shooting command;
[0103] The target survival device is controlled to take photos based on the preset time interval and the preset number of photos.
[0104] In some specific implementations, the processor can implement the following steps by executing the computer program stored in the memory:
[0105] Performing a survival scan on the original address to be verified to obtain a surviving device and a surviving port, and sending a corresponding hypertext transfer protocol request to the surviving port to obtain header information and hypertext transfer protocol response information returned by the surviving device based on the corresponding hypertext transfer protocol request;
[0106] The target address to be verified is screened out from the original addresses to be verified using the hypertext transfer protocol response information.
[0107] In some specific implementations, the processor can implement the following steps by executing the computer program stored in the memory:
[0108] The device type information, device brand information and device model information of the target surviving device are determined using the title information.
[0109] In some specific implementations, the processor may further include the following steps by executing the computer program stored in the memory:
[0110] Querying weak password information corresponding to the device type information, the device brand information, and the device model information from a preset weak password library, and determining a corresponding login type based on the device type information, the device brand information, and the device model information;
[0111] Based on the login type, the target surviving device is logged in using the weak password information.
[0112] In this embodiment, the power supply 23 is used to provide working voltage for each hardware device on the electronic device; the communication interface 24 can create a data transmission channel between the electronic device and the external device, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present application, and is not specifically limited here; the input and output interface 25 is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs and is not specifically limited here.
[0113] Among them, the processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 21 can be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 21 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 21 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 21 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0114] In addition, the memory 22, as a carrier for storing resources, can be a read-only memory, a random access memory, a disk or an optical disk, etc. The resources stored thereon include an operating system 221, a computer program 222 and data 223, etc. The storage method can be temporary storage or permanent storage.
[0115] Among them, the operating system 221 is used to manage and control the hardware devices and computer programs 222 on the electronic device to realize the operation and processing of the massive data 223 in the memory 22 by the processor 21, which can be Windows, Unix, Linux, etc. In addition to including a computer program that can be used to complete the weak password prompt modification method performed by the electronic device disclosed in any of the aforementioned embodiments, the computer program 222 can further include a computer program that can be used to complete other specific tasks. In addition to data transmitted from an external device received by the electronic device, the data 223 can also include data collected by its own input and output interface 25, etc.
[0116] Furthermore, an embodiment of the present application also discloses a computer-readable storage medium, in which a computer program is stored. When the computer program is loaded and executed by a processor, the method steps performed in the process of modifying the weak password prompt disclosed in any of the aforementioned embodiments are implemented.
[0117] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0118] The above is a detailed introduction to the weak password prompt modification method, device, equipment and medium provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for general technical personnel in this field, according to the idea of the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. A method for prompting and modifying a weak password, characterized in that: include: Acquire the header information of the hypertext transfer protocol request corresponding to the original address to be verified, and filter out the target address to be verified from the original address to be verified, and then determine the target surviving device corresponding to the target address to be verified; Determine the device information of the target surviving device using the title information, determine the corresponding weak password information based on the device information, and then log in to the target surviving device using the weak password information; Obtaining a current shooting command through a preset command interface, and controlling the target survival device to shoot, so as to obtain a prompt modification file corresponding to the current shooting command; Sending the prompt modification file to the user address of the target user, so as to prompt the target user to modify the weak password information based on the prompt modification file; The step of obtaining the header information of the hypertext transfer protocol request corresponding to the original address to be verified, and filtering out the target address to be verified from the original address to be verified includes: Performing a survival scan on the original address to be verified to obtain a surviving device and a surviving port, and sending a corresponding hypertext transfer protocol request to the surviving port to obtain header information and hypertext transfer protocol response information returned by the surviving device based on the corresponding hypertext transfer protocol request; The target address to be verified is screened out from the original addresses to be verified using the hypertext transfer protocol response information.
2. The method for modifying a weak password according to claim 1, characterized in that: The step of obtaining the current shooting command through a preset command interface and controlling the target survival device to shoot, so as to obtain a prompt modification file corresponding to the current shooting command, includes: The current shooting command is obtained through a preset command interface. If the current shooting command is a preset video shooting command, the target survival device is controlled to shoot a video for a preset time period to obtain a prompt modification file corresponding to the current shooting command.
3. The method for modifying a weak password according to claim 1, characterized in that: The step of obtaining the current shooting command through a preset command interface and controlling the target survival device to shoot, so as to obtain a prompt modification file corresponding to the current shooting command, includes: The current shooting command is obtained through a preset command interface. If the current shooting command is a preset photo shooting command, the target survival device is controlled to shoot photos at preset time intervals to obtain a prompt modification file corresponding to the current shooting command.
4. The method for modifying a weak password according to claim 3, characterized in that: The controlling the target survival device to take photos at preset time intervals includes: Determining a preset time interval and a preset number of photos based on the preset photo shooting command; The target survival device is controlled to take photos based on the preset time interval and the preset number of photos.
5. The method for modifying a weak password according to claim 1, characterized in that: The step of determining the device information of the target surviving device by using the title information includes: The device type information, device brand information and device model information of the target surviving device are determined using the title information.
6. The method for modifying a weak password according to claim 5, characterized in that: The determining corresponding weak password information based on the device information, and then using the weak password information to log in to the target surviving device, includes: Querying weak password information corresponding to the device type information, the device brand information, and the device model information from a preset weak password library, and determining a corresponding login type based on the device type information, the device brand information, and the device model information; Based on the login type, the target surviving device is logged in using the weak password information.
7. A weak password prompt modification device, characterized in that: include: A device determination module, used to obtain the header information of the hypertext transfer protocol request corresponding to the original address to be verified, and filter out the target address to be verified from the original address to be verified, and then determine the target surviving device corresponding to the target address to be verified; A device login module, used to determine the device information of the target surviving device using the title information, determine the corresponding weak password information based on the device information, and then log in to the target surviving device using the weak password information; A file acquisition module, used to acquire a current shooting command through a preset command interface, and control the target survival device to shoot, so as to obtain a prompt modification file corresponding to the current shooting command; A prompt modification module, used for sending the prompt modification file to the user address of the target user, so as to prompt the target user to modify the weak password information based on the prompt modification file; The device determination module is specifically used for: Performing a survival scan on the original address to be verified to obtain a surviving device and a surviving port, and sending a corresponding hypertext transfer protocol request to the surviving port to obtain header information and hypertext transfer protocol response information returned by the surviving device based on the corresponding hypertext transfer protocol request; The target address to be verified is screened out from the original addresses to be verified using the hypertext transfer protocol response information.
8. An electronic device, characterized in that: include: Memory, used to store computer programs; A processor is used to execute the computer program to implement the steps of the method for prompting and modifying a weak password as described in any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: Used to store computer programs; wherein, when the computer program is executed by a processor, the steps of the method for prompting and modifying weak passwords as described in any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Method and device for determining position of IP devices in network
CN108900566A
Method for detecting weak password of webcam
CN108965272A