system('nmap', $target);
Using the this method, the shell will be bypassed so you don't have to worry about converting the value of $target into a shell literal.
In reply to Re: Add Perl Varibles in system()
by ikegami
in thread Add Perl Varibles in system()
by ahjohnston25
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |