我是部署到群晖内,被攻击后,只能打开首页,其他打不开。今天买了升级包,从6.6升级到6.9之后;
后台错误日志里依然有大量境外IP访问。
这个有办法防止吗?
图上上传不上去,提示创建目录失败;
大概就是下述这样:
错误信息:SQLSTATE[42S22]: Column not found: 1054 Unknown col
umn 'g.batch_ number' in 'WHERE'
错误文件路径:
DOConnection.php
/volume1/shopxo6/vendor/topthink/think-orm/src/db/P
错误文件行号:836
错误编码:10501
请求ip:52.1.106.130
uri地址段:/public/?s=search/index/bid/35/cid/1012/peid/29/wd/9EF93B7EEA1B.html
请求参数:
{"s":"search\/index\/bid\/35\/cid\/1012\/peid\/29\/wd\/9EF93B7EEA1B.html","bid":"35","cid":"1012","peid":"29","wd":"9EF93B7EEA1B"}
您好 ,可以自己服务器nginx里面禁止这种垃圾爬虫 ,通过ip或者客户端标识禁止,放在server内,下面是列子
禁止ip
deny 192.168.1.11;
禁止垃圾爬虫标识
if ($http_user_agent ~* (SemrushBot|MJ12bot|DotBot|BLEXBot|PetalBot|DataForSeoBot|dataforseo-bot|Amazonbot|Presto|Baiduspider|Trident|claudebot|AhrefsBot|bingbot|facebookexternalhit|facebook|BacklinksExtendedBot|ImagesiftBot|YisouSpider|GPTBot|applebot|compatible|Trident|CriOS))
{
return 444;
}
查看全部 0 条评论