diff options
Diffstat (limited to 'autoscan/tests/spoofbin/nmap')
-rwxr-xr-x | autoscan/tests/spoofbin/nmap | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/autoscan/tests/spoofbin/nmap b/autoscan/tests/spoofbin/nmap new file mode 100755 index 0000000..50bfb50 --- /dev/null +++ b/autoscan/tests/spoofbin/nmap @@ -0,0 +1,16 @@ +#!/bin/sh + +oa="" +while true; do + case $1 in + -oA) oa=$2; shift ;; + *) shift ;; + esac + [[ $# -eq 1 ]] && break +done + +if [ X"$oa" != X"" ]; then + touch $oa/localnet.xml + touch $oa/localnet.gnmap + touch $oa/localnet.nmap +fi |