OSX zenmap -f or zenmap --file Problem

Paul Barrett <[email protected]>
Newsgroups gmane.comp.security.nmap.devel
Message-ID <[email protected]>
Platform: OSX Yosemite, Python Version: 2.7.11

I have multiple nmap output xml files in a  directory and was trying to
iterate through them for firewall compliance checking. The following
also fails to open any files I get blank/empty zenmap instances.

for f in WS*.x.xml;do sudo
/Applications/Zenmap.app/Contents/MacOS/Zenmap -f $f;done

The following reports error or opens Zenmap but doesn't load file.
Example error output -v makes no difference. Its almost like the options
are not being parsed at all.
sudo /Applications/Zenmap.app/Contents/MacOS/Zenmap  --file=WS10.10.10.x.xml
2017-04-11 08:58:25.048 Zenmap[63730:5144935]
/Applications/Zenmap.app/Contents/MacOS/zenmap.bin
2017-04-11 08:58:25.112 Zenmap[63730:5144935] failure!
2017-04-11 08:58:25.113 Zenmap[63730:5144935] total failure!


I tried to follow the sourcecode for the app.py and the
zenmapcore/umitoptparser.py but unfortunately I don't see the problem
and my python fu is not good enough yet.

-- 
Sincerely,

Paul J Barrett

_______________________________________________
Sent through the dev mailing list
https://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/
signature.asc (application/pgp-signature, 801 B)
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCAAGBQJY7QgjAAoJEMQhtIfImWf2/xYP/jgMsTihGDoozVDB84UwFXFg
XxZZPnl2TD4E9Bs0nNcJalsdyQVLvEhy2l50ae6Zhl0M6EiYwpu/ravap5KWEWYx
+G4a+Ew3MMh/yE1COSr08dLY/hB/lTwNR+i53mqRdLaSecVFJWyp5NhhAH6ptHJ4
iCtyT6V3EKvqiw+XvTVomeGkThpWbMBHCCWgQ5Rn0R/z3kz8Cblk0LMM92pEzLIc
GsxaSH7icFVp97Ii2OoN9iirYPNpsnuRFqT5rVrOH5gIw4DNVT4OK805YZkZhuUo
sArdvjrxbvP1sWWUDkqu3Xb0KLE1AAeF9EqgFf+4w0d7C9jSGxOHwpA46V9ra6HP
DlpkU8xmnru6op9bApv8g1LDZiUaQKl+FaP0tJPPUo9oMMX6S8Ovjztf50WPQFC9
f5voxOeh0KWSLLDb3TDzpsWMfG6KHhFkSaEuPJX+XfYnnksGezJu922cKV2szNme
aB3CsNvuBfdgp+8fNrumMDgG/+nFhLmWq/AF49vShPzcOUcibIAKxKvHqSaGbtEs
dj7s+GMV5cdqwNVCrLl8KClX58ScLfEzmQtNvcVkLyZrBSQ0pfTzGtnGfuLvMDFQ
XtIatCbJgCBQEf6c3Fty0O/YK/l1as+teSQfwkS94HVSKMQvcl7kMRQSb9IVniXJ
I2XVtC5UuLAK9Mz0wVhX
=cBNx
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.