MCPcopy
hub / github.com/jtesta/ssh-audit / worker_process

Method worker_process

src/ssh_audit/dheat.py:894–901  ·  view source on GitHub ↗

Worker process that floods the target.

(self, q: Any, chosen_alg: str, gex_modulus_size: int)

Source from the content-addressed store, hash-verified

892
893
894 def worker_process(self, q: Any, chosen_alg: str, gex_modulus_size: int) -> None:
895 '''Worker process that floods the target.'''
896
897 # Handle CTRL-C gracefully.
898 try:
899 self._worker_process(q, chosen_alg, gex_modulus_size)
900 except KeyboardInterrupt:
901 pass
902
903
904 def _worker_process(self, q: Any, chosen_alg: str, gex_modulus_size: int) -> None:

Callers

nothing calls this directly

Calls 1

_worker_processMethod · 0.95

Tested by

no test coverage detected