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

HLDS Bug *.cfg Downloadable


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
0xyGens
Member
Join Date: Mar 2008
Old 08-13-2012 , 14:47   HLDS Bug *.cfg Downloadable
Reply With Quote #1

Hi, someone download my server.cfg (server.cfg.ZTMP created).
And attacker put html meta refresh code on my motd.txt how can i fix this ?

LOG:
Code:
08/13/2012 - 14:17:10: Rcon: "rcon challange password motd_write <META HTTP-EQUIV=Refresh CONTENT="0 URL=VIRUSURL">" from "İP"
__________________





Last edited by 0xyGens; 08-13-2012 at 14:49.
0xyGens is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 08-13-2012 , 14:52   Re: HLDS Bug *.cfg Downloadable
Reply With Quote #2

Replace your motd file with the correct one and then change your password

EDIT: Also, make sure your server is using the latest Steam version
__________________
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).

Last edited by YamiKaitou; 08-13-2012 at 14:52.
YamiKaitou is offline
0xyGens
Member
Join Date: Mar 2008
Old 08-14-2012 , 08:26   Re: HLDS Bug *.cfg Downloadable
Reply With Quote #3

hi YamiKaitou, i changed password 9 words (number/upper/lower) and attacked again. server.cfg.ZTMP created , modt.txt file is changed.
im using 4883 engines. how can i fix this ?
__________________




0xyGens is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 08-14-2012 , 08:27   Re: HLDS Bug *.cfg Downloadable
Reply With Quote #4

Update your Steam Only server to the latest version
__________________
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
0xyGens
Member
Join Date: Mar 2008
Old 08-14-2012 , 09:54   Re: HLDS Bug *.cfg Downloadable
Reply With Quote #5

hi again, i tried latest steam hlds binary (54xx) but my server crashing every hour so i returned 4883 engine. how can i block motd_write servercmd

i tried following code but not working
Code:
#include <amxmodx>

#define VERSION "1.0"

public plugin_init()
{
    register_plugin("Block modt_write", VERSION, "0xyGens")
    register_srvcmd("motd_write", "block_write")
}

public block_write()
{
    server_print("blocked")
    return PLUGIN_HANDLED
}
__________________




0xyGens is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 08-14-2012 , 10:00   Re: HLDS Bug *.cfg Downloadable
Reply With Quote #6

We cannot assist you if you are not using the latest Steam Only build. This exploit was fixed (I believe) by an HLDS update.
__________________
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
warlock
Senior Member
Join Date: Jan 2005
Old 08-14-2012 , 10:07   Re: HLDS Bug *.cfg Downloadable
Reply With Quote #7

Set the correct permissions on motd.txt and the problem will vanish.
__________________
Kind regards,
warlock
warlock is offline
0xyGens
Member
Join Date: Mar 2008
Old 08-14-2012 , 10:21   Re: HLDS Bug *.cfg Downloadable
Reply With Quote #8

chmod 0644 ?
__________________




0xyGens is offline
Gam3ronE
SourceMod Donor
Join Date: Aug 2010
Old 08-14-2012 , 19:33   Re: HLDS Bug *.cfg Downloadable
Reply With Quote #9

I got the same issue. Trying 0600 now.

I know what you mean with latest build always crashing. I use 4883 too.
Gam3ronE is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 08-14-2012 , 19:53   Re: HLDS Bug *.cfg Downloadable
Reply With Quote #10

Quote:
Originally Posted by 0xyGens View Post
chmod 0644 ?
chmod should only be given 3 digit numbers. Does it ignore the first digit when you actually put it in that way?
__________________

Last edited by fysiks; 08-14-2012 at 19:53.
fysiks is online now
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 03:10.


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