Home page logo
/

nmap-dev logo Nmap Development mailing list archives

Re: Zenmap crashes when trying to create/edit profile.
From: Patrik Karlsson <patrik () cqure net>
Date: Wed, 26 Oct 2011 22:45:35 +0200

On Wed, Oct 26, 2011 at 12:38 PM, Mika Suomalainen <
mika.henrik.mainio () hotmail com> wrote:

Hi,

Everytime when I try to create new profile, Zenmap gives following error
and
asks to email to you.
(Ze)nmap version: Svn upped from repo less than 15 minutes ago;
% zenmap --version && nmap --version
zenmap 5.61TEST2
Nmap version 5.61TEST2 ( http://nmap.org )
Platform: i686-pc-linux-gnu
Compiled with: liblua-5.1.4 openssl-1.0.0e libpcre-8.12 libpcap-1.1.1
nmap-libdnet-1.12 ipv6
Compiled without:

Crash message:

Version: 5.61TEST2
Traceback (most recent call last):
 File
"/usr/local/lib/python2.7/dist-packages/zenmapGUI/ScriptInterface.py", line
274, in script_list_timer_callback
   callback(True, process)
 File
"/usr/local/lib/python2.7/dist-packages/zenmapGUI/ScriptInterface.py", line
283, in initial_script_list_cb
   if status and self.handle_initial_script_list_output(process):
 File
"/usr/local/lib/python2.7/dist-packages/zenmapGUI/ScriptInterface.py", line
312, in handle_initial_script_list_output
   for entry in get_script_entries(handler.scripts_dir,
handler.nselib_dir):
 File
"/usr/local/lib/python2.7/dist-packages/zenmapCore/ScriptMetadata.py", line
420, in get_script_entries
   entry = metadata.get_metadata(dbentry["filename"])
 File
"/usr/local/lib/python2.7/dist-packages/zenmapCore/ScriptMetadata.py", line
292, in get_metadata
   entry.description = self.get_string_variable(filename, "description")
 File
"/usr/local/lib/python2.7/dist-packages/zenmapCore/ScriptMetadata.py", line
320, in get_string_variable
   contents =
ScriptMetadata.get_file_contents(os.path.join(self.scripts_dir, filename))
 File
"/usr/local/lib/python2.7/dist-packages/zenmapCore/ScriptMetadata.py", line
312, in get_file_contents
   f = open(filename, "r")
IOError: [Errno 2] No such file or directory:
u'/usr/local/bin/../share/nmap/scripts/snmp-brute2.nse'


--
Mika Suomalainen
https://profiles.google.com/113787158024729598288
<http://goog_414388032><https://profiles.google.com/113787158024729598288>
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Hi Mika,

I think I might be responsible for this error, sorry.
It looks like a non-existing test script was inserted into the script
database in one of my recent commits.
You can spot it at the end of the error message.
I've update the database and committed a new version (r26937) that will
hopefully address the issue.
Please give it a try and let me know if it works or not.

Cheers,
Patrik
-- 
Patrik Karlsson
http://www.cqure.net
http://twitter.com/nevdull77
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]