diff --git a/nmap-replace-sensitive-words.patch b/nmap-replace-sensitive-words.patch new file mode 100644 index 0000000..8a7bb3f --- /dev/null +++ b/nmap-replace-sensitive-words.patch @@ -0,0 +1,42 @@ +diff -Nur nmap-7.80.old/nselib/data/enterprise_numbers.txt nmap-7.80/nselib/data/enterprise_numbers.txt +--- nmap-7.80.old/nselib/data/enterprise_numbers.txt 2020-05-28 16:49:01.240000000 +0800 ++++ nmap-7.80/nselib/data/enterprise_numbers.txt 2020-05-28 16:48:00.304000000 +0800 +@@ -24382,7 +24382,7 @@ + 24512 Beijing Hugeland Technologies co.,Ltd. + 24513 Finnish Game and Fisheries Research Institute + 24514 Rivulet Communications, Inc. +-24515 ROC Software Systems, Inc. ++24515 Software Systems, Inc. + 24516 Conair Corporation + 24517 LTIA + 24518 Great-West Life & Annuity Insurance Company +@@ -34154,7 +34154,7 @@ + 34284 Elisa Oyj + 34285 S.C. DigiSign S.A. + 34286 Feusi Bildungszentrum AG +-34287 Raiffeisen Bank Kosovo JSC ++34287 Raiffeisen Bank JSC + 34288 Centralna banka Crne Gore + 34289 IRE Rayos X S.A. + 34290 RS2i +@@ -40456,7 +40456,7 @@ + 40586 Rocky Mountain College + 40587 Neptec OS, Inc. + 40588 TrikeApps Pty Ltd +-40589 Indochina Telecommunication Technology JSC (ITT) ++40589 Telecommunication Technology JSC (ITT) + 40590 ClickBridge Inc + 40591 Avateq Corp. + 40592 IDK CORPORATION +diff -Nur nmap-7.80.old/scripts/ip-geolocation-maxmind.nse nmap-7.80/scripts/ip-geolocation-maxmind.nse +--- nmap-7.80.old/scripts/ip-geolocation-maxmind.nse 2020-05-28 16:49:01.176000000 +0800 ++++ nmap-7.80/scripts/ip-geolocation-maxmind.nse 2020-05-28 16:48:00.252000000 +0800 +@@ -365,7 +365,7 @@ + "Chile", "Cameroon", "China", "Colombia", "Costa Rica", "Cuba", "Cape Verde", + "Christmas Island", "Cyprus", "Czech Republic", "Germany", "Djibouti", + "Denmark", "Dominica", "Dominican Republic", "Algeria", "Ecuador", "Estonia", +- "Egypt", "Western Sahara", "Eritrea", "Spain", "Ethiopia", "Finland", "Fiji", ++ "Egypt", " ", "Eritrea", "Spain", "Ethiopia", "Finland", "Fiji", + "Falkland Islands (Malvinas)", "Micronesia, Federated States of", "Faroe Islands", + "France", "France, Metropolitan", "Gabon", "United Kingdom", + "Grenada", "Georgia", "French Guiana", "Ghana", "Gibraltar", "Greenland", diff --git a/nmap.spec b/nmap.spec index 0aeff71..3dd402d 100644 --- a/nmap.spec +++ b/nmap.spec @@ -3,7 +3,7 @@ Name: nmap Epoch: 2 Version: 7.92 -Release: 2 +Release: 3 License: Nmap Summary: A tool for network discovery and security auditing. Requires: %{name}-ncat = %{epoch}:%{version}-%{release} @@ -18,6 +18,7 @@ Provides: nmap-frontend nmap-ndiff nmap-ncat nc nc6 Patch0001: backport-nmap-4.03-mktemp.patch Patch0002: backport-nmap_resolve_config.patch +Patch0003: nmap-replace-sensitive-words.patch %define pixmap_srcdir zenmap/share/pixmaps @@ -65,6 +66,12 @@ ln -s ncat %{buildroot}%{_bindir}/nc %{_mandir}/man1/*.1.gz %changelog +* Fir Jun 17 2022 gaihuiying - 2:7.92-3 +- Type:bugfix +- CVE: +- SUG:NA +- DESC:replace sensitive words + * Tue Feb 08 2022 xinghe - 2:7.92-2 - Type:bugfix - ID:NA