Raised This Month: $51 Target: $400
 12% 

Steambans.ru - Decompiled


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
SM9
Veteran Member
Join Date: Sep 2013
Location: United Kingdom
Old 09-24-2013 , 06:22   Steambans.ru - Decompiled
Reply With Quote #1

Well, I saw another plugin violating Sourcemod by not distributing sourcecode.
Maybe somebody wants to try dropping Tables? (It might be Read Only, but who knows..)

PHP Code:
new Handle:kv CreateKeyValues("steambans""""");
KvSetString(kv"driver""mysql");
KvSetString(kv"host""db.steambans.ru");
KvSetString(kv"database""steambans");
KvSetString(kv"user""steambans");
KvSetString(kv"pass""4TXokFnTdixnoe");
KvSetString(kv"port""3306"); 
PHP Code:
public PlVers:__version =
{
    
version 5,
    
filevers "1.4.2",
    
date "11/18/2012",
    
time "22:45:42"
};
new 
Float:NULL_VECTOR[3];
new 
String:NULL_STRING[4];
public 
Extension:__ext_core =
{
    
name "Core",
    
file "core",
    
autoload 0,
    
required 0,
};
new 
MaxClients;
public 
Extension:__ext_curl =
{
    
name "curl",
    
file "curl.ext",
    
autoload 1,
    
required 0,
};
public 
Extension:__ext_smsock =
{
    
name "Socket",
    
file "socket.ext",
    
autoload 1,
    
required 0,
};
public 
Extension:__ext_SteamTools =
{
    
name "SteamTools",
    
file "steamtools.ext",
    
autoload 1,
    
required 0,
};
new 
bool:g_bSteamLoaded;
new 
Handle:h_Database;
new 
Handle:h_CheckAnnoune;
new 
Handle:h_StatusSpamDelay;
new 
Float:f_StatusSpamDelay;
new 
Handle:h_Timer;
new 
Handle:h_BanAnnoune;
new 
String:local_dest[256];
new 
String:plugin_path[256];
new 
String:log_file[256];
new 
String:g_map[64];
public 
Plugin:myinfo =
{
    
name "SteamBans.Ru - Единая Российская Бан-Система",
    
description "Ban Checker",
    
author "FrozDark (HLModders LLC)",
    
version "2.0.4",
    
url "www.hlmod.ru"
};
public 
__ext_core_SetNTVOptional()
{
    
MarkNativeAsOptional("GetFeatureStatus");
    
MarkNativeAsOptional("RequireFeature");
    
MarkNativeAsOptional("AddCommandListener");
    
MarkNativeAsOptional("RemoveCommandListener");
    
VerifyCoreVersion();
    return 
0;
}

RoundFloat(Float:value)
{
    return 
RoundToNearest(value);
}

Float:operator/(Float:,_:)(Float:oper1oper2)
{
    return 
oper1 float(oper2);
}

bool:operator>(Float:,Float:)(Float:oper1Float:oper2)
{
    return 
FloatCompare(oper1oper2) > 0;
}

bool:StrEqual(String:str1[], String:str2[], bool:caseSensitive)
{
    return 
strcmp(str1str2caseSensitive) == 0;
}

FindCharInString(String:str[], cbool:reverse)
{
    new 
i;
    new 
len strlen(str);
    if (!
reverse)
    {
        
0;
        while (
len)
        {
            if (
== str[i])
            {
                return 
i;
            }
            
i++;
        }
    }
    else
    {
        
len + -1;
        while (
<= i)
        {
            if (
== str[i])
            {
                return 
i;
            }
            
i--;
        }
    }
    return -
1;
}

ExplodeString(String:text[], String:split[], String:buffers[][], maxStringsmaxStringLengthbool:copyRemainder)
{
    new 
reloc_idx;
    new 
idx;
    new 
total;
    if (
maxStrings 1)
    {
        return 
0;
    }
    
idx var2;
    while (
var2 != -1)
    {
        
reloc_idx idx reloc_idx;
        
total++;
        if (
maxStrings == total)
        {
            if (
copyRemainder)
            {
                
strcopy(buffers[total + -1], maxStringLengthtext[reloc_idx idx]);
            }
            return 
total;
        }
    }
    
total++;
    
strcopy(buffers[total], maxStringLengthtext[reloc_idx]);
    return 
total;
}

bool:WriteFileCell(Handle:hndldatasize)
{
    new array[
1];
    array[
0] = data;
    return 
WriteFile(hndl, array, 1size);
}

PrintToChatAll(String:format[])
{
    
decl String:buffer[192];
    new 
1;
    while (
<= MaxClients)
    {
        if (
IsClientInGame(i))
        {
            
SetGlobalTransTarget(i);
            
VFormat(buffer192format2);
            
PrintToChat(i"%s"buffer);
            
i++;
        }
        
i++;
    }
    return 
0;
}

Download_cURL(String:url[], String:dest[])
{
    new 
Handle:hFile curl_OpenFile(dest"wb");
    if (!
hFile)
    {
        
DownloadEnded(false"");
        
ThrowError("Error writing to file: %s"dest);
    }
    new 
CURL_Default_opt[5][2];
    new 
Handle:curl curl_easy_init();
    
curl_easy_setopt_int_array(curlCURL_Default_opt5);
    
curl_easy_setopt_handle(curlCURLoption:10001hFile);
    
curl_easy_setopt_string(curlCURLoption:10002url);
    
curl_easy_perform_thread(curlOnCurlCompletehFile);
    return 
0;
}

public 
OnCurlComplete(Handle:curlCURLcode:codehFile)
{
    
CloseHandle(hFile);
    
CloseHandle(curl);
    if (
code)
    {
        
decl String:sError[256];
        
curl_easy_strerror(codesError256);
        
Format(sError256"cURL error: %s"sError);
        
DownloadEnded(falsesError);
    }
    else
    {
        
DownloadEnded(true"");
    }
    return 
0;
}

Download_Socket(String:url[], String:dest[])
{
    new 
Handle:hFile OpenFile(dest"wb");
    if (!
hFile)
    {
        
DownloadEnded(false"");
        
ThrowError("Error writing to file: %s"dest);
    }
    
decl String:hostname[64];
    
decl String:location[128];
    
decl String:filename[64];
    
decl String:sRequest[384];
    
ParseURL(urlhostname64location128filename64);
    
Format(sRequest384"GET %s/%s HTTP/1.0\r\nHost: %s\r\nConnection: close\r\n\r\n"locationfilenamehostname);
    new 
Handle:hDLPack CreateDataPack();
    
WritePackCell(hDLPackhFile);
    
WritePackString(hDLPacksRequest);
    new 
Handle:socket SocketCreate(SocketType:1OnSocketError);
    
SocketSetArg(sockethDLPack);
    
SocketConnect(socketOnSocketConnectedOnSocketReceiveOnSocketDisconnectedhostname80);
    return 
0;
}

public 
OnSocketConnected(Handle:sockethDLPack)
{
    
decl String:sRequest[384];
    
SetPackPosition(hDLPack8);
    
ReadPackString(hDLPacksRequest384);
    
SocketSend(socketsRequest, -1);
    return 
0;
}

public 
OnSocketReceive(Handle:socketString:data[], sizehDLPack)
{
    
ResetPack(hDLPackfalse);
    new 
Handle:hFile ReadPackCell(hDLPack);
    new 
pos StrContains(data"\r\n\r\n"true);
    if (
pos != -1)
    {
        
var1 pos 4;
    }
    else
    {
        
var1 0;
    }
    
pos var1;
    new 
pos;
    while (
size)
    {
        
WriteFileCell(hFiledata[i], 1);
        
i++;
    }
    return 
0;
}

public 
OnSocketDisconnected(Handle:sockethDLPack)
{
    
ResetPack(hDLPackfalse);
    
CloseHandle(ReadPackCell(hDLPack));
    
CloseHandle(hDLPack);
    
CloseHandle(socket);
    
DownloadEnded(true"");
    return 
0;
}

public 
OnSocketError(Handle:socketerrorTypeerrorNumhDLPack)
{
    
ResetPack(hDLPackfalse);
    
CloseHandle(ReadPackCell(hDLPack));
    
CloseHandle(hDLPack);
    
CloseHandle(socket);
    
decl String:sError[256];
    
FormatEx(sError256"Socket error: %d (Error code %d)"errorTypeerrorNum);
    
DownloadEnded(falsesError);
    return 
0;
}

Download_SteamTools(String:url[], String:dest[])
{
    
decl String:sURL[256];
    if (
strncmp(url"http://"7true))
    {
        
FormatEx(sURL256"http://%s"url);
    }
    else
    {
        
strcopy(sURL256url);
    }
    new 
Handle:hDLPack CreateDataPack();
    
WritePackString(hDLPackdest);
    new 
HTTPRequestHandle:hRequest Steam_CreateHTTPRequest(HTTPMethod:1sURL);
    
Steam_SendHTTPRequest(hRequestOnSteamHTTPCompletehDLPack);
    return 
0;
}

public 
OnSteamHTTPComplete(HTTPRequestHandle:HTTPRequestbool:requestSuccessfulHTTPStatusCode:statusCodehDLPack)
{
    
decl String:sDest[256];
    
ResetPack(hDLPackfalse);
    
ReadPackString(hDLPacksDest256);
    
CloseHandle(hDLPack);
    if (
requestSuccessful)
    {
        
Steam_WriteHTTPResponseBody(HTTPRequestsDest);
        
DownloadEnded(true"");
    }
    else
    {
        
decl String:sError[256];
        if (
requestSuccessful)
        {
            
var2[0] = 616;
        }
        else
        {
            
var2[0] = 624;
        }
        
FormatEx(sError256"SteamTools error (status code %i). Request successful: %s"statusCodevar2);
        
DownloadEnded(falsesError);
    }
    
Steam_ReleaseHTTPRequest(HTTPRequest);
    return 
0;
}

public 
Steam_FullyLoaded()
{
    
g_bSteamLoaded 1;
    return 
0;
}

public 
Steam_Shutdown()
{
    
g_bSteamLoaded 0;
    return 
0;
}

public 
APLRes:AskPluginLoad2(Handle:myselfbool:lateString:error[], err_max)
{
    
MarkNativeAsOptional("curl_OpenFile");
    
MarkNativeAsOptional("curl_easy_init");
    
MarkNativeAsOptional("curl_easy_setopt_function");
    
MarkNativeAsOptional("curl_easy_setopt_int_array");
    
MarkNativeAsOptional("curl_easy_setopt_handle");
    
MarkNativeAsOptional("curl_easy_setopt_string");
    
MarkNativeAsOptional("curl_easy_perform_thread");
    
MarkNativeAsOptional("curl_easy_strerror");
    
MarkNativeAsOptional("SocketCreate");
    
MarkNativeAsOptional("SocketSetArg");
    
MarkNativeAsOptional("SocketConnect");
    
MarkNativeAsOptional("SocketSend");
    
MarkNativeAsOptional("Steam_GetPublicIP");
    
MarkNativeAsOptional("Steam_CreateHTTPRequest");
    
MarkNativeAsOptional("Steam_SendHTTPRequest");
    
MarkNativeAsOptional("Steam_WriteHTTPResponseBody");
    
MarkNativeAsOptional("Steam_ReleaseHTTPRequest");
    return 
APLRes:0;
}

public 
OnPluginStart()
{
    
CreateConVar("steambans_version""2.0.4""The plugin's version"418112false0false0);
    
h_CheckAnnoune CreateConVar("steambans_check_announce""1""Whether a player should be announced to others in the chat about his good standing in the banlists"0true0true1);
    
h_BanAnnoune CreateConVar("steambans_ban_announce""1""Whether a player should be announced to others in the chat about his bad standing in the banlists"0true0true1);
    
h_StatusSpamDelay CreateConVar("steambans_status_spam_delay""300""How often in seconds to spam status to the players. 0 to disable"0true0false0);
    
ConnectDatabase();
    
BuildPath(PathType:0local_dest256"steambans.update");
    
BuildPath(PathType:0plugin_path256"plugins/");
    
BuildPath(PathType:0log_file256"logs/steambans.log");
    
f_StatusSpamDelay GetConVarFloat(h_StatusSpamDelay);
    
HookConVarChange(h_StatusSpamDelayOnConVarChange);
    
TriggerTimer(CreateTimer(108000CheckUpdatesany:01), true);
    return 
0;
}

bool:ConnectDatabase()
{
    if (
h_Database)
    {
        return 
true;
    }
    
decl String:error[256];
    
error[0] = 0;
    new 
Handle:kv CreateKeyValues("steambans""""");
    
KvSetString(kv"driver""mysql");
    
KvSetString(kv"host""db.steambans.ru");
    
KvSetString(kv"database""steambans");
    
KvSetString(kv"user""steambans");
    
KvSetString(kv"pass""4TXokFnTdixnoe");
    
KvSetString(kv"port""3306");
    
h_Database SQL_ConnectCustom(kverror256true);
    
CloseHandle(kv);
    if (
error[0])
    {
        
LogError("An error has occured while connecting to database - %s"error);
    }
    return 
h_Database != 0;
}

CheckTimer()
{
    if (
h_Timer)
    {
        
KillTimer(h_Timerfalse);
        
h_Timer 0;
    }
    return 
0;
}

public 
OnMapStart()
{
    
GetCurrentMap(g_map64);
    
CheckTimer();
    if (
f_StatusSpamDelay 0)
    {
        
h_Timer CreateTimer(f_StatusSpamDelaySpamStatusany:01);
    }
    return 
0;
}

public 
OnConVarChange(Handle:convarString:oldValue[], String:newValue[])
{
    if (
h_StatusSpamDelay == convar)
    {
        
CheckTimer();
        
f_StatusSpamDelay StringToFloat(newValue);
        if (
f_StatusSpamDelay 0)
        {
            
h_Timer CreateTimer(f_StatusSpamDelaySpamStatusany:01);
        }
    }
    return 
0;
}

public 
Action:SpamStatus(Handle:timer)
{
    
decl String:auth[24];
    
decl String:name[36];
    
decl String:hostname[96];
    
decl String:date[24];
    
GetClientName(0hostname96);
    
FormatTime(date24"%d %b %Y  %H:%M", -1);
    
PrintToChatAll(" ");
    
PrintToChatAll("------------------------------------------------------------------");
    
PrintToChatAll("Hostname : %s"hostname);
    
PrintToChatAll("Date/Time: %s"date);
    
PrintToChatAll("Map      : %s"g_map);
    
PrintToChatAll("Players  : %i (%i Max)"GetClientCount(true), MaxClients);
    
PrintToChatAll("------------------------------------------------------------------");
    
PrintToChatAll("STEAM ID              | Name                            | Ping");
    
PrintToChatAll("------------------------------------------------------------------");
    new 
1;
    while (
<= MaxClients)
    {
        if (
IsClientInGame(i))
        {
            
GetClientAuthString(iauth21);
            
GetClientName(iname33);
            
PrintToChatAll("%21s | %32s | %ims"authnameClient_GetFakePing(ifalse));
            
i++;
        }
        
i++;
    }
    
PrintToChatAll("------------------------------------------------------------------");
    
PrintToChatAll("SteamIDs list has been generated by SteamBans.ru");
    
PrintToChatAll(" ");
    return 
Action:0;
}

public 
Action:CheckUpdates(Handle:timer)
{
    if (
GetFeatureStatus(FeatureType:0"curl_easy_init"))
    {
        if (
GetFeatureStatus(FeatureType:0"SocketCreate"))
        {
            if (
GetFeatureStatus(FeatureType:0"Steam_CreateHTTPRequest"))
            {
                
Download_SteamTools("http://cp.steamhost.ru/SteamBans_ru/updates.txt"local_dest);
            }
            
LogMessage("Ваша версия плагина не будет обновлена до актуальной версии без одного из следующих расширений: cURL, Socket или SteamTools\nYour version of the plugin won't be up-to-date without one of these extensions: cURL, Socket or SteamTools");
        }
        
Download_Socket("http://cp.steamhost.ru/SteamBans_ru/updates.txt"local_dest);
    }
    else
    {
        
Download_cURL("http://cp.steamhost.ru/SteamBans_ru/updates.txt"local_dest);
    }
    return 
Action:0;
}

public 
OnClientAuthorized(clientString:auth[])
{
    if (
auth[0] == 'B')
    {
        return 
0;
    }
    
decl String:Query[1024];
    
decl String:ClientIp[16];
    
decl String:name[32];
    
GetClientIP(clientClientIp16true);
    
GetClientName(clientname32);
    
SQL_EscapeString(h_Databasenamename320);
    
FormatEx(Query1024"SELECT `bid` FROM `sb_bans` WHERE ((`type` = '0' AND `authid` REGEXP '^STEAM_[0-9]:%s$') OR (`type` = '1' AND `ip` = '%s')) AND (`length` = '0' OR `ends` > UNIX_TIMESTAMP()) AND `RemoveType` IS NULL"auth[2], ClientIp);
    new 
Handle:datapack CreateDataPack();
    
WritePackCell(datapackGetClientUserId(client));
    
WritePackString(datapackauth);
    
WritePackString(datapackname);
    
WritePackString(datapackClientIp);
    
SQL_TQuery(h_DatabaseVerifyBanQuerydatapackDBPriority:1);
    return 
0;
}

public 
OnClientPutInServer(client)
{
    
SendTopMessage(client1025500255"Сервер под защитой SteamBans.Ru!");
    return 
0;
}

public 
VerifyBan(Handle:ownerHandle:hndlString:error[], hDataPack)
{
    if (
error[0])
    {
        
LogError(error);
    }
    if (
hndl)
    {
        if (
hDataPack)
        {
            
decl String:name[32];
            
decl String:steamid[24];
            
decl String:ClientIp[16];
            
ResetPack(hDataPackfalse);
            new 
client GetClientOfUserId(ReadPackCell(hDataPack));
            
ReadPackString(hDataPacksteamid21);
            
ReadPackString(hDataPackname32);
            
ReadPackString(hDataPackClientIp16);
            
CloseHandle(hDataPack);
            if (!
client)
            {
                return 
0;
            }
            if (
SQL_GetRowCount(hndl))
            {
                if (
GetConVarBool(h_BanAnnoune))
                {
                    
PrintToChatAll("\x04[SteamBans.Ru] \x03Подключение игрока \x04%N \x03заблокировано."client);
                }
                
BanClient(client54"Забенен системой SteamBans.Ru""Вы находитесь в списке забаненых за использование читов. Подробности на SteamBans.Ru"""any:0);
                
SQL_LockDatabase(h_Database);
                
SQL_FastQuery(h_Database"SET NAMES \"UTF8\"", -1);
                
SQL_UnlockDatabase(h_Database);
                
decl String:Query[1024];
                
FormatEx(Query1024"INSERT INTO `sb_banlog` (`sid`, `time` ,`name`, `bid`) VALUES ('1', UNIX_TIMESTAMP(), '%s', (SELECT `bid` FROM `sb_bans` WHERE ((`type` = '0' AND `authid` = '%s') OR (`type` = '1' AND `ip` = '%s')) AND `RemoveType` IS NULL))"namesteamidClientIp);
                
SQL_TQuery(h_DatabaseErrorCheckCallbackQueryany:0DBPriority:1);
                return 
0;
            }
            if (
GetConVarBool(h_CheckAnnoune))
            {
                
PrintToChatAll("\x04[SteamBans.Ru] \x03Игрок \x04%N \x03в бан-листах не найден"client);
            }
            return 
0;
        }
        return 
0;
    }
    if (
hDataPack)
    {
        
CloseHandle(hDataPack);
    }
    return 
0;
}

public 
ErrorCheckCallback(Handle:ownerHandle:hndlString:error[], data)
{
    if (
error[0])
    {
        
LogError(error);
    }
    return 
0;
}

Client_GetFakePing(clientbool:goldSource)
{
    
decl ping;
    new 
Float:latency GetClientLatency(clientNetFlow:0);
    
decl String:cl_cmdrate[4];
    
GetClientInfo(client"cl_cmdrate"cl_cmdrate4);
    new 
Float:tickRate GetTickInterval();
    
latency -= 1056964608 StringToInt(cl_cmdrate10) + GetTickInterval() * 1;
    if (
goldSource)
    {
        
latency -= tickRate 0.5;
    }
    
ping RoundFloat(latency 1000);
    
ping Math_Clamp(pingany:5any:1000);
    return 
ping;
}

Math_Clamp(valueminmax)
{
    
value Math_Min(valuemin);
    
value Math_Max(valuemax);
    return 
value;
}

Math_Max(valuemax)
{
    if (
value max)
    {
        
value max;
    }
    return 
value;
}

Math_Min(valuemin)
{
    if (
value min)
    {
        
value min;
    }
    return 
value;
}

DownloadEnded(bool:successfulString:error[])
{
    static 
bool:IsVersion;
    if (!
successful)
    {
        
LogError(error);
        
IsVersion 0;
        return 
0;
    }
    
decl String:newUrl[256];
    
decl String:Plugin_Dest[256];
    
decl String:Plugin_Name[64];
    
strcopy(newUrl256"http://cp.steamhost.ru/SteamBans_ru/updates.txt");
    
StripURLFilename(newUrl);
    
GetPluginFilename(Handle:0Plugin_Name64);
    
Format(newUrl256"%s/plugins/%s"newUrlPlugin_Name);
    
Format(Plugin_Dest256"%s%s.temp"plugin_pathPlugin_Name);
    if (!
IsVersion)
    {
        if (!
FileExists(local_destfalse))
        {
            
LogError("Couldn't create file \"%s\""local_dest);
            return 
0;
        }
        new 
Handle:filehandle OpenFile(local_dest"r");
        if (
filehandle)
        {
            
decl String:Line[128];
            new 
bool:verLine 1;
            new 
bool:updateAvailable;
            new 
index 1;
            while (!
IsEndOfFile(filehandle) && ReadFileLine(filehandleLine128))
            {
                
TrimString(Line);
                
StripQuotes(Line);
                if (
verLine)
                {
                    
verLine 0;
                    if (!
StrEqual(Line"2.0.4"true))
                    {
                        
LogToFileEx(log_file"[SteamBans.ru] Notice: Update available - %s"Line);
                        
updateAvailable 1;
                        
IsVersion 1;
                        if (
GetFeatureStatus(FeatureType:0"curl_easy_init"))
                        {
                            if (
GetFeatureStatus(FeatureType:0"SocketCreate"))
                            {
                                if (
GetFeatureStatus(FeatureType:0"Steam_CreateHTTPRequest"))
                                {
                                    
Download_SteamTools(newUrlPlugin_Dest);
                                }
                            }
                            
Download_Socket(newUrlPlugin_Dest);
                        }
                        
Download_cURL(newUrlPlugin_Dest);
                    }
                }
                else
                {
                    if (
updateAvailable)
                    {
                        
index++;
                        
LogToFileEx(log_file"[SteamBans.ru] [%i] %s"indexLine);
                    }
                }
            }
            
CloseHandle(filehandle);
            
DeleteFile(local_dest);
        }
        
LogError("Couldn't open file \"%s\""local_dest);
        return 
0;
    }
    else
    {
        
IsVersion 0;
        
decl String:newpath[256];
        
strcopy(newpathFindCharInString(Plugin_Dest46true) + 1Plugin_Dest);
        if (
FileExists(newpathfalse))
        {
            
DeleteFile(newpath);
        }
        if (
RenameFile(newpathPlugin_Dest))
        {
            
LogToFileEx(log_file"[SteamBans.ru] Updated");
        }
    }
    return 
0;
}

SendTopMessage(clienttimergbaString:text[])
{
    
decl String:message[256];
    
VFormat(message256text8);
    new 
Handle:kv CreateKeyValues("Stuff""title"message);
    
KvSetColor(kv"color"rgba);
    
KvSetNum(kv"level"1);
    
KvSetNum(kv"time"time);
    
CreateDialog(clientkvDialogType:0);
    
CloseHandle(kv);
    return 
0;
}

StripURLFilename(String:url[])
{
    
strcopy(urlFindCharInString(url47true) + 1url);
    return 
0;
}

ParseURL(String:url[], String:host[], maxHostString:location[], maxLocString:filename[], maxName)
{
    new 
idx StrContains(url"://"true);
    if (
idx != -1)
    {
        
var1 idx 3;
    }
    else
    {
        
var1 0;
    }
    
idx var1;
    new 
String:dirs[64][64] = "@";
    new 
total ExplodeString(url[idx], "/"dirs1664false);
    
Format(hostmaxHost"%s"dirs[0][dirs]);
    
location[0] = 0;
    new 
1;
    while (
total + -i)
    {
        
Format(locationmaxLoc"%s/%s"locationdirs[i]);
        
i++;
    }
    
Format(filenamemaxName"%s"dirs[total + -1]);
    return 
0;

Website: http://steambans.ru
Attached Files
File Type: smx steambans_ru.smx (14.4 KB, 258 views)

Last edited by SM9; 09-24-2013 at 06:25.
SM9 is offline
napalm00
Veteran Member
Join Date: Jun 2011
Location: Italy, sadly
Old 09-24-2013 , 09:34   Re: Steambans.ru - Decompiled
Reply With Quote #2

Lol good one
__________________
napalm00 is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 09-24-2013 , 09:39   Re: Steambans.ru - Decompiled
Reply With Quote #3

Quote:
Originally Posted by xCoderx View Post
Maybe somebody wants to try dropping Tables? (It might be Read Only, but who knows..)
Please don't do anything malicious.
__________________
asherkin is offline
Spartan_C001
Senior Member
Join Date: Jul 2013
Old 09-24-2013 , 10:13   Re: Steambans.ru - Decompiled
Reply With Quote #4

Quote:
Originally Posted by asherkin View Post
Please don't do anything malicious.

If thats the password for the database supplied in the actual .smx, i would remove it, or at least replace it with *'s or something.

They may have violated AM's terms and whatnot, but i dont think their databases details should be left out in the open like that, i mean anyone could do whatever they wanted if they tried :/
Spartan_C001 is offline
SM9
Veteran Member
Join Date: Sep 2013
Location: United Kingdom
Old 09-24-2013 , 15:21   Re: Steambans.ru - Decompiled
Reply With Quote #5

Quote:
Originally Posted by Spartan_C001 View Post
If thats the password for the database supplied in the actual .smx, i would remove it, or at least replace it with *'s or something.

They may have violated AM's terms and whatnot, but i dont think their databases details should be left out in the open like that, i mean anyone could do whatever they wanted if they tried :/
If somebody does something Malicous then maybe they will rethink violating the TOS, and maybe they wont be as stupid to hardcode such information in the future.

Last edited by SM9; 09-24-2013 at 15:23.
SM9 is offline
egor1908
Veteran Member
Join Date: Sep 2009
Old 09-24-2013 , 16:28   Re: Steambans.ru - Decompiled
Reply With Quote #6

Quote:
Originally Posted by xCoderx View Post
If somebody does something Malicous then maybe they will rethink violating the TOS, and maybe they wont be as stupid to hardcode such information in the future.
I agree with that. Now, I'm actually curious about what's going to happen. Their forum is down so I can't see if they already know the news.

Edit: The database is read-only , nothing useful in there.

Last edited by egor1908; 09-24-2013 at 16:58.
egor1908 is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 09-24-2013 , 17:03   Re: Steambans.ru - Decompiled
Reply With Quote #7

Their database isn't down however.
Maxximou5 is offline
Marcus101RR
Veteran Member
Join Date: Aug 2009
Location: Tampa, FL
Old 09-24-2013 , 21:00   Re: Steambans.ru - Decompiled
Reply With Quote #8

Russians creating their own steamban system, more power to them. The last steam ban system didn't work for me either. Plus, they are russians, I think we are already pissing them off with Syria, why bother with something as small as this?

I can't even read the damn thing.
__________________
Marcus101RR is offline
Send a message via AIM to Marcus101RR Send a message via Skype™ to Marcus101RR
snowyiet
Member
Join Date: Jan 2010
Old 09-24-2013 , 22:18   Re: Steambans.ru - Decompiled
Reply With Quote #9

You're the one violating sourcemod's policy by posting that compiled .smx without the original .sp
snowyiet is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 09-24-2013 , 22:33   Re: Steambans.ru - Decompiled
Reply With Quote #10

Quote:
Originally Posted by snowyiet View Post
You're the one violating sourcemod's policy by posting that compiled .smx without the original .sp
Uhhh... That's steambans.ru's compiled plugin.
Anyone can decompile it, that is why he provided it. tiny derp
Maxximou5 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:28.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode