2026年7月30日 · 星期四
● 每日更新·改变自己
Eurekar·TOP
捕捉真实世界的英语信号
25信息来源
8,217精选文章
167单词卡片
18照片图片
全部6,478口语2,048免费395新闻1,599帖子1,379hackernews658tmz458techmeme456随笔323slashdot310外刊291arstechnica230techcrunch218Cards167simonwillison73动态69bloomberg54sethgodin43图片18youtube7

My site got HACKED

我的网站被黑爆了

4chan /g/ · Anonymous · 2026-07-29 17:52 · 23 帖 · 原文 ↗

← 上一篇返回列表下一篇 →
#1 My site got HACKED / 我的网站被黑爆了
Anonymous · 2026-07-29 17:52

My website got hacked. The hacker got to the .php files on my server and they included my mysql password in plaintext, like this:

我的网站被黑了。黑客拿到了我服务器上 .php 文件的权限,我的 MySQL 密码明文存储,就像这样:

>mysql_connect("localhost", "me", "mypass");

What's the proper way to do it, anons? Where do I store the password and how do I get this php script to read it then?

⋯ 继续阅读请登录会员 ⋯

🔒

MEMBERS ONLY

这个主题共 23 帖, 会员可看完整讨论。

会员每天解锁全部帖子与 6000+ 篇真实英语素材, 不设上限。

年会员 ¥365 —— 一天一块钱, 续费一直能用。

了解会员 →

已是会员?点此登录解锁全文。

← 上一篇返回列表下一篇 →

(如果你觉得这篇文章有启发,可以点击这里付费