Backdoor Infection

My developer had a plugin that mass uploaded backdoors in our scripts. I have no clue how to mass remove them and I really don’t want to go through hundreds of scripts.

You can push Command + Shift + F (Ctrl + Shift + F on Windows) to search all scripts in your game.
I would assume the scripts contain some kind of require(…), so you can use this method to remove them all very quickly.

How would I delete them all? I know how to find them, but I don’t really know how to replace them.

Go into one of the scripts that is infected, find require(...) and note the number between the brackets.
Next, you will bring up the Find/Replace window (Command + Shift + F) and click this dropdown arrow.

In the top box, type ‘require(...)’ and replace the … with the number you noted earlier.
In the second box, just type ‘-- ’ to comment out anything that is after it.

Then click this button to remove this from every script:

There’s another way that might work for you:

Configure Place → Version History

Revert to an earlier published version from before it happened.

Thanks so much! Is there a way to delete it though?

I would but I made a-lot of progress on it.

This replaces the specified line of code with a comment, thus removing all of it from your game.
Before:

After:

The comment will ensure nothing will cause an error after doing this.

Yeah, but I do use requries in my game but I wouldn’t know if a another backdoor has popped up because of it.

By specifying the specific ID in your find/replace window, it will only replace the malicious ones.

If you believe you have several of these backdoors in your game, you can repeat the process for each ID.

Hope this helps. :slight_smile:

1 Like