MCPcopy
hub / github.com/ECTO-1A/AppleJuice / upd_cell

Method upd_cell

utils/ble_read_state.py:572–591  ·  view source on GitHub ↗
(self, argument)

Source from the content-addressed store, hash-verified

570 return titles[self.gd.edit_cell[1]]
571
572 def upd_cell(self, argument):
573 global resolved_devs
574 cell = self.get_cell_name()
575 if cell == 'Device':
576 mac = self.get_mac_val_from_cell()
577 thread2 = Thread(target=self.get_dev_name, args=(mac,))
578 # thread2 = Thread(target=self.get_all_dev_names())
579 thread2.daemon = True
580 thread2.start()
581 if cell == 'Phone':
582 if self.get_phone_val_from_cell() == 'X':
583 hashinfo = "Phone hash={}, email hash={}, AppleID hash={}, SSID hash={} ({})".format(
584 hash2phone[self.get_mac_val_from_cell()]['ph_hash'],
585 hash2phone[self.get_mac_val_from_cell()]['email_hash'],
586 hash2phone[self.get_mac_val_from_cell()]['appleID_hash'],
587 hash2phone[self.get_mac_val_from_cell()]['SSID_hash'],
588 get_dict_val(dictOfss, hash2phone[self.get_mac_val_from_cell()]['SSID_hash']))
589 table = print_results2(hash2phone[self.get_mac_val_from_cell()]['phone_info'])
590 rez = "{}\n\n{}".format(hashinfo, table)
591 npyscreen.notify_confirm(rez, title="Phone number info", wrap=True, wide=True, editw=0)
592
593
594def clear_zombies():

Callers

nothing calls this directly

Calls 5

get_cell_nameMethod · 0.95
get_mac_val_from_cellMethod · 0.95
get_dict_valFunction · 0.85
print_results2Function · 0.85

Tested by

no test coverage detected