static-toolbox/package/targets/nmap/run-nmap.ps1

3 lines
87 B
PowerShell

$allArgs = $PsBoundParameters.Values + $args
$env:NMAPDIR = "data"
.\nmap.exe $allArgs