Raised This Month: $77 Target: $400
 19% 

[ANY] Gamedata Sig Tester (1.3) [26-Jun-2019]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Silvers
AlliedModders Donor
Join Date: Aug 2010
Location: SpaceX
Plugin ID:
6613
Plugin Version:
1.3
Plugin Category:
Technical/Development
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Test gamedata signature bytes via command
    Old 06-20-2019 , 17:29   [ANY] Gamedata Sig Tester (1.3) [26-Jun-2019]
    Reply With Quote #1

    About
    • Command for testing signature bytes.
    • Does not check for unique signatures.
    • To prevent "Encountered command which overflows the argument buffer" put the bytes within quotes.


    Related Plugins

    Thanks
    • BHaType - Bug report and testing.
    • Peace-Maker - Bug report.


    Admin Commands
    PHP Code:
    sm_sig        // Usage: sm_sig <bytes>
    sm_sig_hex    // Usage: sm_sig_hex <bytes>. Converts hex escaped bytes to non-escaped.

    // Examples:
    sm_sig "55 8B ? 81 ? 54"
    sm_sig_hex "\x55\x8B\x2A\x81\x2A\x54" 

    ConVars:

    PHP Code:
    sm_sig_library "1"    // Which library to search. 0=Engine, 1=Server. 

    Changes
    Code:
    1.3 (26-June-2019)
        - Added convar "sm_sig_library" to determine which library to search.
    
    1.2 (21-June-2019)
        - Added command sm_sig_hex.
        - Fixed quoted strings not working.
    
    1.1 (20-June-2019)
        - Fixed memory leak.
    
    1.0 (20-June-2019)
        - Initial release.

    Installation
    1. Click "Get Plugin" and put the .smx file into your servers \addons\sourcemod\plugins\ folder.
    Attached Files
    File Type: sp Get Plugin or Get Source (sm_sig.sp - 56 views - 2.7 KB)
    __________________

    Last edited by Silvers; 06-26-2019 at 06:04.
    Silvers is offline
    Peace-Maker
    SourceMod Plugin Approver
    Join Date: Aug 2008
    Location: Germany
    Old 06-20-2019 , 18:07   Re: [ANY] Gamedata Sig Tester (1.0) [20-Jun-2019]
    Reply With Quote #2

    Nice idea! This is good for fast tests after game updates. I usually use this script to search for signatures in the hexescaped format of gamedata files in IDA right away.

    You're leaking the sdkcall handles by the way.
    __________________
    Peace-Maker is offline
    Silvers
    AlliedModders Donor
    Join Date: Aug 2010
    Location: SpaceX
    Old 06-20-2019 , 18:17   Re: [ANY] Gamedata Sig Tester (1.0) [20-Jun-2019]
    Reply With Quote #3

    Quote:
    Originally Posted by Peace-Maker View Post
    You're leaking the sdkcall handles by the way.
    oops nice catch! Fixed.
    __________________
    Silvers is offline
    404UNF
    ( ͡ ͜ʖ ͡)
    Join Date: Dec 2011
    Location: 🍁
    Old 06-24-2019 , 23:24   Re: [ANY] Gamedata Sig Tester (1.2) [21-Jun-2019]
    Reply With Quote #4

    This makes me wonder if it'd be possible to make a plugin that automatically updates the offsets after testing them to see if they work.
    __________________
    Don't buy plugins from [G]amerX/_GamerX or FREAK (formerly Sourcemod.shop).
    Most plugins they sell are either stolen from here outright, or similar ones can be found here for free.


    404UNF is offline
    Silvers
    AlliedModders Donor
    Join Date: Aug 2010
    Location: SpaceX
    Old 06-24-2019 , 23:36   Re: [ANY] Gamedata Sig Tester (1.2) [21-Jun-2019]
    Reply With Quote #5

    I have an sm_sig_offset plugin too, I'll release now.

    Edit: https://forums.alliedmods.net/showthread.php?t=317074
    __________________

    Last edited by Silvers; 06-24-2019 at 23:48.
    Silvers 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 06:51.


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