渗透测试.脚本

1、生成短信爆破字典

#!/usr/bin/env python
import itertools as its
words = "0123456879"
r =its.product(words, repeat=5)
for i in r:
    
    with open('./data.txt', 'a+') as f:  # 设置文件对象
         print("".join(i),file = f)

你可能感兴趣的:(python,网络安全)