Raised This Month: $ Target: $400
 0% 

A new ban evasion hack?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 01-24-2017 , 05:38   Re: A new ban evasion hack?
Reply With Quote #8

Quote:
Originally Posted by Visual77 View Post
Code:
decl String:steamID[64]; 

if (GetClientAuthId(client, AuthId_Steam2, steamID, sizeof(steamID))) { 
PrintToChat(client, "Idiot %N steamID: %s", client, steamID);
}
I guess this is only needed in SM 1.8-1.9 and for CSGO?

There's also "SteamAuthstringValidation" "no" that you can try in configs/core.cfg
Common that people do not check the return. See this so often in admin flag and shop plugins and the like using mysql. Random guy will join and use the existing buffered ID, or insert some garbage into the table.

Hilarious when random guy gets admin access or trades away whateversorrysaps credits.

As for not understanding, RTFM its always been there clear as day:
PHP Code:
/**
 * Retrieves a client's authentication string (SteamID).
 *
 * @param client        Player index.
 * @param auth            Buffer to store the client's auth string.
 * @param maxlen        Maximum length of string buffer (includes NULL terminator).
 * @param validate        Check backend validation status.
 *                 DO NOT PASS FALSE UNLESS YOU UNDERSTAND THE CONSEQUENCES,
 *                    You WILL KNOW if you need to use this, MOST WILL NOT.
 * @return                True on success, false otherwise.
 * @error                If the client is not connected or the index is invalid.
 */
native bool:GetClientAuthString(clientString:auth[], maxlenbool:validate=true);

/**
 * Retrieves a client's authentication string (SteamID).
 *
 * @param client        Player index.
 * @param authType        Auth id type and format to use.
 * @param auth            Buffer to store the client's auth id.
 * @param maxlen        Maximum length of string buffer (includes NULL terminator).
 * @param validate        Check backend validation status.
 *                 DO NOT PASS FALSE UNLESS YOU UNDERSTAND THE CONSEQUENCES,
 *                    You WILL KNOW if you need to use this, MOST WILL NOT.
 * @return                True on success, false otherwise.
 * @error                If the client is not connected or the index is invalid.
 */
native bool:GetClientAuthId(clientAuthIdType:authTypeString:auth[], maxlenbool:validate=true); 
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.

Last edited by friagram; 01-24-2017 at 05:44.
friagram is offline
 



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 14:20.


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