                       _______=rIP v2.11=______
#######################                        ########################
#rIP v2.11#                                                           #
###########                                                           #
#                                                                     #
#            rIP is an mIRC script that when initiated (/rIP) causes  #
#            a loop, DNSing the specified members of a given channel  #
#            OR DNSing all non-invisible users of a specified host.   #
#            Furthermore, the internet protocol addresses are written #
#            to the supplied text file in order to be sweeplisted by  #
#            one of the Back Orifice clients. This means you take the #
#            list rIP generates, and check it with a BO Client!       #
#                                                                     #
#            RIP DOES _NOT_ CHECK FOR BO-INFECTED COMPUTERS!!!        #
#                                                                     #
#            On the otherhand, rIP _DOES_ have the feature to scan for#
#            computers infected with the Netbus server.               #
#                                                                     #
#            rIP is written for the currently latest version of mIRC  #
#                                                                     #
#                        mIRC32 v5.41 K.Mardam-Bey                    #
#                                                                     #
#            If you are having problems using rIP, check what version #
#            of mIRC you are running. If it is an older version,      #
#            update to the latest version and try again.              #
#                                                                     #
#            You will NOT recieve any help with rIP if you are running#
#            an older version of mIRC. Update, and if the problem     #
#            persists, then seek help.                                #
#                                                                     #
#######################################################################
#LOADING INTO MIRC#                                                   #
###################                                                   #
#                                                                     #
#            Load mIRC.                                               #
#                                                                     #
#            If you have used any version of rIP under 2.0, you must  #
#            first remove them. (2.0 will be written over as will any #
#            version after that) To remove old versions, in mIRC's    #
#            Status window, type:                                     #
#                                                                     #
#            /unload -rs rip.ini                                      #
#                                                                     #
#                 then type:                                          #
#                                                                     #
#            /unload -a rip.ini                                       #
#                                                                     #
#                                                                     #
#            Now it is time to load the new version.                  #
#            In mIRC's Status window, type:                           #
#                                                                     #
#            /load -rs c:\(wherever)\rIP.mrc                          #
#                                                                     #
#                                                                     #
#            rIP has successfully been loaded.                        #
#                                                                     #
#######################################################################
#USAGE#                                                               #
#######                                                               #
#                                                                     #
#            Aliases:                                                 #
#            --------                                                 #
#            /rIP                                                     #
#            /rIP+o                                                   #
#            /rIP-o                                                   #
#            /rIPscanner                                              #
#            /rIPfile                                                 #
#            /rIPfile-i                                               #
#            /rIPkill                                                 #
#            /rIPzap                                                  #
#                                                                     #
#                                                                     #
#---------------------------------------------------------------------#
#            /rIP                                                     #
#---------------------------------------------------------------------#
#                                                                     #
#            usage:                                                   #
#            /rIP [-c] [-who] [channel or host]                       #
#                                                                     #
#            -c       is an optional parameter. When used, it clears  # 
#                     the text file before writing the new IP's to it # 
#                                                                     #
#            -who     is an optional parameter. When used, it writes  #
#                     nickname!ID@host and the Date next to the IP's  #
#                     in the text file. This will NOT interfere with  #
#                     sweeplisting and pinglisting                    #
#                                                                     #
#            channel  optional parameter. The IRC channel, or host you# 
#              or     want to rIP. If you leave this blank, The active#
#             host    channel will be rIPped                          #
#                                                                     #
#                                                                     #
#            examples: (every possible combination)                   #
#                                                                     #
#            /rIP                  <--rIPs active IRC channel         #
#                                                                     #
#            /rIP -c               <--clears the text file, then rIPs #
#                                     the active channel              #
#                                                                     #
#            /rIP -c -who          <--clears the text file, then rIPs #
#                                     the active channel and adds the #
#                                     -who information to the IP text #
#                                     file as well as the IP's        #
#                                                                     #
#            /rIP #channel         <--rIPs #channel                   #
#                                                                     #
#            /rIP -c #channel      <--clears the text file, then rIPs #
#                                     #channel                        #
#                                                                     #
#            /rIP -c -who #channel <--clears the text file, then rIPs #
#                                     #channel and adds the -who      #
#                                     information to the IP text file #
#                                     as well as the IP's             #
#                                                                     #
#            /rIP *aol.com         <--rIPs all non-invisible IRC users#
#                                     with *aol.com in their host     #
#                                                                     #
#            /rIP -c *aol.com      <--clears the text file, then rIP's#
#                                     all non-invisible IRC users with#
#                                     *aol.com in their host          #
#                                                                     #
#            /rIP -c -who *aol.com <--clears the text file, then rIP's#
#                                     all non-invisible IRC users with#
#                                     *aol.com in their host, and adds#
#                                     the -who information to the IP  #
#                                     text file as well as the IP's   #
#                                                                     #
#            There is a percent complete display in the titlebar      #
#                                                                     #
#---------------------------------------------------------------------#
#            /rIP+o                                                   #
#---------------------------------------------------------------------#
#                                                                     #
#            usage:                                                   #
#            /rIP+o [-c] [-who] [channel]                             #
#                                                                     #
#            This is almost EXACTLY like /rIP.                        #
#                                                                     #
#            The purpose of this Alias is to store ONLY the IP's of   #
#            the users with Ops in a specified channel.               #
#                                                                     #
#            Obviously, this ONLY works for channels. You can NOT     #
#            specify a host for this Alias. If you attempt to use     #
#            this Alias for a host, it will NOT work.                 #
#                                                                     #
#            example:                                                 #
#                                                                     #
#            /rIP+o #bo                                               #
#                                                                     #
#---------------------------------------------------------------------#
#            /rIP-o                                                   #
#---------------------------------------------------------------------#
#                                                                     #
#            usage:                                                   #
#            /rIP-o [-c] [-who] [channel]                             #
#                                                                     #
#            This is EXACTLY like /rIP+o, but this Alias stores the   #
#            IP's of all NON-OP users of a specified channel.         #
#                                                                     #
#            example:                                                 #
#                                                                     #
#            /rIP-o #bo                                               #
#                                                                     #
#---------------------------------------------------------------------#
#            /rIPscanner                                              #
#---------------------------------------------------------------------#
#                                                                     #
#            usage:                                                   #
#            /rIPscanner [ON OFF]                                     #
#                                                                     #
#            This turns on and off the option of scanning for Netbus. #
#            If it finds a netbus server (or anything listening on    #
#            port 12345) it Auto-Deletes the password, if any. The    #
#            infected IP's are written to a seperate text file        #
#            specified using /rIPfile-i (explained below). Also, if   #
#            the -who switch was given for a /rIP, the -who           #
#            will also be written to the infected text file.          #
#                                                                     #
#            When a rIP is complete, the number of infected IP's will #
#            be displayed:                                            #
#                                                                     #
#            [rIP] Infect Count: 4                                    #
#                                                                     #
#            If /rIPscanner is set to off, a "n/a" will be put in     #
#            of the number.                                           #
#                                                                     #
#            There is a percent complete display in the titlebar      #
#                                                                     #
#---------------------------------------------------------------------#
#            /rIPfile                                                 #
#---------------------------------------------------------------------#
#                                                                     #
#            usage:                                                   #
#            /rIPfile [-box] [filename]                               #
#                                                                     #
#            -box     This is an optional parameter used to open up   #
#                     a directory listing window allowing to find     #
#                     a file.                                         #
#                                                                     #
#            This Alias is used to specify the path and filename of   #
#            the text file you want the IP's saved to. If you don't   #
#            set this before you use rIP, a directory window will     #
#            popup, and you can set it that way.                      #
#                                                                     #
#            Once the path and filename are set, rIP will save that   #
#            information so that you don't have to set it everytime   #
#            you wan't to write to the SAME file.                     #
#                                                                     #
#            This is mainly helpful if you save many sweepfiles       #
#                                                                     #
#            examples:                                                #
#                                                                     #
#            /rIPfile c:\rIP\sweepfile.txt <--Writes IP's to          #
#                                             c:\rIP\sweeplist.txt    #
#                                                                     #
#            /rIP -box                     <--Opens Directory window  #
#                                                                     #
#---------------------------------------------------------------------#
#            /rIPfile-i                                               #
#---------------------------------------------------------------------#
#                                                                     #
#            usage:                                                   #
#            /rIPfile-i [-box] [filename]                             #
#                                                                     #
#            This Alias is used to specify the path and filename of   #
#            the text file you want the infected IP's of the default  #
#            BO scan saved to.                                        #
#                                                                     #
#---------------------------------------------------------------------#
#            /rIPkill                                                 #
#---------------------------------------------------------------------#
#                                                                     #
#            usage:                                                   #
#            /rIPkill                                                 #
#                                                                     #
#            This Alias halts a running rIP process.                  #
#                                                                     #
#            This does not, on the otherhand, undo any changes made   #
#            to the sweeplist during the process before it was killed.#
#                                                                     #
#---------------------------------------------------------------------#
#            /rIPzap                                                  #
#---------------------------------------------------------------------#
#                                                                     #
#            usage:                                                   #
#            /rIPzap [-box]                                           #
#                                                                     #
#            -box     This is an optional parameter used to open up   #
#                     a directory listing window allowing to find     #
#                     a file.                                         #
#                                                                     #
#            This Alias is used to delete duplicate subnets found     #
#            in the specified file to avoid multiple scannings of the #
#            same subnet.                                             #
#                                                                     #
#            "123.123.123" and "123.123.123" are duplicate subnets.   #
#                                                                     #
#            If you are attempting to zap a very large file,          #
#            IT IS GOING TO TAKE A VERY LONG TIME. It will also       #
#            freeze mIRC so you will not be able to chat. There is NO #
#            way to speed this up. So if you are going to use this    #
#            alias, go make some coffee, and turn on the television.  #
#                                                                     #
#            You may want to disconnect from IRC before you rIPzap!   #
#            Because mIRC is frozen, it will seem like a dead         #
#            connection to the server, and the server will disconnect #
#            you. This will stop rIPzap! So DON'T complain that rIPzap#
#            disconnects you!                                         #
#                                                                     #
#            There is a percent complete display in the titlebar      #
#                                                                     #
#            examples:                                                #
#                                                                     #
#            /rIPzap c:\rIP\sweeplist.txt <--Zaps sweeplist.txt       #
#                                                                     #
#            /rIPzap -box                 <--Opens Directory Window   #
#                                                                     #
#---------------------------------------------------------------------#
#            Popup Menu                                               #
#---------------------------------------------------------------------#
#                                                                     #
#            All of these commands can be easily executed using the   #
#            Popup Menu rIP control. To use it, right click on the    #
#            nickname list in a channel. If you know the Aliases, it  #
#            is pretty self-explanatory.                              #
#                                                                     #
#######################################################################
#CREDIT#                                                              #
########                                                              #
#                                                                     #
#            rIP was written completely by jo3 (Ska_skank). There is  #
#            no association to any other script of this type.         #
#                                                                     #
#                                                                     #
#            You are welcome to distribute rIP.zip in its natural     #
#            state as long as all credit is given to the author       #
#                                                                     #
#            All questions and comments may be forwarded to:          #
#                                                                     #
#                    jo3 - Skank4ska@Rocketmail.com                   #
#                                                                     #
#                            rIP-it.home.ml.org                       #
#                                                                     #
#######################################################################
#SHOUTS OUTS#                                                         #
#############                                                         #
#                              #bo peeps                              #
#                              ---------                              #
#            DoMeR - Helped With Netbus (Ask him for help, not me)    #
#            WeThree - Only HE knows what a "back orifice" is, not me #
#            emoc - You 0wn me                                        #
#            judge - Your a lamer. Get me beer.                       #
#            Sindyll - He.is.the.only.one.who.can.talk.leet.like.this #
#            PeeOnYou - 'nuff said                                    #
#            k0nfuzd - We all love you                                #
#                                                                     #
#######################################################################
#VERSION#                                                             #
#########                                                             #
#                                                                     #
#            v0.1][rIP REALEASED!                                     #
#                                                                     #
#            v1.1][Stopped self-scanning                              #
#                 [Added status echo                                  #
#                                                                     #
#            v1.2][Added optional parameter 'pause'                   #
#                 [Added IP count display                             #
#                 [Updated DNS event                                  #
#                 [Completely stopped self-scanning                   #
#                                                                     #
#            v1.3][Fixed pause parameter                              #
#                                                                     #
#            v1.4][Added -c parameter                                 #
#                                                                     #
#            v1.5][Added -h parameter                                 #
#                 [Fixed -c parameter                                 #
#                 [Rewrote README :)                                  #
#                                                                     #
#            v1.6][Fixed bug in -h parameter                          #
#                                                                     #
#            v1.7][Removed -h parameter                               #
#                 [Removed pause parameter                            #
#                 [Added channel/host parameter                       #
#                 [Restructured entire coding                         #
#                 [Changed initiation/completion echo                 #
#                                                                     #
#            v1.8][Added rIP timer                                    #
#                 [Added Alias /rIPkill                               #
#                 [Added Alias /rIPfile                               #
#                 [Added -who parameter                               #
#                 [Added savefile auto-detect                         #
#                                                                     #
#           v1.82][Added -box switch to /rIPfile                      #
#                                                                     #
#           v1.83][Fixed host definition bug                          #
#                                                                     #
#            v1.9][Added Alias /rIP+o                                 #
#                 [Added Alias /rIP-o                                 #
#                 [Readded anti-selfscanning                          #
#                                                                     #
#           v1.92][Fixed /rIPkill bug                                 #
#                                                                     #
#            v2.0][Stopped /who echo in Status                        #
#                 [Remote turned on when initiated                    #
#                 [Added percent-complete titlebar display            #
#                 [Added /rIPzap                                      #
#                 [Added default BO scanner                           #
#                 [Added nicklist menu popup                          #
#                 [compiled code into a mrc                           #
#                                                                     #
#            v2.1][Removed defualt BO Scanner                         #
#                 [Added Netbus Scanner                               #
#                 [Netbus Server Password Auto-delete                 #
#                 [-who info also written to infectlist               #
#                 [Fixed /rIPzap to zap ANY txt file                  #
#                 [Added -box switch to /rIPzap                       #
#                 [Added to nicklist popup                            #
#                                                                     #
#           v2.11][Fixed bug in /rIPfile-i                            #
#                                                                     #
#######################################################################