flooder_utility.py 文件源码

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

项目:pentesting-multitool 作者: ffmancera 项目源码 文件源码
def generator(self, n, filename):

        time = 0.00114108 * n + 0.157758
        minutes = time/60

        print('Generating packets, it will take %s seconds, moreless (%s, minutes)' % (time, minutes))

        pkgs = [IP(dst='10.0.0.1')/ICMP() for i in range(n)]
        wrpcap(filename, pkgs)

        print('%s packets generated.' % (n))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号