Intranet hosts are automatically assigned IP address, sometimes need to look under the IP in use, wrote a simple script.
Linux and Windows can be used, multi-threaded to ping1-255 all addresses, inefficient, about 2 minutes. Just make it and use it.
#-*-coding:utf-8-*-#author: Orangleliu date:2014-11-12 #python2.7.x ip_scaner.py "" different platforms, to achieve IP
The port is the current computer and outside the channel, so once the hacker locks the target computer, it will scan the computer is already open port, so as to get more useful information. Scan destination computer ports generally use Superscan, X-scan, and so on.First, the
the target host, but the result of the scan will be false and the omission is serious when the network condition is bad.
2, fast installation nmap for enterprise port scanning Nmap is a network detection and security scanner, system managers and individuals can use this software to scan a large network, to obtain the host is running and what services to provide
various formats for further analysis.Ping the scan to print the host that responds to the scan without further testing (such as port scan or operating system detection ):
NMAP-SP 192.168.1.0/24
Only list each host on the specified network and do not send any packets to the target host:
NMAP-Sl 192.168.1.0/24
port is successful, it means that the port is open, otherwise it is closed.The most common feature of this technology is simplicity, and it does not require any permissions.The code is as follows:#include #include#pragmaComment (lib, "Ws2_32")#defineSTART 80//Start Port#defineEND 1024//terminating PortintMainintargcChar*argv[]) { inti; Wsadata ws; //WS used to
packets, the life of this port open, if you received a RST description of the port closed. Because the SYN scan does not complete the TCP three handshake process, it is also called a semi-open scan.
Advantages: Fast, if not filtered by the firewall, the basic can receive the answer packet.
Disadvantages: Scanning beha
I have been working for half a year on part-time security. I would like to share with you how I am doing security here. of course, as a part-time employee, I am not very thorough and I am not a reference for attacking. The following describes port security, which is mainly used to enable ports for all ip segments in the IDC of the company. for example, for a server, only the ssh
socket, time, threadSocket.setdefaulttimeout (3) def socket_port (Ip,port):"""Enter IP and port number, scan to determine if port is open"""TryIf port>=65535:Print U '
Each node in various IP-PUBLIC-VIP-Private-scan ip 1, PUBLIC, and VIPOracle RAC in RAC has a virtual IP address (VIP), which is in the same network segment as the public ip. The vip is attached to the public network interface. The main difference between VIP and public
Port Security Scan script
I have been working for half a year on part-time security. I would like to share with you how I am doing security here. Of course, as a part-time employee, I am not very thorough and I am not a reference for attacking.
The following describes port security, which is mainly used to enable ports for all
Reprinted: you can scan segment B and crack some service passwords According to the dictionary, such as FTP, SSH, MySQL, MSSQL, and Oracle. The system will automatically try to empty and weak passwords, for example, ftp Anonymous logon, mssql sa blank password, and oracle default password. Is it recommended to scan about 50 IP addresses due to php timeout? Php #
In addition to reconnaissance IP, there is also one-port scan in the hacker's detection mode. "Port scans" allow you to know which services, ports are open and not used (which you can understand to find the channel to the computer) that is being scanned.
first, port sc
External Network access intranet database-p2p penetrationIntranet database after deployment, such as local (dynamic) public IP, you can use nat123 dynamic Domain name resolution, real-time domain name resolution to the local public network IP, fixed domain name, thus through the domain name access, connected to the corresponding database application.
such as the intranet without public
IntroducedPython-nmap is a port scanning tool based on the system Nmap command, which is simple and convenient to use.Recently, in order to enhance server security and supervision, it is necessary to keep the company server open port scan records every day, once there is an increase in the decrease can be found.Previously wrote a https://github.com/bashhu/monitor
in Win98.Scan Port 1-1000 on my computer and set the timeout value to 200 ms. the maximum number of threads is, which takes about 45 seconds. When the timeout setting is shorter, the speed can reach 150 ports per second.
Iv. Conclusion
In fact, other methods may be required to increase the speed. If the number of threads is too large, the scheduling overhead of the thread will decrease the speed. If the ti
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.