Bad search checker with totalkey
 

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 search checker with totalkey

Started by Daywalker, 27 February, 2005, 19:52:45

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Daywalker

I used an old script from Hawk that we modifyed with a totalkey so we cld check what the user realy was searching for, it gave the total search string ....is it possible that some1 cld write such a script for me again?

badsearchfiles:
preteen
lolita
r@ygold
animalsex
incest
etc...

i prefer message to opchat and no autokick  :)

we want to judge that ourself  ;)
Get in the night....Walk out the day :evil:

my hubs:
****v^^v**UNITED OP\'s**v^^v****
operators-lounge.servebeer.com:412
******************************
wdp9.no-ip.info:511
nl-dc-hub-2.no-ip.org

[NL]Pur

can you post that modified script?

Daywalker

Sure no problem  :)


-- pm to ops chat of any one
-- searching for bad files
-- by ??????Hawk?????? 
-- Modded by [NL-DC]Tosty_82 & Daywalker? 
-- 28-06-2004
BadFiles = { 
["childsex"]=1, 
["childporn"]=2, 
["underage"]=3, 
["animalsex"]=4, 
["preteen"]=5,
["r@ygold"]=6, 
["lolita"]=7, 
["rape"]=8,
["incest"]=9, 
["beastiality"]=10, 
["rape"]=11,
}

function Main()
	frmHub:EnableFullData(1)
end

function DataArrival(tUser, sData)
	if tUser.bOperator == nil then
		if strsub(sData, 1, 12) == "$Search Hub:" then 
			local _,_,  sSearch = strfind(sData, "$Search Hub:%S+%s+%a%?%a%?%d+%?%d+%?(.*)|")
				for key,a in BadFiles do 
					if( strfind( strlower(sSearch), key) ) then 
						 SendPmToOps(frmHub:GetOpChatName(), "\r\n\r\nThis user is searching for Bad files Please check their share:-\r\n\r\nUsername:-\t"..tUser.sName.."\r\n\IP:-\t\t" .. tUser.sIP .. "\r\nSearched for:-\t"..key.."\r\nTotalkey:- \t".. sSearch .."\r\n\r\n" )   
					end 
				end	
		elseif strsub(sData, 1, 7) == "$Search" then 
			local _,_, sSearch = strfind(sData, "%$Search %d+%.%d+%.%d+%.%d+:%d+%s+%a%?%a%?%d+%?%d+%?(.*)|")
				for key,a in BadFiles do 
					if( strfind( strlower(sSearch), key) ) then 
						 SendPmToOps(frmHub:GetOpChatName(), "\r\n\r\nThis user is searching for Bad files Please check their share:-\r\n\r\nUsername:-\t"..tUser.sName.."\r\n\IP:-\t\t" .. tUser.sIP .. "\r\nSearched for:-\t"..key.."\r\nTotalkey:- \t".. sSearch .."\r\n\r\n" )   
					end 
				end
		end
	end
end


the end result is something like this:

This user is searching for Bad files Please check their share:-

Username:-   xxxxxxxx
IP:-      xx.x.xx.x.x
Searched for:-   rape
Totalkey:-    raped
Get in the night....Walk out the day :evil:

my hubs:
****v^^v**UNITED OP\'s**v^^v****
operators-lounge.servebeer.com:412
******************************
wdp9.no-ip.info:511
nl-dc-hub-2.no-ip.org

Daywalker

just wanted it back in attention...it worked alway fine for us  :D
Get in the night....Walk out the day :evil:

my hubs:
****v^^v**UNITED OP\'s**v^^v****
operators-lounge.servebeer.com:412
******************************
wdp9.no-ip.info:511
nl-dc-hub-2.no-ip.org

TTB

#4
Hi...

for the ppl who get also search intercepts from TTH: hashing codes, add this line:

if strsub(sSearch,1,4) ~= "TTH:" then
after line:
if (strfind(strlower(sSearch),key)) then

Don't forget to put an extra "end" in the for loop! You have to do this twice (there are 2 for-loops).

*edited* >> was lua5, now lua4
TTB

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

CaSaNoVa

Syntax ...a\Desktop\0.3.3.0.b17.05.nt.rls\scripts\badfiles.lua:21: attempt to call method `EnableFullData' (a nil value)

Madman

This one is in lua 4 click here for Lua 5 version
We suffer in silence, we lurk in the shadows, we kill in the night
Site currently down, ETA of returning online is 2099 ;p

SMF spam blocked by CleanTalk