CN110909343A - NAS password recovery method based on MD5 encryption - Google Patents
NAS password recovery method based on MD5 encryption Download PDFInfo
- Publication number
- CN110909343A CN110909343A CN201911164508.4A CN201911164508A CN110909343A CN 110909343 A CN110909343 A CN 110909343A CN 201911164508 A CN201911164508 A CN 201911164508A CN 110909343 A CN110909343 A CN 110909343A
- Authority
- CN
- China
- Prior art keywords
- password
- mobile phone
- phone number
- key
- disk
- 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/45—Structures or tools for the administration of authentication
- G06F21/46—Structures or tools for the administration of authentication by designing passwords or checking the strength of passwords
-
- 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/70—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
- G06F21/78—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure storage of data
Abstract
The invention discloses a NAS password recovery method based on MD5 encryption, which comprises two parts, namely password disk manufacturing and password recovery, wherein keys generated after encryption of MD5 are stored in a U disk by inputting a mobile phone number and hardware information of a machine through an administrator. The password recovery is realized by inputting a mobile phone number by an administrator, acquiring local hardware information by a program, encrypting the local hardware information by the MD5 to generate a key, and comparing the key with the key in the U disk. If the keys are the same, executing the code for recovering the password, and restoring the password to the initial state. The security risk caused by the traditional host reset button is avoided, a plurality of recovery disks can be created, and the NAS server cannot be damaged after the U disk is lost.
Description
Technical Field
The invention relates to the technical field of NAS network storage equipment, in particular to an NAS password recovery method based on MD5 encryption.
Background
NAS (Network Attached Storage) is a device which is literally connected to a Network simply in terms of being connected to the Network and has a data Storage function, so the NAS is also called as a Network Storage, and is a special data Storage server, wherein data is used as a center, a Storage device is completely separated from the server, and data is managed in a centralized manner, so that bandwidth is released, performance is improved, total ownership cost is reduced, investment is protected, cost is far lower than that of Storage using the server, efficiency is far higher than that of Storage using the server, an encryption mode in the NAS device in the prior art has a safety risk of a traditional host reset button, and after an encrypted data U disk is lost, safety of the NAS server is possibly damaged.
Disclosure of Invention
The invention aims to provide a NAS password recovery method based on MD5 encryption, which avoids the security risk generated by a traditional host reset button, can create a plurality of recovery disks and does not harm a NAS server after a U disk is lost.
In order to achieve the purpose, the technical scheme adopted by the invention is as follows:
a NAS password recovery method based on MD5 encryption comprises a password disk manufacturing method and a password recovery method, wherein the password disk manufacturing method comprises the following steps: step one, a USB flash disk is accessed to a machine USB interface; step two, acquiring a machine network card MAC address; step three, inputting a mobile phone number of an administrator; step four, judging the validity of the input mobile phone number, if the validity is valid, encrypting the MAC address and the telephone number through MD5 to generate a key, accessing a USB path, finishing the operation, and if the validity is not valid, continuously inputting another administrator mobile phone number;
the password recovery method comprises the following steps: step one, a USB flash disk is accessed into a USB interface; step two, acquiring a machine network card MAC address; step three, inputting a mobile phone number of an administrator; step four, judging the validity of the mobile phone number, if the validity is valid, encrypting the MAC address and the telephone number through MD5 to generate a key, and if the validity is not invalid, continuously inputting another administrator mobile phone number; and step five, judging whether the new key is the same as the original key, if so, restoring the password, finishing the operation, and if not, continuously inputting another administrator mobile phone number.
Compared with the prior art, the invention has the following beneficial effects:
the method of the invention avoids the safety risk generated by the traditional host reset button, can create a plurality of recovery disks and can not harm the NAS server after the U disk is lost.
Drawings
FIG. 1 is a flow chart of a method for manufacturing a cryptographic disc according to the present invention;
FIG. 2 is a flow chart of a password recovery method of the present invention;
Detailed Description
In order to make the technical means, the creation characteristics, the achievement purposes and the effects of the invention easy to understand, the invention is further described with reference to the specific drawings.
Referring to the flow charts in fig. 1 to 2, in the specific implementation process, a user inserts a USB disk into a USB interface of an NAS, then inputs an administrator mobile phone number, verifies the validity of the mobile phone number by a common method such as a verification code, generates a key in the NAS device, stores the key in a USB path, repeats the above steps when recovering a password, and restores the password if a new key is the same as an original key, thereby realizing NAS password recovery based on MD5 encryption.
The working principle of the method comprises a data encryption technology and a data encryption comparison, and keys generated after the mobile phone number and the hardware information of the machine are input by an administrator and encrypted through the MD5 are stored in the U disk. The password recovery method includes that a mobile phone number is input by an administrator, a program acquires hardware information of a local computer, then keys are generated through MD5 encryption, then the keys are compared with the keys in the U disk, if the keys are the same, codes of the password recovery are executed, and the password is restored to an initial state. In the process, an initialization password disk is created, a USB hard disk is accessed, the hard disk is formatted as ext4, a machine mac address is obtained, an encryption key is generated and stored in the USB hard disk, the USB hard disk is accessed when the password is recovered, the key in the USB hard disk is read out, the machine network card mac address is obtained, then a mobile phone number is input, the mobile phone number is encrypted through MD5, then the key is generated and compared with the key in the USB, if the key is the same, the password is recovered, and the password is continuously input if the key is not the same.
The foregoing shows and describes the general principles and features of the present invention, together with the advantages thereof. It will be understood by those skilled in the art that the present invention is not limited to the embodiments described above, which are described in the specification and illustrated only to illustrate the principle of the present invention, but that various changes and modifications may be made therein without departing from the spirit and scope of the present invention, which fall within the scope of the invention as claimed. The scope of the invention is defined by the appended claims and equivalents thereof.
Claims (1)
1. An NAS password recovery method based on MD5 encryption is characterized in that: the password recovery method comprises a password disk manufacturing method and a password recovery method, wherein the password disk manufacturing method comprises the following steps: step one, a USB flash disk is accessed to a machine USB interface; step two, acquiring a machine network card MAC address; step three, inputting a mobile phone number of an administrator; step four, judging the validity of the input mobile phone number, if the validity is valid, encrypting the MAC address and the telephone number through MD6 to generate a key, accessing a USB path, finishing the operation, and if the validity is not valid, continuously inputting another administrator mobile phone number;
the password recovery method comprises the following steps: step one, a USB flash disk is accessed into a USB interface; step two, acquiring a machine network card MAC address; step three, inputting a mobile phone number of an administrator; step four, judging the validity of the mobile phone number, if the validity is valid, encrypting the MAC address and the telephone number through MD6 to generate a key, and if the validity is not invalid, continuously inputting another administrator mobile phone number; and step five, judging whether the new key is the same as the original key, if so, restoring the password, finishing the operation, and if not, continuously inputting another administrator mobile phone number.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911164508.4A CN110909343A (en) | 2019-11-25 | 2019-11-25 | NAS password recovery method based on MD5 encryption |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911164508.4A CN110909343A (en) | 2019-11-25 | 2019-11-25 | NAS password recovery method based on MD5 encryption |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110909343A true CN110909343A (en) | 2020-03-24 |
Family
ID=69819183
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911164508.4A Pending CN110909343A (en) | 2019-11-25 | 2019-11-25 | NAS password recovery method based on MD5 encryption |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110909343A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101727558A (en) * | 2008-10-28 | 2010-06-09 | 联想(北京)有限公司 | Method for clearing password of computer, computer and server |
CN101770552A (en) * | 2008-12-31 | 2010-07-07 | 北京联想软件有限公司 | Method for clearing computer password, computer and system for clearing computer password |
CN103763097A (en) * | 2014-01-23 | 2014-04-30 | 网端科技(杭州)有限公司 | Security encryption method for password or secret key |
CN106790243A (en) * | 2017-01-21 | 2017-05-31 | 厦门天锐科技股份有限公司 | A kind of password remapping method of safe U disc |
-
2019
- 2019-11-25 CN CN201911164508.4A patent/CN110909343A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101727558A (en) * | 2008-10-28 | 2010-06-09 | 联想(北京)有限公司 | Method for clearing password of computer, computer and server |
CN101770552A (en) * | 2008-12-31 | 2010-07-07 | 北京联想软件有限公司 | Method for clearing computer password, computer and system for clearing computer password |
CN103763097A (en) * | 2014-01-23 | 2014-04-30 | 网端科技(杭州)有限公司 | Security encryption method for password or secret key |
CN106790243A (en) * | 2017-01-21 | 2017-05-31 | 厦门天锐科技股份有限公司 | A kind of password remapping method of safe U disc |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10284372B2 (en) | Method and system for secure management of computer applications | |
US9077537B2 (en) | Generating secure private keys for use in a public key communications environment | |
US8683232B2 (en) | Secure user/host authentication | |
KR20210066867A (en) | An encrypted asset encryption key portion that allows assembly of an asset encryption key using a subset of the encrypted asset encryption key portion. | |
CN104598793A (en) | Fingerprint authentication method and fingerprint authentication device | |
CN107679370B (en) | Equipment identifier generation method and device | |
JP6073320B2 (en) | Authority-dependent platform secret to digitally sign | |
CN102945355A (en) | Sector map-based rapid data encryption policy compliance | |
CN104079581A (en) | Identity authentication method and device | |
CN102855452A (en) | Method for following quick data encryption strategy based on encryption piece | |
CN101650693A (en) | Security control method for mobile hard disk and security mobile hard disk | |
CN109076054B (en) | System and method for managing encryption keys for single sign-on applications | |
CN110544090A (en) | Digital currency hard wallet application implementation method, SIM card and system | |
US10635826B2 (en) | System and method for securing data in a storage medium | |
CN116070241A (en) | Mobile hard disk encryption control method | |
CN105760789A (en) | Protection method for encryption key in encrypted mobile solid-state disk | |
WO2022028255A1 (en) | Data extraction method and system for mobile phone enterprise wechat, and storage medium | |
CN103428172A (en) | Method for safely storing information and method for safely reading information | |
KR102328057B1 (en) | Document security service server that supports encryption of document files based on terminal information and operating method thereof | |
CN104715206A (en) | Data security protection method for mobile storage medium | |
CN110909343A (en) | NAS password recovery method based on MD5 encryption | |
CN111291001A (en) | Reading method and device of computer file, computer system and storage medium | |
CN102821110A (en) | Password finding method used for audio/video storage device | |
CN115455497A (en) | Computer hard disk data encryption system and method | |
CN113316915B (en) | Unlocking a data storage device |
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 |
Application publication date: 20200324 |
|
RJ01 | Rejection of invention patent application after publication |