File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2115,7 +2115,7 @@ def dpapi(self):
21152115
21162116 if self .args .pvk is not None :
21172117 try :
2118- self .pvkbytes = open (self .args .pvk , "rb" ).read () # noqa: SIM115
2118+ self .pvkbytes = open (self .args .pvk , "rb" ).read ()
21192119 self .logger .success (f"Loading domain backupkey from { self .args .pvk } " )
21202120 except Exception as e :
21212121 self .logger .fail (str (e ))
@@ -2136,7 +2136,7 @@ def dpapi(self):
21362136 use_kcache = self .use_kcache ,
21372137 )
21382138
2139- self .output_file = open (self .output_file_template .format (output_folder = "dpapi" ), "w" , encoding = "utf-8" ) # noqa: SIM115
2139+ self .output_file = open (self .output_file_template .format (output_folder = "dpapi" ), "w" , encoding = "utf-8" )
21402140
21412141 conn = upgrade_to_dploot_connection (connection = self .conn , target = target )
21422142 if conn is None :
You can’t perform that action at this time.
0 commit comments