Anti Virus Help
 

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

Anti Virus Help

Started by ?Tr??T_????, 15 July, 2005, 11:40:46

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

?Tr??T_????

hello i have this script of antivirus but i dont knoe how to put a name on it i want to put -=Anti-Virus=- can someone help me??? Regards


--// ------------------------------------------------------------------------------------------------------------ --

--// -  GeceBekcisi'nin yazdigi HubBekcisi s?r?m 0.5 ten alintidir

--// -  Stripped from HubBekcisi v0.5 by GeceBekcisi

--// ------------------------------------------------------------------------------------------------------------ --

--// -  Features: Simple Win32.Tibick detection

--// ------------------------------------------------------------------------------------------------------------ --

--------------------------------------------------------------------------------------------------------------------

--// Global Settings

--------------------------------------------------------------------------------------------------------------------

sBot = frmHub:GetHubBotName()      -- Bot's Name   ( leave so if you don't want to use a special name for your bot )

sRdAd = frmHub:GetRedirectAddress()   -- Redirect address    ( leave so if you want users to be redirected to the default redirect address )

sRedirect = "off"         -- Redirect detected users         ( on / off )

sInform = "on"         -- Inform user why he was banned / disconnected   ( on / off )

sFeed = "on"         -- Feed about detected users         ( on / off )

sFeedType = "OPS"         -- "OPS" for Pm to ops, "NICK" for pm to specified nick below

sFeedNick = "Admin"         -- Enter nick to send feeds if NICK selected above

sKickType = "BAN"         -- "DSC" to disconnect user, "BAN" to timeban user for specified minutes below

iTimeBan = "60"         -- TimeBan time in minutes if BAN selected above

--------------------------------------------------------------------------------------------------------------------

-- Some notes about Kick Type setting

-- Disconnecting may cause feed spam if a popular hub with feed turned on

-- TimeBanning fixes feed spam but may cause a slow hub because of huge banlist

--------------------------------------------------------------------------------------------------------------------

--// AntiVirus begins

--------------------------------------------------------------------------------------------------------------------

function MyINFOArrival(curUser, sData)

   if curUser.sEmail and string.find(curUser.sEmail, "myemail@host.com") then

      if sFeed == "on" then

         if sFeedType == "OPS" then

            SendPmToOps(sBot, "A user from IP "..curUser.sIP.." is trying to login with Win32.Tibick virus but stopped.")

         else

            SendPmToNick(sFeedNick, sBot, "A user from IP "..curUser.sIP.." is trying to login with Win32.Tibick virus but stopped.")

         end

      end

      if sInform == "on" then

         curUser:SendData(sBot, "Your DC++ system is infected by Win32.Tibick virus. Please clean it before entering our hub!")

         curUser:SendData(sBot, "For more info double click: http://www3.ca.com/securityadvisor/virus...s.aspx?id=40789")

      end

      if sRedirect == "on" then

         curUser:Redirect(sRdAd, " Get an AntiVirus software! ")

      end

      if sKickType == "DSC" then

         curUser:Disconnect()

      else

         curUser:TimeBan(iTimeBan)

      end

   return 1

   end

end

--------------------------------------------------------------------------------------------------------------------

--// AntiVirus ends

--------------------------------------------------------------------------------------------------------------------

GeceBekcisi

change sBot = frmHub:GetHubBotName() to sBot = "-=Anti-Virus=-".. or copy this:
--// ------------------------------------------------------------------------------------------------------------ --
--// -  GeceBekcisi'nin yazdigi HubBekcisi s?r?m 0.5 ten alintidir
--// -  Stripped from HubBekcisi v0.5 by GeceBekcisi
--// ------------------------------------------------------------------------------------------------------------ --
--// -  Features: Simple Win32.Tibick detection
--// ------------------------------------------------------------------------------------------------------------ --
--------------------------------------------------------------------------------------------------------------------
--// Global Settings
--------------------------------------------------------------------------------------------------------------------
sBot = "-=Anti-Virus=-"		-- Bot's Name	( leave so if you don't want to use a special name for your bot )
sRdAd = frmHub:GetRedirectAddress()	-- Redirect address 	( leave so if you want users to be redirected to the default redirect address )
sRedirect = "off"			-- Redirect detected users			( on / off )
sInform = "on"			-- Inform user why he was banned / disconnected	( on / off )
sFeed = "on"			-- Feed about detected users			( on / off )
sFeedType = "OPS"			-- "OPS" for Pm to ops, "NICK" for pm to specified nick below
sFeedNick = "Admin"			-- Enter nick to send feeds if NICK selected above
sKickType = "BAN"			-- "DSC" to disconnect user, "BAN" to timeban user for specified minutes below
iTimeBan = "60"			-- TimeBan time in minutes if BAN selected above
--------------------------------------------------------------------------------------------------------------------
-- Some notes about Kick Type setting
-- Disconnecting may cause feed spam if a popular hub with feed turned on
-- TimeBanning fixes feed spam but may cause a slow hub because of huge banlist
--------------------------------------------------------------------------------------------------------------------
--// AntiVirus begins
--------------------------------------------------------------------------------------------------------------------
function MyINFOArrival(curUser, sData)
	if curUser.sEmail and string.find(curUser.sEmail, "myemail@host.com") then
		if sFeed == "on" then
			if sFeedType == "OPS" then
				SendPmToOps(sBot, "A user from IP "..curUser.sIP.." is trying to login with Win32.Tibick virus but stopped.")
			else
				SendPmToNick(sFeedNick, sBot, "A user from IP "..curUser.sIP.." is trying to login with Win32.Tibick virus but stopped.")
			end
		end
		if sInform == "on" then
			curUser:SendData(sBot, "Your DC++ system is infected by Win32.Tibick virus. Please clean it before entering our hub!")
			curUser:SendData(sBot, "For more info double click: [URL]http://www3.ca.com/securityadvisor/virus...s.aspx?id=40789[/URL]")
		end
		if sRedirect == "on" then
			curUser:Redirect(sRdAd, " Get an AntiVirus software! ")
		end
		if sKickType == "DSC" then
			curUser:Disconnect()
		else
			curUser:TimeBan(iTimeBan)
		end
	return 1
	end
end
--------------------------------------------------------------------------------------------------------------------
--// AntiVirus ends
--------------------------------------------------------------------------------------------------------------------
Do you need an advanced user handling script? Download UserBekcisi today (Latest Edit)
Features: User + ISP + GeoIP database, user info + share checking and many more...

?Tr??T_????

np m8 it doesent work
i cant see him at the hub...

TTB

Copy paste this, put it above  function MyINFOArrival...

function Main()
	frmHub:RegBot(sBot)
end

good luck
TTB

(? ?.??.-> Admin @ Surfnet hubs <-.??.???)

GeceBekcisi

Try now:
--// ------------------------------------------------------------------------------------------------------------ --
--// -  GeceBekcisi'nin yazdigi HubBekcisi s?r?m 0.5 ten alintidir
--// -  Stripped from HubBekcisi v0.5 by GeceBekcisi
--// ------------------------------------------------------------------------------------------------------------ --
--// -  Features: Simple Win32.Tibick detection
--// ------------------------------------------------------------------------------------------------------------ --
--------------------------------------------------------------------------------------------------------------------
--// Global Settings
--------------------------------------------------------------------------------------------------------------------
sBot = "-=Anti-Virus=-"		-- Bot's Name	( leave so if you don't want to use a special name for your bot )
sRdAd = frmHub:GetRedirectAddress()	-- Redirect address 	( leave so if you want users to be redirected to the default redirect address )
sRedirect = "off"			-- Redirect detected users			( on / off )
sInform = "on"			-- Inform user why he was banned / disconnected	( on / off )
sFeed = "on"			-- Feed about detected users			( on / off )
sFeedType = "OPS"			-- "OPS" for Pm to ops, "NICK" for pm to specified nick below
sFeedNick = "Admin"			-- Enter nick to send feeds if NICK selected above
sKickType = "BAN"			-- "DSC" to disconnect user, "BAN" to timeban user for specified minutes below
iTimeBan = "60"			-- TimeBan time in minutes if BAN selected above
--------------------------------------------------------------------------------------------------------------------
-- Some notes about Kick Type setting
-- Disconnecting may cause feed spam if a popular hub with feed turned on
-- TimeBanning fixes feed spam but may cause a slow hub because of huge banlist
--------------------------------------------------------------------------------------------------------------------
--// AntiVirus begins
--------------------------------------------------------------------------------------------------------------------
function Main() 
	frmHub:RegBot(sBot)
end

function MyINFOArrival(curUser, sData)
	if curUser.sEmail and string.find(curUser.sEmail, "myemail@host.com") then
		if sFeed == "on" then
			if sFeedType == "OPS" then
				SendPmToOps(sBot, "A user from IP "..curUser.sIP.." is trying to login with Win32.Tibick virus but stopped.")
			else
				SendPmToNick(sFeedNick, sBot, "A user from IP "..curUser.sIP.." is trying to login with Win32.Tibick virus but stopped.")
			end
		end
		if sInform == "on" then
			curUser:SendData(sBot, "Your DC++ system is infected by Win32.Tibick virus. Please clean it before entering our hub!")
			curUser:SendData(sBot, "For more info double click: [URL]http://www3.ca.com/securityadvisor/virus...s.aspx?id=40789[/URL]")
		end
		if sRedirect == "on" then
			curUser:Redirect(sRdAd, " Get an AntiVirus software! ")
		end
		if sKickType == "DSC" then
			curUser:Disconnect()
		else
			curUser:TimeBan(iTimeBan)
		end
	return 1
	end
end
--------------------------------------------------------------------------------------------------------------------
--// AntiVirus ends
--------------------------------------------------------------------------------------------------------------------
Do you need an advanced user handling script? Download UserBekcisi today (Latest Edit)
Features: User + ISP + GeoIP database, user info + share checking and many more...

?Tr??T_????

Yep thanx m8 it works

blackwings

GeceBekcisi, you should fix the url in the script ;)

I don't know how good info that the site in your script has, but I think this one is good =
 click here


GeceBekcisi

#7
Oh, damn it! Board makes it so :( Thanx blackwings.

Click here to download the full AntiVirus script.
Do you need an advanced user handling script? Download UserBekcisi today (Latest Edit)
Features: User + ISP + GeoIP database, user info + share checking and many more...

SMF spam blocked by CleanTalk