MCPcopy Create free account
hub / github.com/sqlmapproject/sqlmap / __init__

Method __init__

lib/core/wordlist.py:27–37  ·  view source on GitHub ↗
(self, filenames, proc_id=None, proc_count=None, custom=None)

Source from the content-addressed store, hash-verified

25 """
26
27 def __init__(self, filenames, proc_id=None, proc_count=None, custom=None):
28 self.filenames = [filenames] if isinstance(filenames, six.string_types) else filenames
29 self.fp = None
30 self.index = 0
31 self.counter = -1
32 self.current = None
33 self.iter = None
34 self.custom = custom or []
35 self.proc_id = proc_id
36 self.proc_count = proc_count
37 self.adjust()
38
39 def __iter__(self):
40 return self

Callers

nothing calls this directly

Calls 1

adjustMethod · 0.95

Tested by

no test coverage detected