Nmap Development mailing list archives

OSX zenmap -f or zenmap --file Problem


From: Paul Barrett <paul () lvac com>
Date: Tue, 11 Apr 2017 09:45:22 -0700

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

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Sent through the dev mailing list
https://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/

Current thread: