Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

case errors when edit profile #2837

Open
wuyfltzh opened this issue May 11, 2024 · 0 comments
Open

case errors when edit profile #2837

wuyfltzh opened this issue May 11, 2024 · 0 comments
Labels

Comments

@wuyfltzh
Copy link

NOTE: Npcap issues have moved to the Npcap repository

NOTE: Ncrack issues have moved to the Ncrack repository

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior, including command-line options.

Expected behavior
A clear and concise description of what you expected to happen.

Version info (please complete the following information):

  • OS: [e.g. Linux 4.15, Windows 10 1909]
  • Output of nmap --version:
  • Version: 7.95
  • Output of nmap --iflist

Additional context
Add any other context about the problem here, such as special network type.
Version: 7.95
Traceback (most recent call last):
File "F:\Program Files (x86)\Nmap\zenmap\lib\python3.11\site-packages\zenmapGUI\ScriptInterface.py", line 262, in script_list_timer_callback
callback(True, process)
File "F:\Program Files (x86)\Nmap\zenmap\lib\python3.11\site-packages\zenmapGUI\ScriptInterface.py", line 271, in initial_script_list_cb
if status and self.handle_initial_script_list_output(process):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Program Files (x86)\Nmap\zenmap\lib\python3.11\site-packages\zenmapGUI\ScriptInterface.py", line 302, in handle_initial_script_list_output
for entry in get_script_entries(
^^^^^^^^^^^^^^^^^^^
File "F:\Program Files (x86)\Nmap\zenmap\lib\python3.11\site-packages\zenmapCore\ScriptMetadata.py", line 424, in get_script_entries
metadata = ScriptMetadata(scripts_dir, nselib_dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Program Files (x86)\Nmap\zenmap\lib\python3.11\site-packages\zenmapCore\ScriptMetadata.py", line 287, in init
self.construct_library_arguments()
File "F:\Program Files (x86)\Nmap\zenmap\lib\python3.11\site-packages\zenmapCore\ScriptMetadata.py", line 417, in construct_library_arguments
self.library_arguments[libname] = self.get_script_args(filepath)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Program Files (x86)\Nmap\zenmap\lib\python3.11\site-packages\zenmapCore\ScriptMetadata.py", line 363, in get_script_args
args = ScriptMetadata.get_script_args_from_file(f)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Program Files (x86)\Nmap\zenmap\lib\python3.11\site-packages\zenmapCore\ScriptMetadata.py", line 371, in get_script_args_from_file
for tag_name, tag_text in nsedoc_tags_iter(f):
File "F:\Program Files (x86)\Nmap\zenmap\lib\python3.11\site-packages\zenmapCore\ScriptMetadata.py", line 233, in nsedoc_tags_iter
for line in f:
File "", line 322, in decode
UnicodeDecodeError: 'mbcs' codec can't decode byte 0x93 in position 5665: No mapping for the Unicode character exists in the target code page.

@wuyfltzh wuyfltzh added the Nmap label May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant