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

94 Commits

Author SHA1 Message Date
dmiller
edeed3dc65 Zenmap dark mode. Fixes #2358 2025-04-17 04:21:21 +00:00
dmiller
49c25e6431 Zenmap: Ensure files are opened with UTF-8 encoding 2025-03-04 17:06:32 +00:00
dmiller
6db5c9cb85 Bump copyright date 2025-02-26 17:44:43 +00:00
dmiller
b6e67f834c Fix #2854: crash if Ndiff exits with error status 2024-05-28 19:30:06 +00:00
dmiller
db9a5801d0 Fix check for os.add_dll_directory 2024-04-09 17:34:01 +00:00
dmiller
dbedc5838b Fixes for Windows Zenmap build 2024-04-01 22:32:49 +00:00
dmiller
f999182d0f Bump date and reapply header templates 2024-02-28 18:46:45 +00:00
dmiller
a182e963b9 Zenmap bugs go to Github, not dev@nmap.org 2024-01-29 22:29:10 +00:00
dmiller
d4ee92478e Update calls to gtk.TextBuffer.get_text to include all args. Fixes #2739. Closes #2740. 2024-01-29 18:31:37 +00:00
dmiller
6f6b2de214 Apply new license templates, bump copyright date 2023-04-14 17:11:46 +00:00
dmiller
5fd12db129 Remove unneeded use of deprecated imp module 2023-03-17 16:51:38 +00:00
dmiller
4a41125fbc Fix DeprecationWarnings about string escapes in regex 2023-02-03 23:12:45 +00:00
dmiller
7162b00788 Un-localize things like 'IPv4', 'PDF', etc. 2023-01-31 23:06:30 +00:00
dmiller
9e4d6f5f5c Fix encoding issues related to Python 3 upgrade.
Python 3 str() is a unicode already, so can't be decoded.
subprocess.Popen needs to be in text mode (universal_newlines is the
oldest compatible kwarg for this) in order to do line-based buffering.
In general, all the filesystem encoding stuff we were doing is done by
Python itself now.
2022-12-07 20:34:07 +00:00
dmiller
24b26317c7 Merge #2088: Update Zenmap to Python 3 and PyGObject
Note: Ndiff build will be broken until subsequent changes are made.
Deprecation warnings will need to be addressed in future changes.
Closes #2088
2022-12-07 20:34:03 +00:00
dmiller
dd690b3e0b Bump copyright date and update some links [ci skip] 2022-02-18 17:38:46 +00:00
fyodor
3aec3f3a07 Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
dmiller
82be54a353 Convert exception to string first; Fixes #2157 2020-11-01 03:24:17 +00:00
dmiller
e3262d33d6 Fix crash due to missing import. Fixes #2148 2020-10-08 19:28:32 +00:00
dmiller
ef8213a36c Reintegrate Nmap 7.90 release branch 2020-10-05 23:00:30 +00:00
dmiller
ef52628bbc Remove unused variable. #1834 2020-01-01 23:04:52 +00:00
dmiller
c89035b6dd Avoid 'import *' where __all__ not defined. #1834 2019-12-30 15:54:34 +00:00
dmiller
d75e255113 Avoid handling BaseException, so SysExit and KeyboardInterrupt are propagated. #1834 2019-12-30 06:46:36 +00:00
dmiller
02212559d2 Delete unused variables and unreachable statements. #1834 2019-12-30 06:46:33 +00:00
dmiller
33aca7c8f5 Avoid using for/else when loop doesn't break. #1834 2019-12-30 06:46:32 +00:00
dmiller
d3267a93c4 Fix a crash, config_parser referenced before assignment. 2019-12-30 05:05:39 +00:00
dmiller
085cd7fd34 Suppress unused import LGTM.com alert for I18N
I18N installs the `_` function into the builtin namespace, so it looks
like it's unused when it's not. #1834
2019-12-30 00:53:25 +00:00
dmiller
92270f313e Fix some 'import *' messiness. #1834 2019-12-29 19:56:26 +00:00
dmiller
2a0c1eca5c Remove unused variables. #1834 2019-12-29 19:28:56 +00:00
dmiller
fa7cdb2c9f Remove unneeded delete (var goes out of scope). #1834 2019-12-29 15:57:31 +00:00
dmiller
92bf83aaba Remove unused imports 2019-12-28 02:42:14 +00:00
dmiller
162aa15d25 Delete unreferenced file. 2019-12-20 19:37:40 +00:00
dmiller
6a971163ac Fix calls to super from old-style classes. 2019-12-20 19:36:48 +00:00
dmiller
d0c61b9cbb Avoid DeprecationWarning due to accessing BaseException.message 2019-12-19 05:25:21 +00:00
dmiller
260fa12cce Fix up some unused test code to silence LGTM. See #1834 2019-12-16 05:55:46 +00:00
dmiller
fa0353badd Fix 'Missing call to __init__ during object initialization' from LGTM. See #1834 2019-12-16 05:55:45 +00:00
dmiller
ff61845ce2 Avoid encoding errors in exception handler. See #1839 2019-12-10 20:51:56 +00:00
dmiller
d639a53088 Bump copyright date in license headers 2019-05-28 21:36:04 +00:00
dmiller
bff7dcad4e Avoid crashing when PATH contains non-ascii/utf-8. Decode if possible 2018-11-15 16:23:32 +00:00
dmiller
adfc39f4f3 Fix crash when using dir: operator 2018-11-15 05:03:46 +00:00
dmiller
f45da78f5b Catch a file error when saving recent scans. Fixes #1177 2018-04-09 16:17:09 +00:00
fyodor
ff62300249 Bump copyright dates to 2018 and slightly improve wording (doesn't change meaning) of Nmap license header text 2018-01-28 21:18:17 +00:00
dmiller
9c7ea727a7 Update license terms for 2017 2017-06-07 12:32:38 +00:00
dmiller
4a42504cc2 Fix a crash with non-ascii paths. Fixes #638 2017-02-05 05:56:20 +00:00
dmiller
7760fdf7b4 Zenmap: catch error when no temp directory is found. Fixes #639. Closes #640. Closes #641 2017-01-12 14:53:06 +00:00
dmiller
cb8904ebae Update license headers 2016-12-29 17:18:02 +00:00
dmiller
20de140ae6 Fix file permissions again for zenmap.conf. Handle it in one place only. 2016-10-17 16:14:58 +00:00
dmiller
fd37e977c9 Avoid crashing if we can't write to zenmap.conf. Fixes #449 2016-08-31 15:21:23 +00:00
vincent
d0774e7ed5 Closes #342 by thebinarymutant: Fix semantic for python3 2016-07-01 10:37:25 +00:00
dmiller
6e33d6ac3c Bump date in copyright headers 2016-04-04 15:38:44 +00:00