|
|
发表于 2026-1-31 02:38:01
|
显示全部楼层
本帖最后由 skywin88 于 2026-1-31 13:39 编辑
这个有风险哦 第二项说会被盗用秘密的风险
The command you're looking at is a shortcut used to run the Microsoft Activation Scripts (MAS), a popular open-source tool used to activate Windows and Microsoft Office.
While many users in the tech community consider the legitimate version of this script safe, there are some very important security and legal risks you should know before running it.
1. What the command does
irm (Invoke-RestMethod): Downloads the content of the script from the URL.
https://get.activated.win: This is a redirect URL for the MAS project (often hosted on GitHub or massgrave.dev).
iex (Invoke-Expression): This takes whatever was downloaded and immediately executes it in your PowerShell terminal with your current user permissions.
2. The Risks
Typosquatting (Extremely Dangerous): There are "copycat" websites with very similar names (e.g., get.activate.win instead of get.activated.win). Attackers use these to deliver malware, like XWorm or RATs, which can steal your passwords and take over your webcam. If you mistype even one letter, you could be giving a hacker full access to your PC.
Blind Execution: Using | iex is generally considered "bad practice" in cybersecurity because you are running code from the internet without seeing what it does first.
Legality: This method uses "unofficial" activation (like KMS or HWID injection). While it "works" to remove watermarks, it is not a legal license from Microsoft.
3. Safer Alternatives
If you decide to proceed with unofficial tools, never run them blindly.
Check the Source: Visit the official repository on GitHub (search for "massgrave MAS") and read the code yourself.
Download First: Instead of piping to iex, download the script file, right-click it, and select "Edit" to see exactly what commands it is about to run.
The "Free" Official Way: You can use Windows 10/11 for free indefinitely without activating. You’ll just have a watermark and won't be able to change your wallpaper through the settings menu. |
|