MCPcopy
hub / github.com/Xyntax/POC-T / poc

Function poc

script/opensshd-user-enum.py:40–46  ·  view source on GitHub ↗
(host)

Source from the content-addressed store, hash-verified

38
39
40def poc(host):
41 ans = []
42 base_time = getResponseTime(randomString(), host)
43 for user in users:
44 if getResponseTime(user, host) - base_time > delay:
45 ans.append(user)
46 return ans if ans.__len__() else False

Callers

nothing calls this directly

Calls 4

randomStringFunction · 0.90
getResponseTimeFunction · 0.85
appendMethod · 0.45
__len__Method · 0.45

Tested by

no test coverage detected