Pcapdotnet

编程入门 行业动态 更新时间:2024-10-27 07:22:56
本文介绍了Pcapdotnet - 端口扫描器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我想使用.NET开发快速端口扫描程序。 PcapDotNet 库是个好主意吗?如何使用此库实现该功能?我检查了他们的样品,但它们不包含这样的功能。 提前感谢您的帮助。 我尝试过: Pcap.Net教程·PcapDotNet / Pcap.Net Wiki·GitHub [ ^ ]

I would like to develop fast port scanner using .NET. Is the PcapDotNet library a good idea? How to implement that funtionality using this library? I checked their samples, but they do not contain such functionality. Thank you in advance for any help. What I have tried: Pcap.Net Tutorial · PcapDotNet/Pcap.Net Wiki · GitHub[^]

推荐答案

Pcap.Net 是 WinPcap 库的包装器,它是一个捕获网络包的库。 但是没有必要捕获端口扫描程序包。端口扫描程序尝试连接到服务并等待回复。捕获这些连接包和回复没有任何意义。您应该阅读端口扫描程序 - 维基百科 [ ^ ]。 您可以查看简单的TCP端口扫描程序 [ ^ ]在CodeProject上首次使用C#进行端口扫描。 如果您想使用图书馆,请查看 GitHub - thomdixon / SaltwaterTaffy :用于.NET的nmap包装程序库 [ ^ ] Nmap:网络映射器 - 免费安全扫描程序的包装器[ ^ ]库。 Pcap.Net is a wrapper for the WinPcap library which is a library to capture network packages. But there is no need to capture packages for a port scanner. A port scanner tries to connect to services and waits for replies. Capturing these connect packages and the replies does not make any sense. You should read about Port scanner - Wikipedia[^] first. You might have a look at Simple TCP Port Scanner[^] here at CodeProject for a first start on port scanning with C#. If you want to use a library have a look at GitHub - thomdixon/SaltwaterTaffy: An nmap wrapper library for .NET[^] which is a wrapper for the Nmap: the Network Mapper - Free Security Scanner[^] library.

更多推荐

Pcapdotnet

本文发布于:2023-08-07 06:43:53,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1317560.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:Pcapdotnet

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!