1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-24 08:29:04 +00:00
Commit Graph

143 Commits

Author SHA1 Message Date
dmiller
a4dc1b8ff6 Update zenmap copyright date 2015-02-18 02:57:27 +00:00
dmiller
4a6dc88a3c Include hicolor theme when building Zenmap on Windows. http://seclists.org/nmap-dev/2015/q1/118 2015-02-17 17:52:39 +00:00
dmiller
7a32fcb9f5 Properly quote arguments to su-to-zenmap.sh
Found with http://www.shellcheck.net/

Error was: https://github.com/koalaman/shellcheck/wiki/SC2124
2015-02-13 16:31:12 +00:00
dmiller
34557315a2 Generate hi.mo 2015-02-09 22:10:02 +00:00
dmiller
6e33206fbb New Hindi translation for Zenmap (http://seclists.org/nmap-dev/2015/q1/103) 2015-02-09 22:10:00 +00:00
dmiller
c95d656bfc Generate zh.mo 2014-12-23 13:48:19 +00:00
dmiller
2421ec8933 New Chinese translation of Zenmap
http://seclists.org/nmap-dev/2014/q4/314
2014-12-23 13:48:17 +00:00
dmiller
e81f9fba12 Better way of getting locale's encoding 2014-12-09 15:27:26 +00:00
dmiller
f10513b154 Make get_formatted_date return a unicode string instead of bytes 2014-12-09 14:18:02 +00:00
henri
b18aa67c89 Regen fr.mo 2014-11-24 19:35:36 +00:00
henri
46c5461b8f Update fr.po: http://seclists.org/nmap-dev/2014/q4/259 2014-11-24 19:35:31 +00:00
dmiller
ee167e1c4d Regen de.mo, it.mo, pl.mo 2014-11-21 12:54:05 +00:00
dmiller
5bb45b5e2b Update de.po: http://seclists.org/nmap-dev/2014/q4/235 2014-11-21 12:54:02 +00:00
dmiller
df81a6b6f1 Update it.po: http://seclists.org/nmap-dev/2014/q4/230 2014-11-21 12:54:00 +00:00
dmiller
af424ee8da Update pl.po: http://seclists.org/nmap-dev/2014/q4/228 2014-11-21 12:53:58 +00:00
dmiller
ce340ba67b Fix a typo in Zenmap setup: sys.prefix, not self.prefix 2014-11-13 13:24:39 +00:00
dmiller
a03556f7c4 Update .po files 2014-10-23 15:16:52 +00:00
dmiller
7f2853788e Regen de.mo 2014-10-23 15:16:49 +00:00
dmiller
edc715fd9f Update de.po (http://seclists.org/nmap-dev/2014/q4/47) 2014-10-23 15:16:47 +00:00
dmiller
5f7f87b74b Bump version from 6.46 to 6.47SVN 2014-08-29 18:43:18 +00:00
dmiller
4603df3d0a Make py2exe include ndiff when building Zenmap 2014-08-23 04:22:17 +00:00
dmiller
699fe77571 Make make-bundle.sh change local dylib paths to relative ones 2014-08-23 04:22:16 +00:00
dmiller
ed5e0921f5 Update make-bundle.sh to reflect changes in fontconfig 2014-08-23 04:22:14 +00:00
dmiller
2251726609 Update make-bundle.sh to reflect changes in Pango 2014-08-23 04:22:12 +00:00
dmiller
6c28288c0a Update Macports instructions for zenmap 2014-08-23 04:22:10 +00:00
dmiller
b75df9d8f9 Add a test loader script for Zenmap, so tests don't fail with Python <2.7 2014-08-23 04:22:09 +00:00
dmiller
5adfb3b1de Update copyright notice to 2014 2014-08-16 01:52:33 +00:00
fyodor
f6f59a7cd7 Auto regeneration with latest template files, etc. 2014-08-13 22:57:43 +00:00
jay
1756416ec6 Further reduce Zenmap's Topology Noise 2014-08-09 17:56:29 +00:00
jay
c613586570 Reduce Zenmap's Topology noise by collapsing equivalent 'anonymous' nodes 2014-07-30 06:37:24 +00:00
jay
2b30085d90 Catch Zenmap's MemoryError (caused by large Nmap Output) and provide the user a more useful error message so that we get less of the out-of-memory "crash reports" 2014-07-01 16:53:10 +00:00
jay
9de9c77d91 Make Zenmap use SIGTERM (instead of SIGKILL) for "Cancel Scan" so that Nmap has a chance to shutdown cleanly.
However, if Nmap is still running after 5 seconds, send a SIGKILL.
2014-06-28 09:59:00 +00:00
dmiller
ec9074f718 Correct "it's" to "its" where necessary
it's = it is
its = belonging to it
2014-06-19 04:58:46 +00:00
jay
f29a494d2b Modifying r32985 based on Henri Doreau's comment
"For sequences, (strings, lists, tuples), use the fact that empty
sequences are false." PEP-0008 says[1].

[1] http://legacy.python.org/dev/peps/pep-0008/
2014-06-10 09:15:20 +00:00
jay
2274fa2461 Updated some code in zenmap/zenmapGUI/DiffCompare.py and zenmap/zenmapGUI/ScanNmapOutputPage.py to work properly with the code from r32983 2014-06-10 08:21:57 +00:00
jay
5e948636cd Speedup Zenmap a little further by using cStringIO in zenmap/zenmapCore/NmapParser.py whenever possible (using StringIO as fallback). 2014-06-09 13:35:34 +00:00
jay
28ab4a621d Rewrote some code in zenmap/zenmapCore/NmapParser.py to speed up opening of scans. Large scans open in seconds instead of hours now. 2014-06-09 06:29:20 +00:00
jay
381bf2fd23 Correct a bug in the code for NmapOutputViewer.go_to_host that was put in revision 32936.
The following steps caused the bug with the r32936 code:
    1. Start a scan (say Quick Scan for simplicity) for a certain target (say A)
    2. Wait for scan to complete
    3. Start a scan for a different target (say B).
    4. Wait for scan to complete
    5. Click on host A in the Hosts list on the left (while scan B is still visible on the right)
    6. BOOM!
2014-06-04 11:41:29 +00:00
dmiller
f51de3bc0e Make NmapOutputViewer.go_to_host more efficient
Instead of loading the entire output into a new string with
gtk.TextBuffer.get_text, we use the gtk.TextIter.forward_search method.
This works because we don't need to use regular expressions to find a
static string.
2014-06-03 17:22:20 +00:00
dmiller
2f23d996bd Prevent PyXML from importing, causing crashes
http://seclists.org/nmap-dev/2014/q2/318

Essentially, we import the xml name, then override its search path,
stripping out the _xmlplus paths that PyXML uses. This leaves only the
Python 2 standard library path, which is what Zenmap was written for.
2014-05-21 03:53:58 +00:00
dmiller
b09926a241 Fix crash in Zenmap DiffViewer
http://seclists.org/nmap-dev/2014/q2/185
2014-04-23 12:10:49 +00:00
fyodor
b23000e08e Update Nmap version number from 6.45 to 6.46 and regen docs 2014-04-18 04:36:33 +00:00
dmiller
d2009ab250 Prevent zenmapCore.NmapParser from looking up remote/system XML entities 2014-04-16 20:37:52 +00:00
david
3f3fafbbec Update MacPorts-ports.diff to remove pkgconfig dependency on libiconv. 2014-04-11 05:36:00 +00:00
fyodor
6bf513b42a Update Nmap version number from 6.41SVN to 6.45 and rebuild docs 2014-04-11 02:59:07 +00:00
dmiller
d39efbb2d8 Fix a DeprecationWarning in zenmap with python -3
DeprecationWarning: reduce() not supported in 3.x; use
functools.reduce()

functools.reduce was added in Python 2.6
2014-03-04 21:15:52 +00:00
dmiller
a72faf3906 Spellcheck on all Python files 2014-02-20 21:22:30 +00:00
dmiller
8a07146936 Define in-use-but-undefined ScriptDBSyntaxError
Subclassed SyntaxError to provide some useful info when this happens. It
was happening with unittest.nse because it wasn't part of any category.
Previously, this would crash Zenmap because ScriptDBSyntaxError was
undefined. Now it crashes because there's really a syntax error (fixed
in previous revision)
2014-01-21 22:17:16 +00:00
dmiller
55c7fb605f Improve performance of StringPool.unique
This saves a function call by using subclassing dict instead of using a
real dict. When a cache hit occurs, there is no overhead beyond a
standard dict lookup, which in most implementations is very fast. Cache
miss is similar performance to previous.

Also added a unittest for this functionality.
2014-01-15 15:37:25 +00:00
dmiller
2b2edabc80 Fix typo in Nmap XML parsing in zenmap 2014-01-14 23:18:30 +00:00