1
0
mirror of https://github.com/elisspace/autopsy.git synced 2026-08-29 23:51:58 +00:00

Update zapya.py

Remove attachment from message body.
This commit is contained in:
Mark McKinnon
2019-11-20 15:48:31 -05:00
parent c461bd09c6
commit 040cc1954b

View File

@@ -98,10 +98,6 @@ class ZapyaAnalyzer(general.AndroidComponentAnalyzer):
else:
direction = CommunicationDirection.INCOMING
fromId = transfersResultSet.getString("device")
msgBody = "" # there is no body.
attachments = [transfersResultSet.getString("path")]
msgBody = general.appendAttachmentList(msgBody, attachments)
timeStamp = transfersResultSet.getLong("createtime") / 1000
messageArtifact = transferDbHelper.addMessage(
@@ -112,7 +108,7 @@ class ZapyaAnalyzer(general.AndroidComponentAnalyzer):
timeStamp,
MessageReadStatus.UNKNOWN,
None, # subject
msgBody,
None, # message Text
None ) # thread id
# add the file as attachment