1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-09 22:21:29 +00:00
Commit Graph

47 Commits

Author SHA1 Message Date
dmiller
0c1fd3e9d9 Make all host filters case-insensitive
Also some cleanup of unused variables, other minor performance tweaks.
2012-09-13 20:24:19 +00:00
dmiller
74a750a855 Allow negative matching in Zenmap filters
nmap-dev thread: http://seclists.org/nmap-dev/2012/q3/788

Host filter and others can now take things like "os:!linux" to match
hosts without Linux OS.
2012-09-13 20:24:18 +00:00
david
f66691ee08 Remove some ancient commented SearchResult test code. 2012-09-12 21:51:48 +00:00
david
a47d68a84f Typo. 2012-09-10 23:53:54 +00:00
david
303de03813 Apple broke the link to their icons doc. 2012-09-10 23:52:20 +00:00
david
690851ba2e Make a 512×512 OS X icon for Zenmap. 2012-09-10 23:50:16 +00:00
david
94959c42e2 Use the -c option in kdesu commands.
This bug was found by Gaetan Bisson.
http://seclists.org/nmap-dev/2012/q3/592.
2012-08-19 20:11:06 +00:00
sean
b13bd155ab Updated the resolution of the zenmap.png file so that it will look better on modern desktops. 2012-08-05 19:48:15 +00:00
sean
ff9e6e52b9 Updated the windows install icons. Added new sizes and resolutions following theinstructions here http://msdn.microsoft.com/en-us/library/windows/desktop/aa511280.aspx 2012-08-02 01:30:01 +00:00
david
20742bdde0 Ignore failure of locale.getdefaultlocale.
This was reported to be a problem with the en_NG (Nigerian English)
locale by Kayode Adesina and Olisemeka Omo.

http://seclists.org/nmap-dev/2012/q2/965
http://seclists.org/nmap-dev/2012/q3/270

The underlying Python bug is this:

http://bugs.python.org/issue6895
2012-07-20 01:55:25 +00:00
david
bd526768c8 Update MacPorts-ports.diff. 2012-07-18 00:00:17 +00:00
david
feea11ed24 Catch an exception that happens while aggregating a new scan. 2012-06-21 00:56:55 +00:00
david
aca56d8f6e Handle the special case of an empty services list.
There should be better error handling here in general, but an empty
string is something that Nmap can legitimately emit.
http://seclists.org/nmap-dev/2012/q2/876
2012-06-21 00:56:54 +00:00
david
be24e6d5c4 Catch exceptions when running a sub-Nmap in the profile editor. 2012-06-19 17:10:58 +00:00
david
8e5bfd5fa7 Remove unused member. 2012-06-19 17:10:57 +00:00
david
373d00fcee Also handle subclasses of OSError when running an executable.
We checked for OSError so that we could give a useful custom error
message on ENOENT. But on Windows, it is a WindowsError, which is a
subclass of OSError.
2012-06-19 16:43:42 +00:00
fyodor
b70e4f71cf Bump the Nmap version number in SVN up to 6.02 2012-06-16 19:44:58 +00:00
sean
f3bfdaec3d Removed the copy intl.dll line from copy_and_compile as it is unneeded 2012-06-03 05:55:44 +00:00
david
a1bae1bb5f Update build instructions for MacPorts 2.1.1.
An important side effect of this change is the move the
--with-included-loaders flag from gtk2 to gdk-pixbuf2. This upstream
change:
http://git.gnome.org/browse/gtk+/commit/configure.in?h=gtk-2-24&id=cb29d2770714943af7b488a6a94f1f37b7466c8f
means that --with-included-loaders no longer has an effect when given to
gtk2's configure. This caused dynamic loaders to be searched for under
my /Users/david/macports-10.5 installation directory, which isn't
present after installing from the .dmg package.

Here's an report of a hang caused by the missing loaders:
http://seclists.org/nmap-dev/2012/q2/370
2012-05-31 07:04:39 +00:00
david
0a334c1237 Add Italian Zenmap translation by Francesco Tombolini.
http://seclists.org/nmap-dev/2012/q2/550
2012-05-30 05:07:46 +00:00
david
69ae9b17f8 Undo mailing list address mangling in ja.po. 2012-05-29 02:50:16 +00:00
david
2661b7c02e Updated and complete Japanese translation from Yuji Tounai. 2012-05-29 02:46:52 +00:00
david
a161ba5fff Update zenmap.pot. 2012-05-22 20:13:14 +00:00
david
7cd074f02e Add Japanese Zenmap translation by Yuji Tounai a.k.a. Yousuke Yamamoto. 2012-05-22 19:52:38 +00:00
jah
b47d946195 Fixed KeyError: 'osmatches', reported separately by Thomas Neumayer and Jan Reister. 2012-05-22 18:14:48 +00:00
fyodor
22c7faa94b move the svn version number up to 6.01 and rebuild 2012-05-22 09:51:42 +00:00
david
df516bc398 Fix typo when self.root is not None. 2012-05-19 19:31:10 +00:00
david
402960a2a7 Friendlier error message when Zenmap modules can't be imported. 2012-05-18 16:41:37 +00:00
david
0283d41798 Replace INSTALL_LIB on installation.
This restores code removed in r28342, which rewrites sys.path to include
the directory in which the Zenmap modules are installed. This is needed
to run the program without changes to PYTHONPATH when the installation
directory is not among the Python interpreter's default search paths.
(/usr/local/lib/python2.7/site-packages/ or a user's home directory are
common cases.) A difference is that now we make sure that the directory
we are adding is not writable by any other users, to avoid installation
mistakes like Debian bug #663217.
2012-05-18 16:34:40 +00:00
david
263f57e87b Placeholder for sys.path augmentation. 2012-05-18 16:34:39 +00:00
david
a177d86601 add is_secure_dir function. 2012-05-18 16:34:38 +00:00
david
c5cf1ab6e2 ru.po typo correction from Dmytro Soloviov. 2012-05-13 09:04:30 +00:00
david
9dbfcba8d2 extrainfo shouldn't be a <special field>. 2012-05-05 18:02:45 +00:00
david
ec027e9085 Let get_best_osmatch keep the original XML ordering.
Ties in accuracy are broken by osmatches' relative position in the XML
file, because Nmap writes results in descending accuracy order.
2012-05-05 18:02:43 +00:00
david
cac71422e8 Make osclasses a substructure of osmatch. 2012-05-05 18:02:41 +00:00
david
be2e413914 Don't crash in the profile editor when script.db is missing. 2012-03-30 07:17:50 +00:00
david
9c8ff6b3d2 Fix the "Copy" button on the crash report dialog.
This was noticed by Daniel Miller.
2012-03-30 07:13:39 +00:00
david
ce11ecb708 Deduplicate scan names in the diff window.
This is based on an idea from jah in
http://seclists.org/nmap-dev/2012/q1/655. Make ScanChooser and
DiffWindow take a flat list of scans, not a dict of names → scans, and
centralize the deduplication in ScanChooser.add_scan.
2012-03-30 06:54:17 +00:00
david
fc6492c9cb Don't add install_lib to sys.path in setup.py.
Remove the code from setup.py which augments the module search path with
install directories such as /usr/local/lib/python2.7/dist-packages/
because doing so is unnecessary, and can also be a potential security
risk if distributors do the initial install in world writeable
directories such as /tmp and then copy the resultant zenmap to
non-writeable dirs for installation on other systems.
2012-03-27 02:14:22 +00:00
fyodor
426a8f03d2 Update version number for 5.61TEST5 release 2012-03-09 02:17:53 +00:00
fyodor
684f42c4ad One more adjustment to the license text. Notes that Zenmap, Ncat, and Nping use this license. Note that contributions made directly in the src repository are treated the same as those in the mailing list. 2012-03-01 06:53:35 +00:00
fyodor
e96a7b7b24 Update the headers for each code file. This updates code copyright dates to 2012, notes the awesome NSE in the list of technology, and slightly rewords the derivative works clarification 2012-03-01 06:32:23 +00:00
jah
a701846023 Corrected a directory separator in the command to move intl.dll. 2012-02-24 20:28:17 +00:00
fyodor
c5effdfb4f Update the Nmap version number to 5.61TEST4 2012-01-02 00:45:04 +00:00
david
023576fc54 Disable the topology tab when there are many hosts. 2011-12-22 19:41:42 +00:00
david
cc4812bac3 Add a training semicolon to categories in .desktop files.
This was contributed by Frederik Schwarzer and avoids this warning:

kbuildsycoca4(21865) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/zenmap.desktop" is not compliant with XDG standard (missing trailing semicolon).
2011-12-12 09:05:48 +00:00
david
ed2ba4e168 Copy nping, nsock, nbase, zenmap, ncat from their homes in /.
If you have trouble updating after this revision you need to follow
these instructions. You have probably just seen an error like this:

svn: URL 'svn://svn.insecure.org/nping' of existing directory 'nping'
does not match expected URL 'svn://svn.insecure.org/nmap/nping'

This is caused by the replacement of SVN externals.

Here's what you need to do. First, save any local changes you might have
in the nping, nsock, nbase, ncat, and zenmap directories. (For example
by running "cd nping; svn diff > ../nping.diff".) If you don't have any
local changes you can skip this step.

Then run these commands:

rm -rf nping/ nsock/ nbase/ ncat/ zenmap/
svn update
svn cleanup

If all else fails, you can just delete your whole working directory and
check out anew:

svn co --username guest --password "" svn://svn.insecure.org/nmap

There may be further discussion in the mailing list thread at
http://seclists.org/nmap-dev/2011/q4/303.
2011-11-16 21:49:44 +00:00