-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Description
Version: 7.95
Traceback (most recent call last):
File "C:\Program Files (x86)\Nmap\zenmap\lib\python3.11\site-packages\zenmapGUI\MainWindow.py", line 629, in _save_scan_results_cb
self._save(self.scan_interface, filename, selected, format)
File "C:\Program Files (x86)\Nmap\zenmap\lib\python3.11\site-packages\zenmapGUI\MainWindow.py", line 711, in _save
scan_interface.inventory.save_to_file(
File "C:\Program Files (x86)\Nmap\zenmap\lib\python3.11\site-packages\zenmapCore\NetworkInventory.py", line 291, in save_to_file
self.get_scans()[index].write_xml(f)
File "C:\Program Files (x86)\Nmap\zenmap\lib\python3.11\site-packages\zenmapCore\NmapParser.py", line 1020, in write_xml
self._write_hosts(writer)
File "C:\Program Files (x86)\Nmap\zenmap\lib\python3.11\site-packages\zenmapCore\NmapParser.py", line 1101, in _write_hosts
writer.startElement("address",
File "../lib/python3.11/xml/sax/saxutils.py", line 170, in startElement
File "../lib/python3.11/encodings/cp1252.py", line 19, in encode
UnicodeEncodeError: 'charmap' codec can't encode character '\x8c' in position 37: character maps to
Describe the bug
Ran quickscan and quickscan plus - attempting to save XML
To Reproduce
Scanning layer2 network range - can't save XML
Expected behavior
XML file should save to Desktop/Documents/etc ...can't save anywhere
Version info (please complete the following information):
- OS: Win11 23H2
PS C:\Users\jrobinson> nmap --version
Nmap version 7.95 ( https://nmap.org )
Platform: i686-pc-windows-windows
Compiled with: nmap-liblua-5.4.6 openssl-3.0.13 nmap-libssh2-1.11.0 nmap-libz-1.3.1 nmap-libpcre2-10.43 Npcap-1.79 nmap-libdnet-1.12 ipv6
Compiled without:
Available nsock engines: iocp poll select