def add_command(self, command, help, aggressive=False):
"""Commands are actions/scans the plugin implements, with PluginXXX.process_task().
Setting aggressive to True is a warning that the command will open many simultaneous connections to the server
and should therefore not be run concurrently with other `aggressive` commands against a given server.
"""
self._commands.append(make_option('--{}'.format(command), action='store_true', help=help))
self._commands_as_text.append((command, aggressive))
评论列表
文章目录