文件名称:tcpscan
- 所属分类:
- Linux/Unix编程
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- bo***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
多线程端口扫描程序
实现一个多线程端口扫描程序,满足要求:
1)能同时扫描5个IP地址
2)针对每个IP地址,开设100个线程对其进行扫描
3)如果端口打开,使用函数getservbyport获取服务名,在屏幕上打印:IP port servername,如果是未知的服务,则在屏幕上显示:IP port unkown.
-Multi-threaded port scanner to achieve a multi-threaded port scanner to meet the requirements: 1) can be scanned simultaneously, 5 IP addresses 2) for each IP address, to open 100 threads to scan their 3) If the port open, use the function getservbyport Get service name on the screen printing: IP port servername, if the service is unknown, then displayed on the screen: IP port unkown.
实现一个多线程端口扫描程序,满足要求:
1)能同时扫描5个IP地址
2)针对每个IP地址,开设100个线程对其进行扫描
3)如果端口打开,使用函数getservbyport获取服务名,在屏幕上打印:IP port servername,如果是未知的服务,则在屏幕上显示:IP port unkown.
-Multi-threaded port scanner to achieve a multi-threaded port scanner to meet the requirements: 1) can be scanned simultaneously, 5 IP addresses 2) for each IP address, to open 100 threads to scan their 3) If the port open, use the function getservbyport Get service name on the screen printing: IP port servername, if the service is unknown, then displayed on the screen: IP port unkown.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
tcpscan\tcpscan.c
tcpscan
tcpscan