Unlock instant, AI-driven research and patent intelligence for your innovation.

Code detection method and device and non-instantaneous computer readable storage medium

A code detection and code technology, applied in the computer field, can solve problems such as difficult to modify security

Pending Publication Date: 2022-05-27
CHINA TELECOM CORP LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Once the vulnerability of hard-coded encryption is exploited, it will cause security problems that are difficult to modify.

Method used

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

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Code detection method and device and non-instantaneous computer readable storage medium
  • Code detection method and device and non-instantaneous computer readable storage medium
  • Code detection method and device and non-instantaneous computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] The technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only a part of the embodiments of the present disclosure, but not all of the embodiments. The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the disclosure, its application or uses in any way. Based on the embodiments in the present disclosure, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of the present disclosure.

[0025] The inventor's research found that if you search for password keywords (such as password, pass, pwd, jdbc, etc.) in the code to detect whether there is a hard-coded password in the code, the detection accuracy is usually low and the detection...

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

PUM

No PUM Login to View More

Abstract

The invention provides a code detection method and device and a non-instantaneous computer readable storage medium, and relates to the technical field of computers. The code detection method comprises the following steps: identifying functions and parameters in a code; searching a connection parameter for calling a network function and a definition parameter of the connection parameter from the parameters, wherein the function comprises the network function; searching parameter processing functions for processing the definition parameters into connection parameters from the functions, wherein the functions comprise the parameter processing functions; according to the parameter processing function and the definition parameter, judging whether the connection parameter is a hard coded password or not; and under the condition that the connection parameter is the hard coded password, outputting a detection report for detecting the hard coded password in the code. According to the method and the device, the hard-coded password in the code can be detected more accurately and efficiently.

Description

technical field [0001] The present disclosure relates to the field of computer technologies, and in particular, to a code detection method, an apparatus, and a non-transitory computer-readable storage medium. Background technique [0002] The hard-coded password is encrypted in the program, and the hard-coded password will be obtained. [0003] Hard-coded encryption means that anyone with access to the code can see the hard-coded password, and can also see the hard-coded password by decompiling the code. The hard-coded encryption vulnerabilities, once exploited, can cause security problems that are difficult to correct. SUMMARY OF THE INVENTION [0004] A technical problem solved by the present disclosure is how to detect the hard-coded password in the code more accurately and efficiently. [0005] According to one aspect of the present disclosure, a code detection method is provided, including: identifying functions and parameters in the code; finding connection paramet...

Claims

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

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F21/46
CPCG06F21/46
Inventor 王争周文君于文良王渭清
Owner CHINA TELECOM CORP LTD