如何在Ruby中使用RAW插槽?

编程入门 行业动态 更新时间:2024-10-06 14:29:00
本文介绍了如何在Ruby中使用RAW插槽?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

问题是,没有任何名为原始套接字的地方,另外还有一些手中,Socket类本身没有完全记录。

有没有人可以在Ruby中为这种套接字提供一些代码示例,或者也可能是某种文档?

顺便说一句,我已经知道如何使用TCPSocket和TCPServer类,而我所需要的就是一个原始套接字。

解决方案

看看 PacketFu 。它是非常好的维护和使用的Metasploit项目。

I'm trying to create a raw socket using Ruby.

The problem is, there isn't anything called "raw socket" there and, on the other hand, the Socket class itself is not fully documented.

Does anybody have some code samples for that kind of socket in Ruby, or maybe some kind of a documentation for that?

By the way, I already know how to work with TCPSocket and TCPServer classes, and what I need is particularly a raw socket.

解决方案

Have a look at PacketFu. It is very well maintained and used by the Metasploit Project.

更多推荐

如何在Ruby中使用RAW插槽?

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

发布评论

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

>www.elefans.com

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