[CS:GO] Log Motd Panels (Advertisement Exploit)

Post Reply
User avatar
Andreeas
Hero Member
Hero Member
Posts: 601
Joined: Wed Jan 22, 2020 8:17 pm
Jucator SA:MP ?: Nu
Nick:: Andreeas
Jucator CS ?: Nu

[CS:GO] Log Motd Panels (Advertisement Exploit)

Post by Andreeas »

Note:
If you are currently running CS:GO servers and are not yet aware that a file upload exploit is being used to place compiled binaries on your server(s) that displays hidden advertisements on your players to generate revenue for the asshat that uploaded them, please read https://forums.alliedmods.net/showthread.php?t=225925.
Ensure you're running Zephyrus' File Upload/Download Protect extension!

Features:
This plugin will create a log entry within /logs/motdlogs.log that contains all information a MOTD panel is passed, including the URL it is opening.
This will occur for all MOTD panels that do not have their address saved within the cvar below. It won't stop the exploit, it will just log the information which can be used to see if there's an issue. If you start seeing strange logs, it's time to check your /plugins/ directory.
If you come across anything that shouldn't be there, send it to myself, asherkin, or psychonic.

ConVars:
csgo_motdlog_ignored: Allows you to ignore up to 32 different addresses from being logged by the plugin. By default "motd" is ignored, which is the default motd panel that appears on connect.
If you run your own advertising plugins, you'll want to add their addresses to the cvar below so you don't get massive amounts of logs.
EX:
Originally Posted by Harmless
L 09/12/2013 - 14:44:41: [title]: `Log Motd Panels`, [type]: `2`, [msg]: `http://google.com`, [cmd]: `5`
Originally Posted by Exploit
L 09/12/2013 - 14:44:41: [title]: `Advert`, [type]: `2`, [msg]: `http://www.ptp22.com/seo.php?username=asshat&format=ptp`, [cmd]: `5`
Download
Source
Post Reply

Return to “General Purpose”