mirror of
https://github.com/rapid7/metasploit-payloads
synced 2025-02-28 06:13:03 +01:00
Remove an accidential change from debugging
This commit is contained in:
parent
85c16b04b3
commit
c78eb1d785
@ -1139,7 +1139,7 @@ class PythonMeterpreter(object):
|
||||
resp += tlv_pack(reqid_tlv)
|
||||
return tlv_pack_response(result, resp)
|
||||
|
||||
if not hasattr(os, 'fork') or (hasattr(os, 'fork') ):#and os.fork() == 0):
|
||||
if not hasattr(os, 'fork') or (hasattr(os, 'fork') and os.fork() == 0):
|
||||
if hasattr(os, 'setsid'):
|
||||
try:
|
||||
os.setsid()
|
||||
|
Loading…
x
Reference in New Issue
Block a user