Looking for a ban by hostname script
 

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

Looking for a ban by hostname script

Started by Nemesis, 17 May, 2004, 12:29:59

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Nemesis

Pretty new to this so please bear with me, we are looking for a script which will do 3 things to help us keep a couple of undesirables out of our hub. As users can change their nick and ip addresses we was wondering if there is a script which will
1.get users hostname - say !getuserhost
2. ban by hostname - say !banhost
3. keep a record of hostbans which we can call up say - !gethostlog
If poss these commands would be for op and owner but with the option of taking op out if they abuse it ??
hope this aint too much for you experts out there. as i say above im pretty new to scripts so any sugesstions welcome. thnx  :rolleyes:
We all have a photographic memory.. just some of us forget to put the film in...  

plop

on nearly every isp the hostname is linked 2 the ip, so if a user changes ip the hostname also changes.
and 2 make mathers worse, you can't get the hostname on every1.

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

Corayzon

does ptokax have a hostname linkup or do we need to write the socket connection and handle the dns server ourselfs?

also, is there any nice examples on scoket scripting in lua5?

i know ill prob get 'use the search, it does work' but have no time to look round

thankz in advance to plops

:: polp ::

plop

was something like toHostName(ip), but i can't find the exact spelling anymore.
doing it yourself won't help much as it has the same result.
i'm 1 of the ppl who has blocked the posiblilety for hostname lookup's.
with some work arounds it's posible 2 get it some info but it's not wise 2 do it on ptokax, takes a couple webpages 2 get it.

for lua 5.0 there is a library called luasockets, but using that on bcdc can crash it sooner or later.

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

Corayzon

hmmm...

to bad ptokax is runnin lua 4! =[

u can use _VERSION to check it

SMF spam blocked by CleanTalk