Netbus Kick v1.0 © 1999 Iain Simpson Disclaimer: I make no guarantee that this script will function properly for you, and your setup. I works for me, and if it damages your computer, don't blame me. Use it at your own risk. The only guarantee that I make is that I have not put any backdoors in my code. If you find that anything suspect it happening while you are running this script, please let me know, and send the script that you are using, along with details of the suspicious behaviour. The version on Aminet should be safe, but if you are in doubt, let me know and I will send you a copy directly. Distribution: This script is freely distributable in its ORIGINAL form, if you alter this script, please send me a copy of what you have done, but please do not distribute the altered script without permission from me. Unlike authors of some scripts, I do not ask that you OP me wherever this script is used, all I do ask is that you send me an email, saying that the script works fine, is full of bugs, of no use to you, etc... Also I would appreciate any suggestions for improvements other than those mentioned below. Requirements: rxsocket.library by Alfonso Ranieri (Aminet) AmIRC by Oliver Wanger (Demo on Aminet) As far as I am aware these are the only requirements, but if I have used any functions from another external library, and the script fails to work, and rexx says that it can't find a certain function, send me the output that you get, and I will look into it. This script should work with most TCP stacks, if it doesn't tell me! Installation: Just copy the script wherever you like, and type this into a cli: cd rx netbuskick Or you can simply double click the icon from Workbench. Make sure that RexxMast is running! the script will not work if you have already blocked the netbus port (12345), so you need to set your TCP stack to allow accesses, but still to log them, since this script will not write to the syslog. About the Author: Send bug reports, comments, suggestions, etc... to the following address: iain@invbk.free-online.co.uk Or I can be found on IRC at the following channels: #AmIRC on Xnet (irc.xnet.org) #radio1 on Xnet (irc.xnet.org) #AmIRC is just starting out just now, so there will probably be nobody there but still go there 'cos it'll never get started otherwise ;) I go under the nick of MadSci Future: 1. Extend the script for nuke, BO, etc... (please send details of ports etc...) 2. Check to see if you have OPs 3. Ban people who repeatedly try to connect. (The script has the ability to set bans but it is turned off at the moment :P ) 4. Make the script communicate with more than 1 copy of AmIRC, currently only communicates with AMIRC.1 5. Fix any bugs that you all find, provided there are any ;) Suggestions? History: Pre-v0.6 A collection of functions, not really useful yet. v0.6 Buggy, used /who function of AmIRC, not reliable. v0.7 Works fine, but needs Sniffy (by Alfonso Ranieri), decided not to release yet. v0.8 Problems getting the script to get the IP ( thanks to Alfonso Ranieri for his help :) ) v0.9 Works without Sniffy, therefore no longer needs Miami. Made up of 3 different scripts. v1.0 First Public Release, all the code is now in a single file. How the script works: The script opens a socket which listens to the netbus port. When a connection is made, the script gets the IP of the netbusser, and checks all the nicks on IRC to see if they match. The script then attempts to kick the matching nicks, (currently doesnt check to see it you have OPs or not) so you will get an error saying that you aren't a channel operator unless you have OPs, or are an IRCOP. The script also puts out a public message telling the person that they have been discovered. If you have any questions that are not answered here, feel free to ask me ;)