mirror of
https://github.com/Pennyw0rth/NetExec.git
synced 2026-11-07 09:26:01 -10:00
Use a single failure sentinel in LAPSv2Extract.run()
This commit is contained in:
1 parent
5a4ef2d5ac
commit
31a98e5b02
1 file changed
+2
-2
@@ -235,13 +235,13 @@ class LAPSv2Extract:
|
||||
dce.connect()
|
||||
except Exception as e:
|
||||
self.logger.error(f"Something went wrong, check error status => {e}")
|
||||
return False
|
||||
return None
|
||||
self.logger.info("Connected")
|
||||
try:
|
||||
dce.bind(MSRPC_UUID_GKDI)
|
||||
except Exception as e:
|
||||
self.logger.error(f"Something went wrong, check error status => {e!s}")
|
||||
return False
|
||||
return None
|
||||
self.logger.info("Successfully bound")
|
||||
self.logger.info("Calling MS-GKDI GetKey")
|
||||
|
||||
|
||||
Reference in new issue
Block a user