Julie and I ended up going to Coronado to celebrate a special event by taking a Gondola ride and going out to the Primavera restaurant. Outside the restaurant I took a snapshot of the street and I think it just turned out great!
Posted in General | Tagged san diego |
You can run a nmap scan and have the parser parse the information automagically. The only constraint is that you cannot use ‘-oX’, ‘-oN’, or ‘-oG’ as one of your arguments for nmap command line parameters passed to parsescan().
use Nmap::Parser;
my $np = new Nmap::Parser;
my @hosts = @ARGV; #get hosts from cmd [...]
This is probably the easiest way to write a script with using Nmap::Parser, if you don’t need the general scan session information. During the parsing process, the parser will obtain information of every host. The callback function (in this case ‘booyah()’) is called after the parsing of every host (sequentially). When the callback returns, the [...]
Called in rc.local or custom wireless networking scripts, dhcphosts.pl generates an /etc/hosts file for a host on a DHCP network, allowing the use of hostnames regardless of given IP addresses. The code can also be found at http://dual.home.comcast.net/perl/dhcphosts.txt
#!/usr/bin/perl
# dhcphosts.pl – by dual
#
# Generates an /etc/hosts file for a
# box on a DHCP network
#
# – [...]