You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am automating zenmap scan through power automate for desktop and save the scan as xml file. During execution of power automate script, zenmap crashes. nmapscript.txt
To Reproduce
1.Install zenmap application for Windows
2.Open power automate for desktop
3.Create a new flow with name 'nmapflow'
4.Copy paste the command in the file 'nmapscript.txt'
5.Make sure you change the folder path to save file accordingly for your setup
6.save and run the flow
7.At step 10, in the script you get a notification zenmap parsing error and zenmap crashes
8. The same zenmap command works fine when I do it manually: "nmap -p- -sS -T4 -A -v Monitor.codefusion.com -oX "C:\Users\Nirojan\OneDrive\Desktop\Tharani\Codefusion\nmap_scan\power_automate\monitornmapcheck\monitorcodefusion.xml"
Expected behavior
Zenmap should succesfully save the output in xml format without crash
Version info (please complete the following information):
OS: Windows 11 Pro
Zenmap version 7.95
Output of 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
Additional context
Stack trace
Traceback (most recent call last):
File "C:\Program Files (x86)\Nmap\zenmap\lib\python3.11\site-packages\zenmapGUI\ScanInterface.py", line 552, in verify_execution
self.load_from_command(scan)
File "C:\Program Files (x86)\Nmap\zenmap\lib\python3.11\site-packages\zenmapGUI\ScanInterface.py", line 608, in load_from_command
parsed.nmap_output = command.get_output()
^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files (x86)\Nmap\zenmap\lib\python3.11\site-packages\zenmapCore\NmapCommand.py", line 261, in get_output
self.stdout_file.seek(0)
File "../lib/python3.11/tempfile.py", line 500, in func_wrapper
ValueError: I/O operation on closed file.
The text was updated successfully, but these errors were encountered:
Describe the bug
I am automating zenmap scan through power automate for desktop and save the scan as xml file. During execution of power automate script, zenmap crashes.
nmapscript.txt
To Reproduce
1.Install zenmap application for Windows
2.Open power automate for desktop
3.Create a new flow with name 'nmapflow'
4.Copy paste the command in the file 'nmapscript.txt'
5.Make sure you change the folder path to save file accordingly for your setup
6.save and run the flow
7.At step 10, in the script you get a notification zenmap parsing error and zenmap crashes
8. The same zenmap command works fine when I do it manually: "nmap -p- -sS -T4 -A -v Monitor.codefusion.com -oX "C:\Users\Nirojan\OneDrive\Desktop\Tharani\Codefusion\nmap_scan\power_automate\monitornmapcheck\monitorcodefusion.xml"
Expected behavior
Zenmap should succesfully save the output in xml format without crash
Version info (please complete the following information):
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
Additional context
Stack trace
Traceback (most recent call last):
File "C:\Program Files (x86)\Nmap\zenmap\lib\python3.11\site-packages\zenmapGUI\ScanInterface.py", line 552, in verify_execution
self.load_from_command(scan)
File "C:\Program Files (x86)\Nmap\zenmap\lib\python3.11\site-packages\zenmapGUI\ScanInterface.py", line 608, in load_from_command
parsed.nmap_output = command.get_output()
^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files (x86)\Nmap\zenmap\lib\python3.11\site-packages\zenmapCore\NmapCommand.py", line 261, in get_output
self.stdout_file.seek(0)
File "../lib/python3.11/tempfile.py", line 500, in func_wrapper
ValueError: I/O operation on closed file.
The text was updated successfully, but these errors were encountered: