1
0
mirror of https://github.com/elisspace/autopsy.git synced 2026-08-31 16:33:52 +00:00

Changed name from instance to address

This commit is contained in:
U-BASIS\dsmyda
2019-09-26 13:55:44 -04:00
parent c8c1fbd91d
commit fafb297cd1
6 changed files with 11 additions and 11 deletions

View File

@@ -31,7 +31,7 @@ class TskContactsParser(ResultSetIterator):
self._DEFAULT_VALUE = ""
self._DEFAULT_ACCOUNT_ADDRESS = None
def get_account_instance(self):
def get_account_address(self):
return self._DEFAULT_ACCOUNT_ADDRESS
def get_phone(self):

View File

@@ -142,7 +142,7 @@ class LineAnalyzer(general.AndroidComponentAnalyzer):
contacts_parser = LineContactsParser(contacts_db)
while contacts_parser.next():
helper.addContact(
contacts_parser.get_account_instance(),
contacts_parser.get_account_address(),
contacts_parser.get_phone(),
contacts_parser.get_home_phone(),
contacts_parser.get_mobile_phone(),
@@ -341,7 +341,7 @@ class LineContactsParser(TskContactsParser):
)
)
def get_account_instance(self):
def get_account_address(self):
return Account.Address(self.result_set.getString("m_id"),
self.result_set.getString("server_name"))

View File

@@ -151,7 +151,7 @@ class SkypeAnalyzer(general.AndroidComponentAnalyzer):
contacts_parser = SkypeContactsParser(skype_db)
while contacts_parser.next():
helper.addContact(
contacts_parser.get_account_instance(),
contacts_parser.get_account_address(),
contacts_parser.get_phone(),
contacts_parser.get_home_phone(),
contacts_parser.get_mobile_phone(),
@@ -361,7 +361,7 @@ class SkypeContactsParser(TskContactsParser):
)
)
def get_account_instance(self):
def get_account_address(self):
return Account.Address(self.result_set.getString("entry_id"),
self.result_set.getString("name"))

View File

@@ -108,7 +108,7 @@ class TextNowAnalyzer(general.AndroidComponentAnalyzer):
contacts_parser = TextNowContactsParser(textnow_db)
while contacts_parser.next():
helper.addContact(
contacts_parser.get_account_instance(),
contacts_parser.get_account_address(),
contacts_parser.get_phone(),
contacts_parser.get_home_phone(),
contacts_parser.get_mobile_phone(),
@@ -266,7 +266,7 @@ class TextNowContactsParser(TskContactsParser):
)
)
def get_account_instance(self):
def get_account_address(self):
return Account.Address(self.result_set.getString("number"),
self.result_set.getString("name"))

View File

@@ -116,7 +116,7 @@ class ViberAnalyzer(general.AndroidComponentAnalyzer):
contacts_parser = ViberContactsParser(contacts_db)
while contacts_parser.next():
helper.addContact(
contacts_parser.get_account_instance(),
contacts_parser.get_account_address(),
contacts_parser.get_phone(),
contacts_parser.get_home_phone(),
contacts_parser.get_mobile_phone(),
@@ -272,7 +272,7 @@ class ViberContactsParser(TskContactsParser):
)
)
def get_account_instance(self):
def get_account_address(self):
return Account.Address(self.result_set.getString("number"),
self.result_set.getString("name"))

View File

@@ -170,7 +170,7 @@ class WhatsAppAnalyzer(general.AndroidComponentAnalyzer):
contacts_parser = WhatsAppContactsParser(contacts_db)
while contacts_parser.next():
helper.addContact(
contacts_parser.get_account_instance(),
contacts_parser.get_account_address(),
contacts_parser.get_phone(),
contacts_parser.get_home_phone(),
contacts_parser.get_mobile_phone(),
@@ -410,7 +410,7 @@ class WhatsAppContactsParser(TskContactsParser):
)
)
def get_account_instance(self):
def get_account_address(self):
return Account.Address(self.result_set.getString("jid"),
self.result_set.getString("name"))