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

Orpheu Signatures Collection


Post New Thread Reply   
 
Thread Tools Display Modes
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viña del Mar, Chile
Old 07-06-2016 , 22:00   Re: Orpheu Signatures Collection
Reply With Quote #51

May I forgot something, I guess, but if I remember well, retrieving the virtual table of a class it will return all the virtual functions from this one mentioned, not the classes that has extended from it
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS is offline
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viña del Mar, Chile
Old 07-23-2016 , 22:58   Re: Orpheu Signatures Collection
Reply With Quote #52

Just noticed the virtual table of CGameRules changed just on linux OS. In old versions, linux diff was +2, on current version, linux diff is 0, that means windows and linux offsets are the same (just with this)

The CGameRules member offsets are the same, I guess.
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS is offline
Rivotril
Senior Member
Join Date: Feb 2014
Location: Argentina
Old 11-29-2016 , 10:56   Re: Orpheu Signatures Collection
Reply With Quote #53

not working on linux server, windows does

Code:
{
    "name" : "SV_Rcon",
    "library" : "engine",
    "arguments" :
    [
        {
            "type" : "int"
        }
    ],
    "identifiers":
    [
        {
            "os" : "windows",
            "value" : [0x55,0x8B,"*",0x81,"*","*","*","*","*",0x53,0x56,0x57,0xE8,"*","*","*","*",0x8B,"*",0x68,"*","*","*","*",0x89]
        },
        {
            "os" : "linux",
            "value" : "SV_Rcon"
        }
    ]
}
Rivotril is offline
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 04-17-2017 , 06:57   Re: Orpheu Signatures Collection
Reply With Quote #54

@OP

You forgot to add the title for SV_Rcon_Validate. Sorry for bumping
__________________

Last edited by edon1337; 04-17-2017 at 16:48.
edon1337 is offline
DarthMan
Veteran Member
Join Date: Aug 2011
Old 08-21-2018 , 18:31   Re: Orpheu Signatures Collection
Reply With Quote #55

Can someone tell me if this signature is correct? I mean, if it points to SV_RejectConnection. Thanks!

PHP Code:

    
"name" "SV_RejectConnection"
    
"library" "engine"
    
"identifiers" 
    [ 
        { 
            
"os" "windows"
            
"value" : [0x55,0x8B,"*",0x81,"*","*","*","*","*",0x8B,"*","*",0x56,0x8D,"*","*",0x57,0x50,0x51,0x8D,"*","*","*","*","*"]
        }, 
        { 
            
"os" "linux"
            
"value" "SV_RejectConnection" 
        

    ] 


Last edited by DarthMan; 08-21-2018 at 18:33.
DarthMan is offline
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 08-22-2018 , 05:14   Re: Orpheu Signatures Collection
Reply With Quote #56

Quote:
Originally Posted by DarthMan View Post
Can someone tell me if this signature is correct? I mean, if it points to SV_RejectConnection. Thanks!

PHP Code:

    
"name" "SV_RejectConnection"
    
"library" "engine"
    
"identifiers" 
    [ 
        { 
            
"os" "windows"
            
"value" : [0x55,0x8B,"*",0x81,"*","*","*","*","*",0x8B,"*","*",0x56,0x8D,"*","*",0x57,0x50,0x51,0x8D,"*","*","*","*","*"]
        }, 
        { 
            
"os" "linux"
            
"value" "SV_RejectConnection" 
        

    ] 

Simply test it and see if the signature is being found?
__________________
edon1337 is offline
DarthMan
Veteran Member
Join Date: Aug 2011
Old 08-22-2018 , 08:30   Re: Orpheu Signatures Collection
Reply With Quote #57

Quote:
Originally Posted by edon1337 View Post
Simply test it and see if the signature is being found?
The signature is right, it points to a sub_ but I think it doesn't point to the right function. I tested with a LAN server where it displays that reject message about it being restricted to lan clients class c and it crashed right when I joined, so something must be wrong. All I did was a server print with message test. Server was dedicated with sv_lan set to true.
DarthMan is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 08-22-2018 , 08:40   Re: Orpheu Signatures Collection
Reply With Quote #58

SV_RejectConnection doesn't have any string so you can't find it directly. If you look where it's used you see it's being called from SV_CheckProtocol and we are lucky, this function has 3 strings, should be easy to find.
https://github.com/dreamstalker/rehl...main.cpp#L1756

Now search for:"This server is using a newer protocol" in "Strings window" and you will find SV_CheckProtocol. The simply double click on the function that contains the string we searched for:
PHP Code:
sub_1D8A660(a1aThisServerIsUs_048a2); 
The call should look something like this.

If you look here: https://github.com/dreamstalker/rehl...main.cpp#L1679 and in the decompiled output you will notice the functions are looking similar, meaning we found SV_RejectConnection(sub_1D8A660).
Then just take the bytes and make a signature.
__________________

Last edited by HamletEagle; 08-22-2018 at 08:42.
HamletEagle is offline
DarthMan
Veteran Member
Join Date: Aug 2011
Old 08-22-2018 , 11:37   Re: Orpheu Signatures Collection
Reply With Quote #59

Quote:
Originally Posted by HamletEagle View Post
SV_RejectConnection doesn't have any string so you can't find it directly. If you look where it's used you see it's being called from SV_CheckProtocol and we are lucky, this function has 3 strings, should be easy to find.
https://github.com/dreamstalker/rehl...main.cpp#L1756

Now search for:"This server is using a newer protocol" in "Strings window" and you will find SV_CheckProtocol. The simply double click on the function that contains the string we searched for:
PHP Code:
sub_1D8A660(a1aThisServerIsUs_048a2); 
The call should look something like this.

If you look here: https://github.com/dreamstalker/rehl...main.cpp#L1679 and in the decompiled output you will notice the functions are looking similar, meaning we found SV_RejectConnection(sub_1D8A660).
Then just take the bytes and make a signature.
I'm not using ReHLDS, so sub_1D8A660 is not an option for me. I wonder why people on AM believe that everyone is now using ReHLDS. I know that a bunch of people switched to it, but not everyone. Everytime I was asking for question when related to hlds, help was given considering that I was using ReHLDS.

Last edited by DarthMan; 08-22-2018 at 11:38.
DarthMan is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 08-22-2018 , 11:47   Re: Orpheu Signatures Collection
Reply With Quote #60

Quote:
Originally Posted by DarthMan View Post
I'm not using ReHLDS, so sub_1D8A660 is not an option for me. I wonder why people on AM believe that everyone is now using ReHLDS. I know that a bunch of people switched to it, but not everyone. Everytime I was asking for question when related to hlds, help was given considering that I was using ReHLDS.
Hold your horses, what I gave you is for default hlds. I'm just using rehlds to check how the functions look and work, since it's the same code as hlds. Next time ask or simply try before talking bullshit.
__________________

Last edited by HamletEagle; 08-22-2018 at 11:48.
HamletEagle 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 08:38.


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