mirror of
https://github.com/elisspace/autopsy.git
synced 2026-10-04 16:26:16 +00:00
Update shareit.py
Remove attachment file name from message body.
This commit is contained in:
@@ -107,10 +107,6 @@ class ShareItAnalyzer(general.AndroidComponentAnalyzer):
|
||||
direction = CommunicationDirection.OUTGOING
|
||||
toId = historyResultSet.getString("device_id")
|
||||
|
||||
msgBody = "" # there is no body.
|
||||
attachments = [historyResultSet.getString("file_path")]
|
||||
msgBody = general.appendAttachmentList(msgBody, attachments)
|
||||
|
||||
timeStamp = historyResultSet.getLong("timestamp") / 1000
|
||||
messageArtifact = historyDbHelper.addMessage(
|
||||
self._MESSAGE_TYPE,
|
||||
@@ -120,7 +116,7 @@ class ShareItAnalyzer(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