Space Engineers

Space Engineers

Not enough ratings
Anti-Clangware (Anti-Virus)
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
399.426 KB
5 Aug, 2019 @ 5:49pm
19 Feb, 2021 @ 6:25pm
4 Change Notes ( view )

Subscribe to download
Anti-Clangware (Anti-Virus)

Description
This script functions as an anti-virus and was developed specifically to counter the Clangware Script I developed here: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1825479496

However this script should also prevent other malicious code such as mine from running on your grid.


HOW IT WORKS:
This script simply checks for programmable blocks on the current grid, or any connected grids, for programmable blocks, that you own, and aren't whitelisted. Scripts will only work on blocks of the same owner, therefore you must "donate" your malicious programmable block to your enemy in order to infect them. When a programmable block appears that isn't whitelisted, it'll be shut off, shown on HUD, and reported on the programmable block's display. It should be noted that this script is without any settings you can (intentionally) tweak.


HOW TO WHITELIST:
Whitelisting is simple, when an untrusted programmable block is disabled, it also reports the block's ID. To mark that block as trusted simply run the script manually with the block's ID as the argument.


COMMANDS
Commands are run by running the script manually with one of the following arguments:
  • RESET: Clears the whitelist.
  • ALL: Trusts all currently untrusted programmable blocks.


It should also be noted that this will save Whitelisted IDs when the world/server shuts down, and loaded upon world start.


As I said it's very simple but effective, in my opinion. I don't know how much Clangware is out there, but this should protect you from most of it. If not please let me know.
3 Comments
Acephelos  [author] 19 Feb, 2021 @ 6:31pm 
Script updated:

- Added the ALL command to add all untrusted programmable blocks to be whitelisted at once.
- Commands (arguments) are no longer case sensitive.
- Updated ReadMe.

Everything worked in my tests, but let me know if you run into any issues with this update.
Acephelos  [author] 18 Feb, 2021 @ 10:02am 
Yeah, it's something I had thought would be nice, but hadn't implemented yet.I'll look at it this weekend and update the comments when I'm done.
William07142 17 Feb, 2021 @ 8:50pm 
Any chance you could make a "Trust All" command?