Check patentability & draft patents in minutes with Patsnap Eureka AI!

Port detection method, electronic device and computer-readable storage medium

A port detection and computer technology, applied in the computer field, can solve problems such as low efficiency, achieve the effects of improving efficiency, reducing network resources and time-consuming, and improving accuracy

Active Publication Date: 2022-03-04
山东云天安全技术有限公司
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide a port detection method, electronic equipment, and a computer-readable storage medium, aiming to solve the technical problem of inefficiency in performing port scan detection on servers in the related art

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
  • Port detection method, electronic device and computer-readable storage medium
  • Port detection method, electronic device and computer-readable storage medium
  • Port detection method, electronic device and computer-readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0032] figure 1 A flow chart of a port detection method according to an embodiment of the present invention is shown.

[0033] Such as figure 1 As shown, the process of the port detection method according to an embodiment of the present invention includes:

[0034]Step 102, sending a specified number of port detection information to the server through the first thread, the first thread is closed after sending all the port detection information, each of the port detection information is composed of the server's binary IP address and Binary port numbers to be detected are composed in sequence.

[0035] Send a specified number of port detection information to the server through the first thread, in this process, the client uses all the network resources that the first thread can obtain to send the port detection information, regardless of whether the response information is received . Wherein, each of the port detection information is composed of the binary IP address of the ...

Embodiment 2

[0052] figure 2 A flow chart of a port detection method according to another embodiment of the present invention is shown.

[0053] Such as figure 2 As shown, the process of the port detection method according to another embodiment of the present invention includes:

[0054] Step 202, sending a specified amount of port detection information to the server through the first thread, and the first thread closes after sending all the port detection information.

[0055] Step 204, passively receiving the server's response information to any of the port detection information through the second thread.

[0056] Step 206 , using the direct checking method, subtracting 1 from the response information, and determining the last 16 digits of the response information after subtracting 1 as the port number to be checked.

[0057] The client first sends a SYN message as the port detection information, and the server uses a SYN+ACK response as the response information, wherein the port de...

Embodiment 3

[0061] image 3 A flow chart of a port detection method according to yet another embodiment of the present invention is shown.

[0062] Such as image 3 As shown, the process of the port detection method according to another embodiment of the present invention includes:

[0063] Step 302, sending a specified amount of port detection information to the server through the first thread, and the first thread closes after sending all the port detection information.

[0064] Step 304, passively receiving the server's response information to any of the port detection information through the second thread.

[0065] Step 306: When the hash value checking mode is selected, subtract 1 from the response information, and convert the response information after subtracting 1 into a hash value.

[0066] The description of performing decrement processing on the response information by 1 is the same as that in Embodiment 2, and will not be repeated here.

[0067] Step 308, if the hash value...

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 present invention provides a port detection method, electronic equipment and a computer-readable storage medium, wherein the method includes: sending a specified number of port detection information to the server through a first thread; The response information of the detection information; based on the network segment to which the IP address of the server belongs, determine the target inspection method that matches the network segment in a variety of predetermined response information inspection methods; determine whether the port reflected in the response information is Available ports. The technical scheme of the present invention enables the client to realize the asynchronous process of sending port detection information and receiving response information, reduces network resources and time-consuming occupied by the client in the port detection process, and improves port detection efficiency.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a port detection method, electronic equipment and a computer-readable storage medium. Background technique [0002] With the development of network technology, the security risks faced by the server are also increasing, which has given birth to the security detection technology of port detection on the server. [0003] In related technologies, the client can send probe information to the server for all possible port numbers, and check whether the corresponding response information is received after sending the probe information. When the response information is successfully received, it is determined that the corresponding port number is available. port. However, in general, there are 65535 possible port numbers, which causes the client to repeat the above process 65535 times. However, due to factors such as network transmission speed and data transmission capacity, this dete...

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 Patents(China)
IPC IPC(8): H04L9/40
CPCH04L63/14
Inventor 李峰孙晓鹏程学志孙瑞勇张帅民胡建秋袁晓露王善军
Owner 山东云天安全技术有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More