Detecting certain files BOT
 

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

Detecting certain files BOT

Started by PRED_UK, 23 November, 2003, 02:54:45

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

PRED_UK

Can anyone help me ?

I`m trying to find a script that will automatically search connecting users files for PORN and kick them without me having to manually check all the shares myself.

Is it possible to also auto kick users for slot locking as in (No Slots Available) when you try for a filelist.

I`m really pulling my hair out with this one, Thanks for all your help and keep up the good work.

Thanks to all @ THE LUA LANGUAGE BOARD  ; o )

PRED ( Man on a mission )

BlazeXxX

Hi there,
To get rid of "No Slots messages" while getting file list, use latest version of DCK++ , which will kick if someone gives that msg... It cn also check for bad files, fake share etc...

For auto check on login, add ur keywords in the list.. or the extensions.. e.g: .mpg or .avi kinds.. some are done already for u :)

Hope that helps!

Byezzz,
BlazeX


-- Start Copying from here
-- Simple Illegalist v0.1
-- Created by Ptaczek, Jan-3, 2003
-- Searches for specified patterns. Useful for illegal share checking

BotName = "Illegalist"

Files = {
   ["rape"]="Do not share sick porn!",
   ["preteen"]="No pre-teen here!",
   ["nazi"]="No nazi related material here!",
   [".avi"]="No AVI files here!"
}

Kicked = {}

function NewUserConnected(user)
   if( Kicked[user.sName] == 1 ) then
      Kicked[user.sName] = nil
   end
   for i,v in Files do
      user:SendData("$Search Hub:"..BotName.." F?F?0?1?"..i)
   end
end

function DataArrival(user, data)
   if( strsub(data, 1, 3) == "$SR" ) then
      _,_,nick = strfind( data, "\05(%S*)|$" )
      if( nick == BotName and Kicked[user.sName] == nil ) then
         Kicked[user.sName] = 1
         Reason = FindWhat(data)
         SendToOps(BotName, "*** User "..user.sName.." kicked. Reason: "..Reason)
         user:SendPM(BotName, "You were kicked. "..Reason)
         user:Disconnect()
      end
   end
end

function FindWhat(data)
   for i,v in Files do
      if( strfind(strlower(data), i) ) then
         return v
      end
   end
   return "Other files"
end
-- End of Copying

Jabo

Is there any way I could add this to my Robocop script by copying a paste or would that not work?

kepp

I thought robocop had that? :D
Guarding    

Jabo

Does it really....I've never noticed it!

kepp

Maybe not avi. and dll.

But, if you use robocop 4 which is compiled you are not able to
Guarding    

oblivion

just paste it in ptokax window save as Illegalist..restart scripts...bobs ya uncle ,,,done!!
.:::\'][\'  r  ?  ?  ?  ?    :: ][  ?  ?  ?  r  ?  ?  r  ?  \'][\'  ?  ?::::.    



hub address::     oblivion.servebeer.com


the hub

SMF spam blocked by CleanTalk