IPv6Tools是一款功能健壮的IPv6功能审计框架,该框架以模块化架构实现,并且集成了大量功能模块和插件来帮助用户对启用了IPv6的网络进行安全审计。框架内置的模块支持枚举类似ICMPv6和组播监听器(MLD)之类的IPv6功能,除此之外,框架还支持枚举类似多播服务器时会进行自动加载。/modules目录中有一个名为template.py的文件,该文件中包含了所有模块都需要继承的类,以便在Web页面中正确显示并完成通信。
广大研究人员可以使用下列模块来自定义构建模块:
from template import Templateclass IPv6Module(Template): def __init__(self, socketio, namespace): super(IPv6Module, self).__init__(socketio, namespace) self.modname = "CVE-2016-1879" self.menu_text = "FreeBSD IPv6 DoS" self.actions = [ { "title": "FreeBSD IPv6 DoS", #name that's displayed on the buttons/menu "action": "action", #method name to call "target": True #set this to true to display it in the right-click menu } ] def action(self, target=None): # send a log msg self.socket_log('Running DoS on '+target['ip']) # do stuff, etc # merge results with main result set listOfDicts = [{ip: '::1', device_name: 'test'}] self.module_merge(listOfDicts)libdnet安装git clone https://github.com/dugsong/libdnet.gitcd libdnet./configure && makesudo make installcd pythonpython setup.py install
sudo apt install libpcap-dev