Advertisement
Guest User

whatsapp.log

a guest
Sep 25th, 2020
3,825
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 4.51 KB | None | 0 0
  1. # Look for local and cloud backups
  2. [main] registername/check-for-local-and-remote-backups
  3.  
  4. # Query Google Drive for backups if your device is logged in with Google account
  5. [WhatsApp Worker] gdrive-api-v2/auth-request asking GoogleAuthUtil for auth token: yourEmailId@gmail.com
  6. [WhatsApp Worker] gdrive-api-v2/auth-request/received-auth-token
  7. # Response from Google Drive: No backup exists
  8. [WhatsApp Worker] gdrive-activity/one-time-setup/account-with-no-backup/yourEmailId@gmail.com
  9.  
  10. # Found local backup, get last backup file
  11. [WhatsApp Worker] msgstore/lastbackupfile/file msgstore.db.crypt12 size=10485760
  12. # Number of local backup files can be max 9 in your local storage, the older ones are deleted
  13. [main] gdrive-activity/one-time-setup/num-of-local-backup-files/2
  14. [main] gdrive-activity/one-time-setup no google drive backups found but local backup exists.
  15.  
  16. # Check if the backup belongs to your account by comparing
  17. # last 2 digits in the footer with the last 2 digits of your phone number
  18. # If it mismatches, raise exception, jid = jabber Id
  19. [WhatsApp Worker] BackupFooter/has-jid-user-mismatch/expected-jid-user-ends-with: 20  actual-jid-user: YourPhoneNumberAlongWithCountryCode
  20.  
  21. [main] gdrive-activity/show-restore-for-local-backup
  22. [main] gdrive-activity/show-msgstore-downloading-view
  23. [main] gdrive-activity/msgstore-download/not performed since we are using local, success: true, now, restoring it.
  24.  
  25. # Get keys from WhatsApp server based on number of backups
  26. # This key is same for multiple backups
  27. # But sometimes when a user starts from fresh that is without restoring the backup,
  28. # the key is changed, see in next logs
  29. # WhatsApp server might also rotate keys for the client after some period of time
  30. # The key is AES-GCM-256-bit key whose IV is stored in msgstore.db.crypt12
  31. backupencryption/getkeys/size 2 (backups=2)
  32.  
  33. # Get cipher key from the key file with its Id
  34. # When msgstore.db.crypt12 is generated,
  35. # it stores Id of key in its header
  36. # This Id is also stored in the key file
  37. # to retrieve the key later for decryption
  38. # 2 function calls because of 2 backup files
  39. # Key can be same for both
  40. [WriterThread] xmpp/writer/write/get-cipher-key
  41. [WriterThread] xmpp/writer/write/get-cipher-key
  42.  
  43. # Only the latest backup is restored
  44. [WhatsApp Worker] msgstore/restore/backupfiles msgstore.db.crypt12 (10485760)
  45. [WhatsApp Worker] BackupFile/verifyIntegrity/CRYPT12
  46. # Initial digest is md5 hash of an empty string
  47. [WhatsApp Worker] BackupFile/getFileDigestWithoutFooter/initial digest = d41d8cd98f00b204e9800998ecf8427e
  48. # Get file digest without footer, the last 20 bytes of backup is the footer
  49. [WhatsApp Worker] msgstore-integrity-checker/verify-integrity/actual-digest/  b90a162a06ce60baf7dd89301d2149d6
  50. [WhatsApp Worker] BackupFooter/verify-integrity/actual-digest/  b90a162a06ce60baf7dd89301d2149d6
  51. Expected digest is the md5 hash stored in footer
  52. [WhatsApp Worker] BackupFooter/verify-integrity/expected-digest/b90a162a06ce60baf7dd89301d2149d6
  53. [WhatsApp Worker] BackupFooter/verify-integrity/digest-matches/success
  54. [WhatsApp Worker] msgstore/restore/file-integrity-check/success
  55. [WhatsApp Worker] msgstore/restore/key CRYPT12
  56. [WhatsApp Worker] msgstore/restore/jid-mismatch/false
  57. [main] gdrive-activity/msg-restore-progress/100%
  58.  
  59. # If md5 hash mismatches
  60. [WhatsApp Worker] BackupFooter/verify-integrity/actual-digest/  f1c5e3afc42867f10f4e9107faf15cd3
  61. [WhatsApp Worker] BackupFooter/verify-integrity/expected-digest/b90a162a06ce60baf7dd89301d2149d6
  62. [WhatsApp Worker] BackupFooter/verify-integrity/failed expected-digest:b90a162a06ce60baf7dd89301d2149d6 actual-digest:f1c5e3afc42867f10f4e9107faf15cd3
  63. [WhatsApp Worker] msgstore/restore/file-integrity-check/failed
  64. [WhatsApp Worker] msgstore/restore/key CRYPT12
  65. [WhatsApp Worker] msgstore/restore/error; exception=java.util.zip.ZipException: incorrect header check
  66. [main] gdrive-activity/after-msgstore-verified/failed/unrestorable-local-backup
  67.  
  68. # If you start from fresh without restoring your backup, or
  69. # If you delete the key file from /data/data/com.whatsapp/files/key
  70. # Client requests new key from the server
  71. [WriterThread] xmpp/writer/write/create-cipher-key
  72.  
  73. # No internet connection
  74. # If you delete the key file and try to make backup without going online
  75. [WhatsApp Worker] localbackupmanager/sendCreateBackupKeyIfNeeded/started
  76. [WhatsApp Worker] sendmethods/sendcreatecipherkey
  77. [WhatsApp Worker] localbackupmanager/backup/waiting-for-the-key
  78. [WhatsApp Worker] localbackupmanager/backup/backup-key-not-received
  79. [WhatsApp Worker] backupkey/getinfo/does-not-exist
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement