Fast scanning method of network ports based on self-adaptation
A network port, fast scanning technology, applied in the direction of data exchange network, digital transmission system, electrical components, etc., can solve the problems of large number of scanned, consume a lot of time, failure of the three-way handshake process, etc., to reduce the number, avoid The effect of repeating scanning and speeding up
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0028] A fast scanning method for network ports based on self-adaptation, which is characterized by:
[0029] Step 1: Set an IP address set A of the scanned subnet. The initial value of set A is the IP address set of the scanned subnet set by the user. Set the IP address set S in advance. The initial value of set S is the IP address set by the user. Set, set the scanning port set P in advance, the initial of set P is the set of scanning ports set by the user, set an IP port set R, the initial set of R is empty, set the new port set NP, the new port set NP is initially empty, enter Step two;
[0030] Step 2: Take out each IP address from the IP address set S in turn, scan all the ports of the taken out IP address, add the scanned IP address and port number to the IP port set R, and add the port at the same time The number is added to the port set P, when all the IP addresses in the IP address set S are processed, go to step 3; otherwise, repeat step 2;
[0031] Step 3: Delete the IP...
Embodiment 2
[0039] The IP addresses and open ports in the set of all detected subnet IP addresses in this example are as follows:
[0040] 10.0.0.180
[0041] 10.0.0.2801001
[0042] 10.0.0.3
[0043] 10.0.0.4
[0044] 10.0.0.5100120450
[0045] 10.0.0.6
[0046] 10.0.0.7
[0047] A fast scanning method for network ports based on self-adaptation, which is characterized by:
[0048] Step one (1): Set an IP address set A of the scanned subnet, the initial value of set A is the IP address set of the scanned subnet set by the user {10.0.0.1, 10.0.0.2, 10.0.0.3, 10.0.0.4 ,10.0.0.5,10.0.0.6,10.0.0.7}, set the IP address set S in advance, the initial value of set S is the IP address set {10.0.0.1} set by the user, set the scan port set P in advance, the initial of set P Set an IP port set R for the user's scan port set {80}, set R is initially empty, set a new port set NP, the new port set NP is initially empty, and proceed to step 2 (2);
[0049] Step two (2): Take out each IP address 10.0.0.1 from the IP a...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com