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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user