bad user from past gets flooded after login
 

bad user from past gets flooded after login

Started by dvxjunkie, 16 May, 2004, 05:18:42

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dvxjunkie

can any one finish this so it floods the user?


botname = "SweetRevenge"
badusers = {"asswipe1","asswipe2","asswipe3"}
floodmessege = "YOU ARE NOT WELCOME HERE DO NOT ATTEMPT LOGGING IN HERE AGAIN"
times = "2000"
function Main()
frmHub:RegBot(botname)

end

function NewUserConnected(curuser)
for key,checkWord in badusers do
if strfind(curUser.sMyInfoString, checkWord, 1, 1) then

-- need help at this point


[NL]ZeroX

#1
try this:

for i = 0, times, 1 do
   curUser:SendData(botname, floodmessege)
end

Greets ZeroX

lol i tried out your script, it works whit that code and my client taked like 5~10 seconds to handle all the 2000 messages :)

dvxjunkie

-- NickFlooder by ?V?J??K?? and [NL]Zerox and well a little of everyone. Floods known troublemakers by thier nick on entry. be carefull because a user named robert and a user named roberto whould both get flooded using the trigger robert so avoid nicks with this charecteristic. ANYONE have any ideas to improove ths one?

botname = "SweetRevenge"

function Main()
frmHub:RegBot(botname)
end

badusers = {"asswipe1","asswipe2","asswipe3"}
floodmessege = "YOU ARE NOT WELCOME HERE DO NOT ATTEMPT LOGGING IN HERE AGAIN"
times = "2000"

function NewUserConnected(curuser)
for key,checkWord in badusers do
if strfind(curuser.sMyInfoString, checkWord, 1, 1) then

for i = 0, times, 1 do
curuser:SendData(botname, floodmessege)
end
end
end
end

[NL]ZeroX

#3
be carefull because a user named robert and a user named roberto

what about changing:
if strfind(curuser.sMyInfoString, checkWord, 1, 1)then
to
if (curuser.sName == checkWord) then

Greetz ZeroX

dvxjunkie

cool I knew there had to be a way to do that thanks  :)

pHaTTy

ok heres a few updated for ya while i was bored

botname = "SweetRevenge" 

function Main() 
	frmHub:RegBot(botname) 
end 

badusers = {
	["asswipe1"] = 2000,
	["asswipe2"] = 200,
	["asswipe3"] = 20,
} 

floodmessege = "I AM NOT WELCOME HERE I SHOULD NOT ATTEMPT LOGGING IN HERE AGAIN"

function NewUserConnected(curuser) 
	for key,checkWord in badusers do 
		if strfind(curuser.sMyInfoString, checkWord) then 
			for i = 0, badusers[curuser.sName], 1 do
				curuser:SendData( "$Hello "..user.sName..i )
				curuser:SendData( "$To: "..user.sName.." From: "..user.sName..i.." $<"..user.sName..i.."> "..floodmessage.."|")
			end 
			curuser:Disconnect() -- // bye bye prick
		end 
	end 
end
Resistance is futile!

dvxjunkie

cool you have good ideas when bored! so with this, they get flooded with $hello at handshake time as well as the main chat plus different flood amounts for different users? awsome :)

SMF spam blocked by CleanTalk