Since nmap needs to run as root I keep getting permission problems. Is there an easy way around this? Thanks#!/usr/bin/perl use strict; my $output = `/usr/bin/nmap -sU -p 2300,6500 $ENV{'REMOTE_ADDR'}`; print "Content-type: text/html\n\n"; print $output;
In reply to Capturing the output of nmap from within a Perl script by spaceout
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |