You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Zenmap on OS X installed by our .dmg binary package does not accept command-line options like the zenmap command on other platforms. http://seclists.org/nmap-dev/2017/q2/25
Here is the execution chain:
User runs open -a Zenmap --args -f example.xml or the equivalent /Applications/Zenmap.app/Contents/MacOS/Zenmap -f example.xml
The Zenmap executable, compiled from zenmap/install_scripts/macosx/zenmap_auth.m, runs the AppleScript command "do shell script \"/Applications/Zenmap.app/Contents/MacOS/zenmap.bin <args>\" with administrator privileges". First bug: I think the <args> are not being passed correctly here, and will probably have to be quoted or escaped or something.
The zenmap.bin shell script sets up the environment and then executes the included Python interpreter to set the real UID from the effective UID and execute the Zenmap.app/Contents/Resources/bin/zenmap Python script. Second bug: I am quite certain that no arguments are passed from the zenmap.bin invocation to the zenmap (Python) command.
The text was updated successfully, but these errors were encountered:
Zenmap on OS X installed by our .dmg binary package does not accept command-line options like the
zenmap
command on other platforms. http://seclists.org/nmap-dev/2017/q2/25Here is the execution chain:
open -a Zenmap --args -f example.xml
or the equivalent/Applications/Zenmap.app/Contents/MacOS/Zenmap -f example.xml
Zenmap
executable, compiled fromzenmap/install_scripts/macosx/zenmap_auth.m
, runs the AppleScript command"do shell script \"/Applications/Zenmap.app/Contents/MacOS/zenmap.bin <args>\" with administrator privileges"
. First bug: I think the<args>
are not being passed correctly here, and will probably have to be quoted or escaped or something.zenmap.bin
shell script sets up the environment and then executes the included Python interpreter to set the real UID from the effective UID and execute theZenmap.app/Contents/Resources/bin/zenmap
Python script. Second bug: I am quite certain that no arguments are passed from thezenmap.bin
invocation to thezenmap
(Python) command.The text was updated successfully, but these errors were encountered: