Post finished Clientside Scripts here, known supporting clients for LUA scripting.
Note: Client must be
ADC 1.0
BCDC++ |
RSX++
-
Toast
Post
by Toast » Sun Jun 29, 2008 9:04 am
Code: Select all
--[[
simple workaround for dc++ exploit that affect most popular recent clients.
script should work with other clients with similar lua implementation
adrian_007 (c) 2008
]]--
dcpp:setListener( "clientIn", "exploitfix",
function( userp, line )
-- this is a hack...
if line == "$ADCGET list /// 0 -1 ZL1" then
DC():PrintDebug( "Dropped user that tried to crash you via exploit!" )
return true
else
return false
end
end
)
DC():PrintDebug(" ** exploitfix.lua loaded")
-
adrian_007
- Senior Member
- Posts: 126
- Joined: Sun Jan 06, 2008 1:00 pm
Post
by adrian_007 » Sun Jun 29, 2008 10:35 am
checked with rsx++, maybe someone can confirm if it's working with other.

-
Toast
Post
by Toast » Mon Jun 30, 2008 10:38 am
i can check with BCDC++ later on this day when i get home from work
-
allnames
Post
by allnames » Mon Jun 30, 2008 4:11 pm
Loads correct on LDC 1.00 v2a (DC++ 0.674) but I haven't verified it stops the exploit.
-
Yeppy
- Newbie
- Posts: 4
- Joined: Thu Mar 19, 2009 9:49 pm
Post
by Yeppy » Thu Mar 19, 2009 10:02 pm
how can you tell if it works ? cause i'm using it in rsx but i still get the little message that someone is trying to use my client to spam
-
adrian_007
- Senior Member
- Posts: 126
- Joined: Sun Jan 06, 2008 1:00 pm
Post
by adrian_007 » Fri Mar 20, 2009 3:36 pm
it doesnt prevent spam attempt but remote exploit that can crash your client.... and there's a update on my forum.
-
Toast
Post
by Toast » Fri Mar 20, 2009 4:09 pm
Code: Select all
--[[
simple workaround for dc++ exploit that affect most popular recent clients.
script should work with other clients with similar lua implementation
adrian_007 (c) 2008
little change of string-recognition for better exploit-fix by FlipFlop (c) 2009
]]--
dcpp:setListener( "clientIn", "exploitfix",
function( userp, line )
-- this is a hack...
if string.find(line, "%$ADCGET (%S) //+ 0 %-1 ZL1") then
DC():PrintDebug( "Dropped user that tried to crash you via exploit" )
return true
else
return false
end
end
)
DC():PrintDebug(" ** exploitfix.lua loaded")
Yeppy the spam problem that your asking about is the CTM exploit and there arent any sure proof solutions out there yet
-
adrian_007
- Senior Member
- Posts: 126
- Joined: Sun Jan 06, 2008 1:00 pm
Post
by adrian_007 » Fri Mar 20, 2009 4:23 pm
ahh TmpAntiFlood can partially deal with it

-
Yeppy
- Newbie
- Posts: 4
- Joined: Thu Mar 19, 2009 9:49 pm
Post
by Yeppy » Fri Mar 20, 2009 10:00 pm
ok i got the updated version from rsx forums
btw how do you use the true/false that function returns ? cause i don't think just by sending text ("dropped user ... ") helps with anything
-
adrian_007
- Senior Member
- Posts: 126
- Joined: Sun Jan 06, 2008 1:00 pm
Post
by adrian_007 » Sat Mar 21, 2009 4:35 pm
if you return true, message isnt dispatched anymore - it's dropped at script level.
Users browsing this forum: Google (Crawler) and 0 guests