node.py 文件源码

python
阅读 28 收藏 0 点赞 0 评论 0

项目:ossim 作者: isislovecruft 项目源码 文件源码
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
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号