mirror of
https://github.com/login-securite/DonPAPI
synced 2025-04-08 18:28:41 +00:00
add not-remoteops for machine certs
This commit is contained in:
parent
5be83bd047
commit
db0c7a9536
@ -38,7 +38,7 @@ BANNER = """
|
|||||||
,
|
,
|
||||||
, LeHack Release! \U0001F480
|
, LeHack Release! \U0001F480
|
||||||
(
|
(
|
||||||
. by Touf & Zblurx @ Login-Securite
|
. by Touf & Zblurx @ Login Sécurité
|
||||||
&&&&&&
|
&&&&&&
|
||||||
&&&&&%%%. &&&&&&
|
&&&&&%%%. &&&&&&
|
||||||
&&&&%%% &&&& &&&&&& &&&&&& &&&&&.
|
&&&&%%% &&&& &&&&&& &&&&&& &&&&&.
|
||||||
|
@ -321,6 +321,7 @@ class CertificatesTriage():
|
|||||||
except Exception as e:
|
except Exception as e:
|
||||||
pass
|
pass
|
||||||
self.db.add_certificate(guid=cert.filename, pfx_file_path=full_path, issuer=str(cert.cert.issuer.rfc4514_string()), subject=str(cert.cert.subject.rfc4514_string()), client_auth=cert.clientauth, pillaged_from_computer_ip=self.options.target_ip, pillaged_from_username=cert.user.username)
|
self.db.add_certificate(guid=cert.filename, pfx_file_path=full_path, issuer=str(cert.cert.issuer.rfc4514_string()), subject=str(cert.cert.subject.rfc4514_string()), client_auth=cert.clientauth, pillaged_from_computer_ip=self.options.target_ip, pillaged_from_username=cert.user.username)
|
||||||
|
if not self.options.no_remoteops
|
||||||
for user in self.users:
|
for user in self.users:
|
||||||
if user.username == 'MACHINE$':
|
if user.username == 'MACHINE$':
|
||||||
system_certificates = self.triage_system_certificates(user)
|
system_certificates = self.triage_system_certificates(user)
|
||||||
|
Loading…
Reference in New Issue
Block a user