Re: issue command once connected IRC

2008-12-04 Thread blake askew
Fri, Dec 5, 2008 at 12:15 AM, blake askew <[EMAIL PROTECTED]> wrote: > I am trying to write a script that will connect to an IRC channel and check > if the server is a botnet c&c server. I have found several templates for > connecting to irc, but they all rely on the MOTD to c

issue command once connected IRC

2008-12-04 Thread blake askew
I am trying to write a script that will connect to an IRC channel and check if the server is a botnet c&c server. I have found several templates for connecting to irc, but they all rely on the MOTD to confirm connectivity. The problem is often botnets do not set up commands such as MOTD and LUSERS.

Re: Cannot open file to read after creation

2008-12-03 Thread blake askew
Thanks again John, I really appreciate you helping me out. I am new to perl and still reading everything I can, but your explanations cleared a few things up. On Wed, Dec 3, 2008 at 9:39 PM, John W. Krahn <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > >> >> Thanks for the help. I have ma

Re: help with subroutines and reading/writing to file

2008-12-01 Thread blake askew
, 10.10.10.1 is the ip and 80 is the port. On Sun, Nov 30, 2008 at 11:17 PM, John W. Krahn <[EMAIL PROTECTED]> wrote: > blake askew wrote: > >> I am new to perl and attempting to write a script that will do a reverse >> dns >> lookup on an ip, store this result into

help with subroutines and reading/writing to file

2008-11-30 Thread blake askew
I am new to perl and attempting to write a script that will do a reverse dns lookup on an ip, store this result into a file, then read the file in order to do a whois lookup. The whois lookup answer should also be written to a seperate file. I have the reverse dns lookup working, but when I also ca