wzlm123 大佬有话说 :
$10.88年付PR找大佬写一个简单的shell脚本
本帖最后由 wzlm123 于 2020-3-4 21:18 编辑
https://i.loli.net/2020/03/04/opgRWXnjkia3f7t.png
$10.88年付PR 找大佬写个脚本执行以下命令.
1.删除
rm -f portscan1.txt
rm -f portscan2.txt
rm -f portscan3.txt
2.扫描
screen zmap -M udp -p 53-w cn.txt -B 800M –probe-args=file:xxx.pkt -o portscan1.txt
3.过滤
php filter.php portscan1.txt portscan2.txt 100 100
4.去重
awk ‘$2>100{print $1}’ portscan2.txt | sort -n | uniq | sort -R > portscan3.txt
PM我联系方式
net777 大佬有话说 :
我觉得很不错 楼下觉得呢
h2o 大佬有话说 :
1.把你的命令全粘到一个文件里,保存
2.把动态变更的内容按顺序用 $1 $2…替换
3.chmod +x
4.执行脚本 后面每个空格一个参数 对应 $1 $2….
5.PR小鸡可以给我了