You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Joshua Porter edited this page May 18, 2017
·
1 revision
All modules are located in /modules and are automatically loaded when starting the server. Included in /modules is a file called template.py. This file contains the class that all modules must extend in order to display correctly and communicate with the webpage.
Use this template to build a custom module
fromtemplateimportTemplateclassIPv6Module(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
}
]
defaction(self, target=None):
self.socket_log('Running DoS on '+target['ip'])