Raised This Month: $32 Target: $400
 8% 

how do i convert signatures from windows to linux


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
after_57
New Member
Join Date: Mar 2022
Old 03-21-2022 , 21:50   how do i convert signatures from windows to linux
Reply With Quote #1

I need to convert the signature from windows to linux

"Signatures"
{
"WantsLagCompensationOnEntitySig"
{
"library" "server"
"windows" "\x55\x8b\xec\x83\xec\x10\x56\x57\x8b\xf9\x8b \x0d\x2A\x2A\x2A\x2A\x81\xf9"

Last edited by after_57; 03-21-2022 at 23:47.
after_57 is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 03-27-2022 , 09:53   Re: how do i convert signatures from windows to linux
Reply With Quote #2

Which game?
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
after_57
New Member
Join Date: Mar 2022
Old 03-28-2022 , 16:20   Re: how do i convert signatures from windows to linux
Reply With Quote #3

csgo
after_57 is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 03-30-2022 , 11:54   Re: how do i convert signatures from windows to linux
Reply With Quote #4

Hard to find. Xref has "weapon_knife", but none sub on Linux looks similar.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
XalaFiv837
New Member
Join Date: Apr 2022
Old 04-23-2022 , 20:43   Re: how do i convert signatures from windows to linux
Reply With Quote #5

have you tried to use https://asherkin.github.io/vtable/ ?
XalaFiv837 is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 04-23-2022 , 21:36   Re: how do i convert signatures from windows to linux
Reply With Quote #6

Quote:
Originally Posted by XalaFiv837 View Post
have you tried to use https://asherkin.github.io/vtable/ ?
CSGO's Linux binaries don't have symbols anymore so that site won't help.

Quote:
Originally Posted by after_57 View Post
I need to convert the signature from windows to linux

"Signatures"
{
"WantsLagCompensationOnEntitySig"
{
"library" "server"
"windows" "\x55\x8b\xec\x83\xec\x10\x56\x57\x8b\xf9\x8b \x0d\x2A\x2A\x2A\x2A\x81\xf9"
I think I found it.
PHP Code:
/**
 * CBasePlayer::WantsLagCompensationOnEntity(CBaseEntity const*, CUserCmd const*, CBitVec<2048> const*)
 *
 * How to find:
 * 1. Search for the "FriendlyFire" string.
 * 2. The string can only be found in "BotChatterInterface::FriendlyFire".
 * 3. In the "BotChatterInterface::FriendlyFire" function, the "mp_friendlyfire" convar is referenced twice at the top.
 * 4. One of the functions that references the "mp_friendlyfire" convar should be this function.
 * 5. This function references the "mp_friendlyfire" convar twice at the top.
 **/
"CBasePlayer::WantsLagCompensationOnEntity"
{
    
"library"    "server"
    "linux"        "\x2A\x2A\x2A\x2A\x2A\x2A\xA1\x2A\x2A\x2A\x2A\x89\x2A\x2A\x89\x2A\x2A\x8B\x2A\x2A\x89\x2A\x2A\x8B\x2A\x2A\x3D\x2A\x2A\x2A\x2A\x0F\x84\x2A\x2A\x2A\x2A\x8B\x2A\x89\x2A\x2A\xFF\x2A\x2A\x85\x2A\x0F"
            
/* ? ? ? ? ? ? A1 ? ? ? ? 89 ? ? 89 ? ? 8B ? ? 89 ? ? 8B ? ? 3D ? ? ? ? 0F 84 ? ? ? ? 8B ? 89 ? ? FF ? ? 85 ? 0F */
    
"windows"    "\x2A\x2A\x2A\x2A\x2A\x2A\x56\x57\x8B\x2A\x8B\x0D\x2A\x2A\x2A\x2A\x81\xF9\x2A\x2A\x2A\x2A\x75\x2A\xA1"
            
/* ? ? ? ? ? ? 56 57 8B ? 8B 0D ? ? ? ? 81 F9 ? ? ? ? 75 ? A1 */

__________________
Psyk0tik is offline
MCDRIVE
New Member
Join Date: Apr 2022
Old 04-24-2022 , 05:56   Re: how do i convert signatures from windows to linux
Reply With Quote #7

How have you found sigs?

There is a how to some where?
MCDRIVE is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 04-24-2022 , 11:37   Re: how do i convert signatures from windows to linux
Reply With Quote #8

Nice catch, Crasher!

But, which function pointing to ConVar in "FriendlyFire"'s string sub?

PHP Code:
int __cdecl sub_CC7C60(int a1int a2)
{
  
int result// eax
  
int v3// ebx
  
int v4// eax
  
int v5// edx
  
float v6// xmm1_4
  
float v7// [esp+1Ch] [ebp-6Ch]
  
int v8// [esp+3Ch] [ebp-4Ch]
  
float v9// [esp+3Ch] [ebp-4Ch]
  
char v10[4]; // [esp+4Ch] [ebp-3Ch] BYREF
  
int v11// [esp+50h] [ebp-38h]
  
int v12// [esp+54h] [ebp-34h]
  
int v13// [esp+58h] [ebp-30h]
  
__int16 v14// [esp+60h] [ebp-28h]
  
__int16 v15// [esp+62h] [ebp-26h]

  
result = (*(int (__cdecl **)(int *))(dword_1740360 64))(&dword_1740360);
  if ( 
result )
  {
    
v3 sub_470740(112);
    *(
_DWORD *)(v3 4) = 0;
    *(
_DWORD *)(v3 8) = 0;
    *(
_DWORD *)v3 a1;
    
v4 dword_17399BC;
    
v5 = *(_DWORD *)(dword_17399BC 16);
    *(
_DWORD *)(v3 40) = 0;
    *(
_DWORD *)(v3 12) = 13;
    *(
_DWORD *)(v3 16) = -1;
    *(
_DWORD *)(v3 20) = 0;
    *(
_DWORD *)(v3 28) = v5;
    *(
_DWORD *)(v3 24) = 0;
    *(
_DWORD *)(v3 32) = *(_DWORD *)(v4 16);
    
v6 = *(float *)(v4 16);
    *(
_BYTE *)(v3 44) = 0;
    *(
_DWORD *)(v3 48) = 0;
    *(
_DWORD *)(v3 104) = -1;
    *(
_DWORD *)(v3 108) = 0;
    *(
_DWORD *)(v3 100) = 0;
    *(
float *)(v3 36) = v6 1.0;
    
sub_E1C730(v10);
    if ( 
a2 )
      
sub_E1CCA0(v10"damagetype"a21065353216);
    
v8 sub_CC1FD0(dword_183640C"FriendlyFire");
    
sub_E1C970(v8 92);
    
sub_E1CB80(v8 92v10);
    
sub_CC2520(v3v8);
    
v9 = *(float *)(dword_17399BC 16);
    
v7 RandomFloat(10502537221056964608);
    *(
float *)(v3 32) = v7 v9;
    
sub_CC2E90(a1v30);
    
sub_576F60(v10);
    
result v13;
    
v14 = -1;
    if ( 
v13 >= )
    {
      if ( 
v11 )
      {
        (*(
void (__cdecl **)(_DWORDint))(*g_pMemAlloc 8))(g_pMemAllocv11);
        
result v13;
        
v11 0;
      }
      
v12 0;
      
v15 = -1;
      if ( 
result >= )
        
result v11;
    }
  }
  return 
result;

__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 04-24-2022 , 17:51   Re: how do i convert signatures from windows to linux
Reply With Quote #9

Quote:
Originally Posted by Dragokas View Post
Nice catch, Crasher!

But, which function pointing to ConVar in "FriendlyFire"'s string sub?

It should be the "dword_1740360" at the top. That points to "mp_friendlyfire" and is referenced by several functions.

I used old CSGO binaries with symbols to compare to the latest binaries.
__________________
Psyk0tik is offline
after_57
New Member
Join Date: Mar 2022
Old 05-05-2022 , 12:12   Re: how do i convert signatures from windows to linux
Reply With Quote #10

Quote:
Originally Posted by Psyk0tik View Post
CSGO's Linux binaries don't have symbols anymore so that site won't help.



I think I found it.
PHP Code:
/**
 * CBasePlayer::WantsLagCompensationOnEntity(CBaseEntity const*, CUserCmd const*, CBitVec<2048> const*)
 *
 * How to find:
 * 1. Search for the "FriendlyFire" string.
 * 2. The string can only be found in "BotChatterInterface::FriendlyFire".
 * 3. In the "BotChatterInterface::FriendlyFire" function, the "mp_friendlyfire" convar is referenced twice at the top.
 * 4. One of the functions that references the "mp_friendlyfire" convar should be this function.
 * 5. This function references the "mp_friendlyfire" convar twice at the top.
 **/
"CBasePlayer::WantsLagCompensationOnEntity"
{
    
"library"    "server"
    "linux"        "\x2A\x2A\x2A\x2A\x2A\x2A\xA1\x2A\x2A\x2A\x2A\x89\x2A\x2A\x89\x2A\x2A\x8B\x2A\x2A\x89\x2A\x2A\x8B\x2A\x2A\x3D\x2A\x2A\x2A\x2A\x0F\x84\x2A\x2A\x2A\x2A\x8B\x2A\x89\x2A\x2A\xFF\x2A\x2A\x85\x2A\x0F"
            
/* ? ? ? ? ? ? A1 ? ? ? ? 89 ? ? 89 ? ? 8B ? ? 89 ? ? 8B ? ? 3D ? ? ? ? 0F 84 ? ? ? ? 8B ? 89 ? ? FF ? ? 85 ? 0F */
    
"windows"    "\x2A\x2A\x2A\x2A\x2A\x2A\x56\x57\x8B\x2A\x8B\x0D\x2A\x2A\x2A\x2A\x81\xF9\x2A\x2A\x2A\x2A\x75\x2A\xA1"
            
/* ? ? ? ? ? ? 56 57 8B ? 8B 0D ? ? ? ? 81 F9 ? ? ? ? 75 ? A1 */



Exception reported: 'Gamedata\KnifeRegistryFix.txt' needs updated (WantsLagCompensationOnEntity)


it's giving this error
after_57 is offline
Reply


Thread Tools
Display Modes

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 22:02.


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