Results 1 to 10 of 18

Thread: Attack on rcon !

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #12
    Global Mossaderator Mitch's Avatar
    Join Date
    Nov 2012
    Posts
    654
    Thanks
    204
    Thanked 450 Times in 305 Posts
    It is probably best to make something like this with libcod.

    http://www.urbanterror.info/forums/t...ost__p__201750

    Edit: Something like (example)

    PHP Code:
    int hook_SVC_RemoteCommand(int fromint msg)
    {
        if(
    sendpass != rconpass)
        {
            
    int time = ...; // 
            
            
    if (time<(lasttime+1000)) { // limit bad password by 1s
                
    return;
            }

            
    lasttime time;
        }
        
        
    SVC_RemoteCommand(frommsg);

    Last edited by Mitch; 7th December 2014 at 14:24. Reason: added an example

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •