登录
首页 » Scanner » This procedure using Borland C++ Compile, process the key code is

This procedure using Borland C++ Compile, process the key code is

于 2022-01-23 发布 文件大小:3.58 kB
0 197
下载积分: 2 下载次数: 1

代码说明:

这个程序使用Borland C++编译,程序中关键代码是“my_addr.sin_port = htons(i)”,因为变量i是一个循环量,它从一开始到使用者设定值结束,而htons(i)则是对连接远程服务器需要使用的端口进行定义,之后使 用connect()函数连接指定端口,通过返回值判断这个端口是否打开,这样一个端口扫描的思路就出现了。 -This procedure using Borland C++ Compile, process the key code is

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 操作系统提供的 connect() 系统调用,用来与每一个感兴趣的目标计算机的端口进行连接。如果端口处于侦听状态,那么connect()就能成功。否则,这个端口...
    操作系统提供的 connect() 系统调用,用来与每一个感兴趣的目标计算机的端口进行连接。如果端口处于侦听状态,那么connect()就能成功。否则,这个端口是不能用的,即没有提供服务。这个技术的一个最大的优点是,你不需要任何权限。系统中的任何用户都有权利使用这个调用。另一个好处就是速度。如果对每个目标端口以线性的方式,使用单独的connect()调用,那么将会花费相当长的时间,你可以通过同时打开多个套接字,从而加速扫描。使用非阻塞 I/O 允许你设置一个低的时间用尽周期,同时观察多个套接字。但这种方法的缺点是很容易被发觉,并且被过滤掉。目标计算机的logs文件会显示一连串的连接和连接是出错的服务消息,并且能很快的使它关闭。 -operating system for the connect () system call, and for every one interested in the computer connect to the port. If the interception at the state port, then connect () can be successful. Otherwise, the port is not used, that is, not provide services. One of the biggest advantages is that you do not have any authority. System of any user has the right to use this call. Another advantage is speed. If each of the target port to a linear manner, the use of separate connect () call, it would take a very long time, you can open multiple socket, thus speeding up the scanning. The use of non-blocking I/O allows you to set up a low exhaustion of the time cycle, while observing
    2022-03-20 07:14:25下载
    积分:1
  • 在网络端口scannser
    基于C++的网络端口扫描源代码,包含头文件和源文件,可以实现端口扫描功能。-port scannser in network
    2023-09-09 01:00:03下载
    积分:1
  • kalman滤波实现目标跟踪 简洁明了
    kalman滤波实现目标跟踪 简洁明了-Kalman filter tracking concise
    2022-09-04 11:25:03下载
    积分:1
  • 这是一个应用检测的程序库,望可以帮助大家。以尽微薄之力。...
    这是一个应用检测的程序库,望可以帮助大家。以尽微薄之力。-This is an application of the procedures for detecting, hope you can help. In a modest way.
    2023-04-21 17:55:03下载
    积分:1
  • 包定制工具
    包定制工具- The package has custom-made the tool
    2022-10-14 16:40:03下载
    积分:1
  • ping命令的源代码,很详细的介绍,欢迎大家使用,免费的
    ping命令的源代码,很详细的介绍,欢迎大家使用,免费的-ping command
    2022-08-25 21:41:23下载
    积分:1
  • port scanning basic procedures
    端口扫描基本程序-port scanning basic procedures
    2022-10-04 12:35:03下载
    积分:1
  • 自己编写的traceroutcheng程序,基于linux QT的图形界面,运行于ARM平台,支持UDP和ICMP协议...
    自己编写的traceroutcheng程序,基于linux QT的图形界面,运行于ARM平台,支持UDP和ICMP协议-I have written traceroutcheng procedure linux QT-based graphical interface, running on the ARM platform, support for UDP and ICMP protocol
    2023-01-20 05:15:04下载
    积分:1
  • 基于UDP协议的网段扫描器
    基于UDP协议的网段扫描器- Based on UDP agreement webpage scanner
    2023-04-03 18:40:04下载
    积分:1
  • 查找可以ftp匿名登录的机器
    查找可以ftp匿名登录的机器 -Scanning machine which can be logged by ftp anonymous
    2022-07-26 16:01:34下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载