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

[ANY] Gamedata Sig Tester (1.4) [10-May-2020]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Plugin ID:
6613
Plugin Version:
1.4
Plugin Category:
Technical/Development
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    2 
    Plugin Description:
    Test gamedata signature bytes via command
    Old 06-20-2019 , 17:29   [ANY] Gamedata Sig Tester (1.4) [10-May-2020]
    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.4 (10-May-2020)
        - Various changes to tidy up 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 - 704 views - 3.6 KB)
    __________________

    Last edited by Silvers; 11-19-2021 at 21:44.
    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
    SourceMod Plugin Approver
    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
    404UserNotFound
    BANNED
    Join Date: Dec 2011
    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.
    404UserNotFound is offline
    Silvers
    SourceMod Plugin Approver
    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
    Dragokas
    Veteran Member
    Join Date: Nov 2017
    Location: Ukraine on fire
    Old 12-08-2020 , 10:17   Re: [ANY] Gamedata Sig Tester (1.4) [10-May-2020]
    Reply With Quote #6

    Suggestion:

    Quote:
    - allow providing escaped bytes in sm_sig (\x)
    Attached Files
    File Type: sp Get Plugin or Get Source (sm_sig.sp - 351 views - 3.8 KB)
    __________________
    Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
    [My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
    Dragokas 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 12:14.


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