MCPcopy Create free account
hub / github.com/secdev/scapy / __init__

Method __init__

scapy/volatile.py:549–554  ·  view source on GitHub ↗
(self, size=None, chars=_DEFAULT_CHARS)

Source from the content-addressed store, hash-verified

547 _DEFAULT_CHARS = b"".join(chb(c) for c in range(256))
548
549 def __init__(self, size=None, chars=_DEFAULT_CHARS):
550 # type: (Optional[Union[int, RandNum]], bytes) -> None
551 if size is None:
552 size = RandNumExpo(0.01)
553 self.size = size
554 self.chars = chars
555
556 def _command_args(self):
557 # type: () -> str

Callers

nothing calls this directly

Calls 1

RandNumExpoClass · 0.85

Tested by

no test coverage detected