bad user from past gets flooded after login
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

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