MCPcopy Create free account
hub / github.com/AutoRecon/AutoRecon / __init__

Method __init__

autorecon/plugins.py:225–245  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

223class AutoRecon(object):
224
225 def __init__(self):
226 self.pending_targets = []
227 self.scanning_targets = []
228 self.completed_targets = []
229 self.plugins = {}
230 self.__slug_regex = re.compile('^[a-z0-9\-]+$')
231 self.plugin_types = {'port':[], 'service':[], 'report':[]}
232 self.port_scan_semaphore = None
233 self.service_scan_semaphore = None
234 self.argparse = None
235 self.argparse_group = None
236 self.args = None
237 self.missing_services = []
238 self.taglist = []
239 self.tags = []
240 self.excluded_tags = []
241 self.patterns = []
242 self.errors = False
243 self.lock = asyncio.Lock()
244 self.load_slug = None
245 self.load_module = None
246
247 def add_argument(self, plugin, name, **kwargs):
248 # TODO: make sure name is simple.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected