From owner-freebsd-questions@FreeBSD.ORG Mon Jan 15 07:34:44 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7F54016A40F for ; Mon, 15 Jan 2007 07:34:44 +0000 (UTC) (envelope-from linuxquest7570@yahoo.com) Received: from web59210.mail.re1.yahoo.com (web59210.mail.re1.yahoo.com [66.196.101.36]) by mx1.freebsd.org (Postfix) with SMTP id 3A65613C461 for ; Mon, 15 Jan 2007 07:34:44 +0000 (UTC) (envelope-from linuxquest7570@yahoo.com) Received: (qmail 5541 invoked by uid 60001); 15 Jan 2007 07:34:43 -0000 Message-ID: <20070115073443.5539.qmail@web59210.mail.re1.yahoo.com> DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=OhmQRnVHqfL+iNZtoM/jmZuNfyplef5zZkKG8pjqr+OVVrOTOpQ4pq5sJbMO7aeU/2H4n+u2bFtOmm9TiwWK5jfkd95ekjan6qOF59z3coyu0/W/MTv09/dZ1LkL9lDzfJ0N4Uo8Gw8HUYe6pdqoXbkKvWvtbFGOF1A9FULA+Pw=; X-YMail-OSG: wZi.eJ0VM1l7CKQnEfhVGnXsKuDIKLpxHe3ECZO8tUgtoQUPAumZAEfD2obpaqjiqPV65SlXtsGbzmMaWNj.Lzau8h3CxRn0QATMeYIdn.iLPG15cK5OtZF7Lu.yJoIBI_oojnVvLwOGiUiEl.RNsODiFOC7q73s5NezPfcRljuI Received: from [218.111.155.187] by web59210.mail.re1.yahoo.com via HTTP; Sun, 14 Jan 2007 23:34:43 PST Date: Sun, 14 Jan 2007 23:34:43 -0800 (PST) From: linux quest To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="0-1845041878-1168846483=:2080" Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Mon, 15 Jan 2007 13:17:16 +0000 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Newbie NMap in FreeBSD Question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jan 2007 07:34:44 -0000 --0-1845041878-1168846483=:2080 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Note: forwarded message attached. --------------------------------- Now that's room service! Choose from over 150,000 hotels in 45,000 destinations on Yahoo! Travel to find your fit. --0-1845041878-1168846483=:2080 Content-Type: message/rfc822 Content-Transfer-Encoding: 8bit Received: from [60.49.70.28] by web59209.mail.re1.yahoo.com via HTTP; Sat, 13 Jan 2007 08:53:18 PST Date: Sat, 13 Jan 2007 08:53:18 -0800 (PST) From: linux quest Subject: Newbie NMap in FreeBSD Question To: FreeBSD-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-343794347-1168707198=:77776" Content-Transfer-Encoding: 8bit Content-Length: 587 --0-343794347-1168707198=:77776 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Lets say, I wanted to create a Perl script to execute a very simple nmap command as listed below, may I know how do I do it? unix# nmap 192.168.1.2 I know we need to save it in .pl extension. May I know what else I need to do. I hope someone can share with me the simple coding. Thanks. Regards, Linux Quest --------------------------------- 8:00? 8:25? 8:40? Find a flick in no time with theYahoo! Search movie showtime shortcut. --0-343794347-1168707198=:77776 Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Lets say, I wanted to create a Perl script to execute a very simple nmap command as listed below, may I know how do I do it? unix# nmap 192.168.1.2 I know we need to save it in .pl extension. May I know what else I need to do. I hope someone can share with me the simple coding. Thanks. [01.gif] Regards, Linux Quest _________________________________________________________________ 8:00? 8:25? 8:40? [1]Find a flick in no time with the[2]Yahoo! Search movie showtime shortcut. References 1. http://tools.search.yahoo.com/shortcuts/?fr=oni_on_mail&#news 2. http://tools.search.yahoo.com/shortcuts/?fr=oni_on_mail&#news --0-343794347-1168707198=:77776-- --0-1845041878-1168846483=:2080--