AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Snippets and Tutorials (https://forums.alliedmods.net/forumdisplay.php?f=112)
-   -   [SNAKES] Plugin reader/partial decompiler (https://forums.alliedmods.net/showthread.php?t=104458)

olj 09-25-2009 09:42

Re: [SNAKES] Plugin reader
 
"sm plugins list" does that already. It can be used if you dont have access to this command but have access to plugins folder though.

DJ Tsunami 09-27-2009 16:33

Re: [SNAKES] Plugin reader
 
Or use GetPluginIterator and GetPluginInfo to read all that info.

devicenull 10-01-2009 12:30

Re: [SNAKES] Plugin reader
 
Updated the code to support Pawn's debug symbols. I've also posted my "decompiler", which is a first step at being able to decompile plugins.

NouveauJoueur 12-13-2009 06:49

Re: [SNAKES] Plugin reader/partial decompiler
 
Can you decompile this plugin for me please?
It got uploaded by this guy on one of my server :

STEAM_0:1:28442898

http://steamcommunity.com/profiles/76561198017151525

Known IP :

86.149.170.114
81.158.112.119

antihacker 12-13-2009 09:16

Re: [SNAKES] Plugin reader/partial decompiler
 
Its seem like, that the script registers to commands, set_rcon -> Command_SetRcon, send_me_rcon -> Command_SendRcon. Its indeend a rcon password stealer. http://pastebin.com/m60491bdf

bestmeth0ds 05-13-2011 20:36

Re: [SNAKES] Plugin reader/partial decompiler
 
If anyone could assist me I would be deeply appreciative. ;)

http://forums.alliedmods.net/showthread.php?t=156922

Peace-Maker 01-20-2012 06:16

Re: [SNAKES] Plugin reader/partial decompiler
 
3 Attachment(s)
Since this really can provide some useful fast information, here's a PHP version based off devicenull's code.

http://wcfan.de/diverse/spfile.php

You could also read that information in sourcepawn directly. Have a look at this plugin which displays information of unloaded plugins. (myinfo)

Thanks to theY4Kman's sm-gunzip INFLATE implementation. I've only tweaked it to read and write to intarrays instead of files and removed the gzip part, leaving only the INFLATE decompression algorithm.

The attached plugin provides a sm_unloaded_plugins server command. Run it via rcon to get a list of unloaded plugins placed in the /plugins folder.


All times are GMT -4. The time now is 18:21.

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