Hegwin.Me
In silence I feel full; With speech I sense emptiness.
Home
Tools
WoW Battle Pet
Meow Etymons
About
My Server Got Hijacked to Mine Crypto (and Attack Others)
我的服务器被挖矿程序攻击了(顺便攻击了别人)
Cyber Security
Linux
XMRig
DevOps
Jul 28, 2025
Recently, one of my servers was infected by the XMRig cryptocurrency mining malware. This post documents the entire journey of how I discovered it, analyzed the cause, removed the malicious processes, and hardened the server afterward — all with a lot of help from AI tools like ChatGPT.
Batch update file extensions in Linux
Linux批量修改文件扩展名
Linux
Ubuntu
CentOS
System Command
Oct 09, 2012
A colleague of mine organized several thousand pdf files and needed to perform some batch operations. After uploading to the server, only to find that the extensions inside are uppercase .PDF, some are lowercase .pdf. This brings some trouble, because we have a program on the server that only recognizes the lowercase extensions; The colleague is working with Windows OS,...