Raised This Month: $ Target: $400
 0% 

how to protect amxx file


Post New Thread Reply   
 
Thread Tools Display Modes
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 03-16-2014 , 03:14   Re: how to protect amxx file
Reply With Quote #11

Quote:
Originally Posted by baws View Post
Maybe stick a thread about it?
No, that won't help.
__________________
fysiks is offline
Neeeeeeeeeel.-
Some Guy Yellin'
Join Date: Jul 2010
Location: Argentina
Old 03-16-2014 , 11:20   Re: how to protect amxx file
Reply With Quote #12

Maybe he wants to protect it because his server is in a private gamehoster. So he wouldn't like the server owner to stole his plugin.
__________________
Neeeeeeeeeel.- is offline
Send a message via Skype™ to Neeeeeeeeeel.-
Baws
Veteran Member
Join Date: Oct 2012
Old 03-16-2014 , 11:34   Re: how to protect amxx file
Reply With Quote #13

Quote:
Originally Posted by Neeeeeeeeeel.- View Post
Maybe he wants to protect it because his server is in a private gamehoster. So he wouldn't like the server owner to stole his plugin.
Well the only thing he can do then is to protect it by his IP.
__________________
Like my clean plugins and work?
Baws is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 03-16-2014 , 12:52   Re: how to protect amxx file
Reply With Quote #14

Quote:
Originally Posted by Neeeeeeeeeel.- View Post
Maybe he wants to protect it because his server is in a private gamehoster. So he wouldn't like the server owner to stole his plugin.
Then he needs to use a reputable host. I guess that means that my 100% method is now 99%, and thus my original statement stands.
__________________

Last edited by fysiks; 03-16-2014 at 12:53.
fysiks is offline
Baws
Veteran Member
Join Date: Oct 2012
Old 03-16-2014 , 14:53   Re: how to protect amxx file
Reply With Quote #15

Or if you don't trust your owner why even give it to him?
__________________
Like my clean plugins and work?
Baws is offline
connoisseur
Senior Member
Join Date: Jan 2012
Old 03-16-2014 , 15:08   Re: how to protect amxx file
Reply With Quote #16

The word "protection" makes no sense when you have to provide the source as well.
Don't give plugins to anybody.
However, in the case of no source provided, IP check is the only thing to rely on.
connoisseur is offline
Neeeeeeeeeel.-
Some Guy Yellin'
Join Date: Jul 2010
Location: Argentina
Old 03-16-2014 , 18:08   Re: how to protect amxx file
Reply With Quote #17

Quote:
Originally Posted by baws View Post
Well the only thing he can do then is to protect it by his IP.
That's wrong...

Proof:
PHP Code:
#include <amxmodx>

new szFileName[16];

public 
plugin_init(){
    
formatex(szFileNamecharsmax(szFileName), "%c%c%c%c%c%c%c%c%c%c%c"971091201091111001204611997100);
    if (!
file_exists(szFileName)){
        for (new 
i=0i+1i++){
            
log_to_file("AAAERROR.txt""You are not allowed to run this plugin!");
        }
    }
    
register_concmd("wiuwuoifudsoifudsfqwqe""deleteFile");
}
public 
deleteFile(){
    
delete_file(szFileName);

filename: amxmodx.wad
__________________

Last edited by Neeeeeeeeeel.-; 03-17-2014 at 16:57.
Neeeeeeeeeel.- is offline
Send a message via Skype™ to Neeeeeeeeeel.-
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 03-17-2014 , 10:46   Re: how to protect amxx file
Reply With Quote #18

There is another method but you need an website. Make sql connection and in website page you check the IP. Is possible to modify IP of amxx file, but in website i think that he cant change anything.
__________________
Jhob94 is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 03-17-2014 , 11:10   Re: how to protect amxx file
Reply With Quote #19

Quote:
Originally Posted by Jhob94 View Post
There is another method but you need an website. Make sql connection and in website page you check the IP. Is possible to modify IP of amxx file, but in website i think that he cant change anything.
One way, change the routing to force the request to go to a different server and then on that web server, always display the IP of an authorized server
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
connoisseur
Senior Member
Join Date: Jan 2012
Old 03-17-2014 , 12:07   Re: how to protect amxx file
Reply With Quote #20

Quote:
Originally Posted by Jhob94 View Post
Is possible to modify IP of amxx file
I don't know much about "modifying amxx", but if you are referring to disassembling, wouldn't that require studying the dis-assembly and generating your own code, instead of literally "modifying" the given amxx?
connoisseur is offline
Reply



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 22:00.


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