We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0c2768 commit 3ea0b9bCopy full SHA for 3ea0b9b
nmap3/nmap3.py
@@ -263,7 +263,7 @@ def run_command(self, cmd):
263
raise (e)
264
else:
265
if 0 != sub_proc.returncode:
266
- raise NmapExecutionError(errs.decode('utf8'))
+ raise NmapExecutionError('Error during command: "' + ' '.join(cmd) + '"\n\n' + errs.decode('utf8'))
267
268
# Response is bytes so decode the output and return
269
return output.decode('utf8').strip()
0 commit comments