4414站长论坛 发表于 2025-12-4 22:27:51

怎么排查网站有没有被挂码? New

刚才看到有人发挂码的事,说实话,我也经常遇到,网站可以说是被多次挂码,网站10年了,起码被挂了不下3-4次,最近的一次是我九月份发现的,到目前都还没恢复正常,搜索引擎搜索了一些不存在的页面,刚开始是发现从搜索引擎进入网站直接跳到别的网站,才知道被挂码,可以说是防不胜防挂码这事,也挺闹心,我没啥技术,每次就靠删除当前全部内容,再把正常的备份重新恢复


不知道有没有什么好的方法排查有没有清理干净和预防方法,我到现在都感觉我网站还没清理干净,有大神的话可以帮我简单看下

阿健 发表于 2025-12-4 22:27:58

你是用win的吗

4414站长论坛 发表于 2025-12-4 22:28:16

我发了一个帖子:【还在审核中】
分享一下我网站被挂马后我是如何处理的
https://www.dismall.com/thread-27572-1-1.html

ROBOT 发表于 2025-12-4 22:29:14

Fengyecn 发表于 2025-12-2 22:26
你是用win的吗                        是
       

.ce-block {    margin-bottom: 20px;}.ce-block__content,.ce-toolbar__content {        /* max-width:calc(100% - 50px) */        margin-left: auto;    margin-right: auto;}.ce-paragraph {    line-height: 1.6em;    outline: none;    text-indent: 2em;    font-size: 16px;}.ce-paragraph--right {    text-align: right;}.ce-paragraph--center {    text-align: center;}.ce-paragraph--left {    text-align: left;}.ce-paragraph--justify {    text-align: justify;}.ce-paragraph-text-indent {    text-align: justify;}.ce-paragraph:empty::before{content: attr(data-placeholder);color: #707684;font-weight: normal;opacity: 0;}/** Show placeholder at the first paragraph if Editor is empty */.codex-editor--empty .ce-block:first-child .ce-paragraph:empty::before {opacity: 1;}.codex-editor--toolbox-opened .ce-block:first-child .ce-paragraph:empty::before,.codex-editor--empty .ce-block:first-child .ce-paragraph:empty:focus::before {opacity: 0;}.ce-paragraph p:first-of-type{    margin-top: 0;}.ce-paragraph p:last-of-type{    margin-bottom: 0;}.svg-icon {    width: 1em;    height: 1em;}.svg-icon path,.svg-icon polygon,.svg-icon rect {    fill: #4691f6;}.svg-icon circle {    stroke: #4691f6;    stroke-width: 1;}.inline-code {background: rgba(250, 239, 240, 0.78);color: #b44437;padding: 3px 4px;border-radius: 5px;margin: 0 1px;font-family: inherit;font-size: 0.86em;font-weight: 500;letter-spacing: 0.3px;}

阿健 发表于 2025-12-4 22:29:21

用linux安全性会比win的高吧,而且性能也优于win

ROBOT 发表于 2025-12-4 22:29:52

不用盗版插件模板,也是其中之一!

平安鸡 发表于 2025-12-4 22:30:27

LooTan 发表于 2025-12-3 11:22
不用盗版插件模板,也是其中之一!                        还真用过
       

.ce-block {    margin-bottom: 20px;}.ce-block__content,.ce-toolbar__content {        /* max-width:calc(100% - 50px) */        margin-left: auto;    margin-right: auto;}.ce-paragraph {    line-height: 1.6em;    outline: none;    text-indent: 2em;    font-size: 16px;}.ce-paragraph--right {    text-align: right;}.ce-paragraph--center {    text-align: center;}.ce-paragraph--left {    text-align: left;}.ce-paragraph--justify {    text-align: justify;}.ce-paragraph-text-indent {    text-align: justify;}.ce-paragraph:empty::before{content: attr(data-placeholder);color: #707684;font-weight: normal;opacity: 0;}/** Show placeholder at the first paragraph if Editor is empty */.codex-editor--empty .ce-block:first-child .ce-paragraph:empty::before {opacity: 1;}.codex-editor--toolbox-opened .ce-block:first-child .ce-paragraph:empty::before,.codex-editor--empty .ce-block:first-child .ce-paragraph:empty:focus::before {opacity: 0;}.ce-paragraph p:first-of-type{    margin-top: 0;}.ce-paragraph p:last-of-type{    margin-bottom: 0;}.svg-icon {    width: 1em;    height: 1em;}.svg-icon path,.svg-icon polygon,.svg-icon rect {    fill: #4691f6;}.svg-icon circle {    stroke: #4691f6;    stroke-width: 1;}.inline-code {background: rgba(250, 239, 240, 0.78);color: #b44437;padding: 3px 4px;border-radius: 5px;margin: 0 1px;font-family: inherit;font-size: 0.86em;font-weight: 500;letter-spacing: 0.3px;}

阿健 发表于 2025-12-4 22:30:34

跟AI交流一下,描述症状,让AI帮你排查一下。最好用宝塔环境。

事先准备好网站服务器的系统信息。事实上,你也应该把系统信息贴到这里,大家的回答会更有针对性。

4414站长论坛 发表于 2025-12-4 22:31:31

和AI交流一下,告诉它症状,它会给你一些启发。

事先准备好网站硬件系统信息。事实上,你也应该贴到这里,大家的回答会更有针对性。

阿健 发表于 2025-12-4 22:31:54

比如,像这样问一下:https://www.qianwen.com/share?shareId=50a6d10e-36eb-40eb-ac61-3b114d53b401
页: [1]
查看完整版本: 怎么排查网站有没有被挂码? New