dploot 3.2.0__tar.gz → 3.2.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. {dploot-3.2.0 → dploot-3.2.2}/PKG-INFO +1 -1
  2. {dploot-3.2.0 → dploot-3.2.2}/dploot/triage/browser.py +4 -2
  3. {dploot-3.2.0 → dploot-3.2.2}/pyproject.toml +1 -1
  4. {dploot-3.2.0 → dploot-3.2.2}/LICENSE +0 -0
  5. {dploot-3.2.0 → dploot-3.2.2}/README.md +0 -0
  6. {dploot-3.2.0 → dploot-3.2.2}/dploot/__init__.py +0 -0
  7. {dploot-3.2.0 → dploot-3.2.2}/dploot/action/__init__.py +0 -0
  8. {dploot-3.2.0 → dploot-3.2.2}/dploot/action/backupkey.py +0 -0
  9. {dploot-3.2.0 → dploot-3.2.2}/dploot/action/blob.py +0 -0
  10. {dploot-3.2.0 → dploot-3.2.2}/dploot/action/browser.py +0 -0
  11. {dploot-3.2.0 → dploot-3.2.2}/dploot/action/certificates.py +0 -0
  12. {dploot-3.2.0 → dploot-3.2.2}/dploot/action/cng.py +0 -0
  13. {dploot-3.2.0 → dploot-3.2.2}/dploot/action/credentials.py +0 -0
  14. {dploot-3.2.0 → dploot-3.2.2}/dploot/action/machinecertificates.py +0 -0
  15. {dploot-3.2.0 → dploot-3.2.2}/dploot/action/machinecng.py +0 -0
  16. {dploot-3.2.0 → dploot-3.2.2}/dploot/action/machinecredentials.py +0 -0
  17. {dploot-3.2.0 → dploot-3.2.2}/dploot/action/machinemasterkeys.py +0 -0
  18. {dploot-3.2.0 → dploot-3.2.2}/dploot/action/machinetriage.py +0 -0
  19. {dploot-3.2.0 → dploot-3.2.2}/dploot/action/machinevaults.py +0 -0
  20. {dploot-3.2.0 → dploot-3.2.2}/dploot/action/masterkeys.py +0 -0
  21. {dploot-3.2.0 → dploot-3.2.2}/dploot/action/mobaxterm.py +0 -0
  22. {dploot-3.2.0 → dploot-3.2.2}/dploot/action/rdg.py +0 -0
  23. {dploot-3.2.0 → dploot-3.2.2}/dploot/action/sccm.py +0 -0
  24. {dploot-3.2.0 → dploot-3.2.2}/dploot/action/triage.py +0 -0
  25. {dploot-3.2.0 → dploot-3.2.2}/dploot/action/vaults.py +0 -0
  26. {dploot-3.2.0 → dploot-3.2.2}/dploot/action/wam.py +0 -0
  27. {dploot-3.2.0 → dploot-3.2.2}/dploot/action/wifi.py +0 -0
  28. {dploot-3.2.0 → dploot-3.2.2}/dploot/entry.py +0 -0
  29. {dploot-3.2.0 → dploot-3.2.2}/dploot/lib/__init__.py +0 -0
  30. {dploot-3.2.0 → dploot-3.2.2}/dploot/lib/consts.py +0 -0
  31. {dploot-3.2.0 → dploot-3.2.2}/dploot/lib/crypto.py +0 -0
  32. {dploot-3.2.0 → dploot-3.2.2}/dploot/lib/dpapi.py +0 -0
  33. {dploot-3.2.0 → dploot-3.2.2}/dploot/lib/masterkey.py +0 -0
  34. {dploot-3.2.0 → dploot-3.2.2}/dploot/lib/smb.py +0 -0
  35. {dploot-3.2.0 → dploot-3.2.2}/dploot/lib/target.py +0 -0
  36. {dploot-3.2.0 → dploot-3.2.2}/dploot/lib/utils.py +0 -0
  37. {dploot-3.2.0 → dploot-3.2.2}/dploot/lib/wmi.py +0 -0
  38. {dploot-3.2.0 → dploot-3.2.2}/dploot/triage/__init__.py +0 -0
  39. {dploot-3.2.0 → dploot-3.2.2}/dploot/triage/backupkey.py +0 -0
  40. {dploot-3.2.0 → dploot-3.2.2}/dploot/triage/certificates.py +0 -0
  41. {dploot-3.2.0 → dploot-3.2.2}/dploot/triage/cng.py +0 -0
  42. {dploot-3.2.0 → dploot-3.2.2}/dploot/triage/credentials.py +0 -0
  43. {dploot-3.2.0 → dploot-3.2.2}/dploot/triage/masterkeys.py +0 -0
  44. {dploot-3.2.0 → dploot-3.2.2}/dploot/triage/mobaxterm.py +0 -0
  45. {dploot-3.2.0 → dploot-3.2.2}/dploot/triage/rdg.py +0 -0
  46. {dploot-3.2.0 → dploot-3.2.2}/dploot/triage/sccm.py +0 -0
  47. {dploot-3.2.0 → dploot-3.2.2}/dploot/triage/vaults.py +0 -0
  48. {dploot-3.2.0 → dploot-3.2.2}/dploot/triage/wam.py +0 -0
  49. {dploot-3.2.0 → dploot-3.2.2}/dploot/triage/wifi.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dploot
3
- Version: 3.2.0
3
+ Version: 3.2.2
4
4
  Summary: DPAPI looting remotely in Python
5
5
  License-Expression: MIT
6
6
  License-File: LICENSE
@@ -71,7 +71,9 @@ class AppBoundKey(Structure):
71
71
  xored_intermediate_key = byte_xor(intermediate_key, xor_key)
72
72
  cipher = AES.new(xored_intermediate_key, AES.MODE_GCM, nonce=iv)
73
73
  else:
74
- raise ValueError(f"Unsupported flag: {flag}. Oops, Chrome did it again!")
74
+ if flag not in [1,2,3]:
75
+ raise ValueError(f"Unsupported flag: {flag}. Oops, Chrome did it again!")
76
+ return None
75
77
  self.key = cipher.decrypt(ciphertext=encrypted_text)
76
78
  return self.key
77
79
 
@@ -293,7 +295,7 @@ class BrowserTriage(Triage):
293
295
  logging.debug(f"Key not found! {e!r}")
294
296
  # logging.debug(f"{aesStateKey_json=}")
295
297
  except ValueError as e:
296
- logging.error(f"ValueError: {e!r}")
298
+ logging.debug(f"ValueError: {e!r}")
297
299
 
298
300
  for profile in profiles:
299
301
  loginData_bytes = self.conn.readFile(
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "dploot"
3
- version = "3.2.0"
3
+ version = "3.2.2"
4
4
  description = "DPAPI looting remotely in Python"
5
5
  readme = "README.md"
6
6
  homepage = "https://github.com/zblurx/dploot"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes