Counter-Strike 2

Counter-Strike 2

View Stats:
Dora Dec 12, 2023 @ 3:45pm
Disable Windows Script Host in Windows = file.js
I don't know, but I think it's useful, for the security of your PC / CS2 users

this turns off files with extension .JS from running on your windows

to prevent running malicious commands last days exploit votekick

open cmd.exe

disable:
Reg Add "HKCU\Software\Microsoft\Windows Script Host\Settings" /V Enabled /T Reg_DWord /D 0 /F>Nul

if disabled you will receive message:
"Windows Script Host access is disabled on this machine. Contact your administrator for details."

to turn it back on:
Reg Add "HKCU\Software\Microsoft\Windows Script Host\Settings" /V Enabled /T Reg_DWord /D 1 /F>Nul

I also recommend turning off all port forwarding on your router to prevent DDOS attacks.

source:
https://stackoverflow.com/questions/55953394/disable-windows-script-host-in-windows

stay safe :steamthumbsup:
< >
Showing 1-1 of 1 comments
Titus Dec 12, 2023 @ 5:12pm 
The vote kick exploit uses java script differently than the way Windows uses it for .js files (typically Windows uses it for scripts, not dynamic elements on a web page), so this would not prevent any cross-site script attacks like the vote kick exploit.

Blocking ports at your home doesn't stop DDOS attacks, because your router will still receive the packets from the attacker, it just won't move them to your computer. But the router will still be attacked. You would need to contact your ISP to block the port so that it never gets sent to your router from your ISP.
< >
Showing 1-1 of 1 comments
Per page: 1530 50

Date Posted: Dec 12, 2023 @ 3:45pm
Posts: 1