dploot 3.2.0__tar.gz → 3.2.1__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.1}/PKG-INFO +1 -1
  2. {dploot-3.2.0 → dploot-3.2.1}/dploot/triage/browser.py +3 -2
  3. {dploot-3.2.0 → dploot-3.2.1}/pyproject.toml +1 -1
  4. {dploot-3.2.0 → dploot-3.2.1}/LICENSE +0 -0
  5. {dploot-3.2.0 → dploot-3.2.1}/README.md +0 -0
  6. {dploot-3.2.0 → dploot-3.2.1}/dploot/__init__.py +0 -0
  7. {dploot-3.2.0 → dploot-3.2.1}/dploot/action/__init__.py +0 -0
  8. {dploot-3.2.0 → dploot-3.2.1}/dploot/action/backupkey.py +0 -0
  9. {dploot-3.2.0 → dploot-3.2.1}/dploot/action/blob.py +0 -0
  10. {dploot-3.2.0 → dploot-3.2.1}/dploot/action/browser.py +0 -0
  11. {dploot-3.2.0 → dploot-3.2.1}/dploot/action/certificates.py +0 -0
  12. {dploot-3.2.0 → dploot-3.2.1}/dploot/action/cng.py +0 -0
  13. {dploot-3.2.0 → dploot-3.2.1}/dploot/action/credentials.py +0 -0
  14. {dploot-3.2.0 → dploot-3.2.1}/dploot/action/machinecertificates.py +0 -0
  15. {dploot-3.2.0 → dploot-3.2.1}/dploot/action/machinecng.py +0 -0
  16. {dploot-3.2.0 → dploot-3.2.1}/dploot/action/machinecredentials.py +0 -0
  17. {dploot-3.2.0 → dploot-3.2.1}/dploot/action/machinemasterkeys.py +0 -0
  18. {dploot-3.2.0 → dploot-3.2.1}/dploot/action/machinetriage.py +0 -0
  19. {dploot-3.2.0 → dploot-3.2.1}/dploot/action/machinevaults.py +0 -0
  20. {dploot-3.2.0 → dploot-3.2.1}/dploot/action/masterkeys.py +0 -0
  21. {dploot-3.2.0 → dploot-3.2.1}/dploot/action/mobaxterm.py +0 -0
  22. {dploot-3.2.0 → dploot-3.2.1}/dploot/action/rdg.py +0 -0
  23. {dploot-3.2.0 → dploot-3.2.1}/dploot/action/sccm.py +0 -0
  24. {dploot-3.2.0 → dploot-3.2.1}/dploot/action/triage.py +0 -0
  25. {dploot-3.2.0 → dploot-3.2.1}/dploot/action/vaults.py +0 -0
  26. {dploot-3.2.0 → dploot-3.2.1}/dploot/action/wam.py +0 -0
  27. {dploot-3.2.0 → dploot-3.2.1}/dploot/action/wifi.py +0 -0
  28. {dploot-3.2.0 → dploot-3.2.1}/dploot/entry.py +0 -0
  29. {dploot-3.2.0 → dploot-3.2.1}/dploot/lib/__init__.py +0 -0
  30. {dploot-3.2.0 → dploot-3.2.1}/dploot/lib/consts.py +0 -0
  31. {dploot-3.2.0 → dploot-3.2.1}/dploot/lib/crypto.py +0 -0
  32. {dploot-3.2.0 → dploot-3.2.1}/dploot/lib/dpapi.py +0 -0
  33. {dploot-3.2.0 → dploot-3.2.1}/dploot/lib/masterkey.py +0 -0
  34. {dploot-3.2.0 → dploot-3.2.1}/dploot/lib/smb.py +0 -0
  35. {dploot-3.2.0 → dploot-3.2.1}/dploot/lib/target.py +0 -0
  36. {dploot-3.2.0 → dploot-3.2.1}/dploot/lib/utils.py +0 -0
  37. {dploot-3.2.0 → dploot-3.2.1}/dploot/lib/wmi.py +0 -0
  38. {dploot-3.2.0 → dploot-3.2.1}/dploot/triage/__init__.py +0 -0
  39. {dploot-3.2.0 → dploot-3.2.1}/dploot/triage/backupkey.py +0 -0
  40. {dploot-3.2.0 → dploot-3.2.1}/dploot/triage/certificates.py +0 -0
  41. {dploot-3.2.0 → dploot-3.2.1}/dploot/triage/cng.py +0 -0
  42. {dploot-3.2.0 → dploot-3.2.1}/dploot/triage/credentials.py +0 -0
  43. {dploot-3.2.0 → dploot-3.2.1}/dploot/triage/masterkeys.py +0 -0
  44. {dploot-3.2.0 → dploot-3.2.1}/dploot/triage/mobaxterm.py +0 -0
  45. {dploot-3.2.0 → dploot-3.2.1}/dploot/triage/rdg.py +0 -0
  46. {dploot-3.2.0 → dploot-3.2.1}/dploot/triage/sccm.py +0 -0
  47. {dploot-3.2.0 → dploot-3.2.1}/dploot/triage/vaults.py +0 -0
  48. {dploot-3.2.0 → dploot-3.2.1}/dploot/triage/wam.py +0 -0
  49. {dploot-3.2.0 → dploot-3.2.1}/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.1
4
4
  Summary: DPAPI looting remotely in Python
5
5
  License-Expression: MIT
6
6
  License-File: LICENSE
@@ -71,7 +71,8 @@ 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!")
75
76
  self.key = cipher.decrypt(ciphertext=encrypted_text)
76
77
  return self.key
77
78
 
@@ -293,7 +294,7 @@ class BrowserTriage(Triage):
293
294
  logging.debug(f"Key not found! {e!r}")
294
295
  # logging.debug(f"{aesStateKey_json=}")
295
296
  except ValueError as e:
296
- logging.error(f"ValueError: {e!r}")
297
+ logging.debug(f"ValueError: {e!r}")
297
298
 
298
299
  for profile in profiles:
299
300
  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.1"
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