Raised This Month: $ Target: $400
 0% 

String Decompilation.. help!


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 06-18-2011 , 12:37   Re: String Decompilation.. help!
Reply With Quote #2

You can use md5.

Type the word you want here : http://www.md5encryption.com/
Add the encrypted one in the plugin or in a .ini file w/e

Tested with string "ConnorMcLeod" and works.

Don't use existing word for passwords else it is easy to find them.

PHP Code:
#include <amxmodx>

#define VERSION "0.0.1"
#define PLUGIN "Encrypt Test"

public plugin_init()
{
    
register_plugin(PLUGINVERSION"ConnorMcLeod")
    
register_clcmd("test_encrypt""test_encrypt")
}

public 
test_encryptid )
{
    static 
encrypted_word[] = "ea8a91a618b679e5a5ddbfd8610de0a5"
    
new szArg[32], szMd5[34]
    
read_argv(1szArgcharsmax(szArg))
    
md5(szArgszMd5)
    if( 
equal(szMd5encrypted_word) )
    {
        
client_print(idprint_console"Arg matches !!!")
    }
    return 
PLUGIN_HANDLED

__________________
- tired and retired -

- my plugins -
ConnorMcLeod 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 23:30.


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