def pwntime(self, alpha=1.0, beta=0.5, median=60*60*24*3):
"""The amount of time it takes to pwn this node.
:ivar median: The median amount of time it should take to own this node.
By default, three days. (It takes the skids a while to figure out
which metasploit module to use.)
"""
if not self._pwntime:
self._pwntime = int(floor(random.gammavariate(alpha, beta) * median))
return self._pwntime
评论列表
文章目录