Skip to content

Commit 4ae26b8

Browse files
authored
Merge pull request #776 from zeroSteiner/fix/met/py-v2.5
Fix a SyntaxError in Python 2.5
2 parents a604179 + 310e8ea commit 4ae26b8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

python/meterpreter/ext_server_stdapi.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1538,8 +1538,8 @@ def get_module_filename(hProcess, hModule):
15381538
response += tlv_pack(TLV_TYPE_PROCESS_NAME, module_name)
15391539
response += tlv_pack(TLV_TYPE_PROCESS_PATH, module_filename)
15401540
break
1541-
except OSError as error:
1542-
debug_print('[-] method stdapi_sys_process_get_info failed on: ' + str(error))
1541+
except OSError:
1542+
debug_print('[-] method stdapi_sys_process_get_info failed')
15431543
return error_result_windows(), response
15441544

15451545
return ERROR_SUCCESS, response

0 commit comments

Comments
 (0)