摘要: 1.准备实验环境 #使用vagrant创建虚拟机,并修改sshd配置 # -*- mode: ruby -*- # vi: set ft=ruby : Vagrant.require_version ">= 1.6.0" boxes = [ { :name => "stack", :eth1 => 阅读全文
posted @ 2021-02-27 16:06 woaibaobei 阅读(3087) 评论(0) 推荐(0)
摘要: vim dropip.sh # 自动提取攻击 ip #!/bin/bash netstat -na | awk '/ESTABLISHED/{split($5,T,":");print T[1]}' | sort | grep -v -E '192.168|127.0' | uniq -c | so 阅读全文
posted @ 2021-02-27 14:49 woaibaobei 阅读(800) 评论(0) 推荐(0)
摘要: 个人理解的 #!/bin/bashpro="tcp" src_host1='192.168.1.3'src_host2='10.138.108.103'src_port=8001 Dst_host='192.168.1.1'Dst_port='8001' ##############第一经过路由前# 阅读全文
posted @ 2021-02-27 14:25 woaibaobei 阅读(1567) 评论(0) 推荐(0)