Skip to content

Commit

Permalink
Nit
Browse files Browse the repository at this point in the history
  • Loading branch information
aBozowski committed Oct 20, 2023
1 parent 51c187f commit 1c8a45a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@ def __init__(self, platform: "Android"):
self.is_64 = False

def check_capabilities(self):
self.logger.info("Checking if phone has tcpdump")
self.logger.info("Checking if device has tcpdump")
self.has_tcpdump = self.platform.run_adb_command(
"shell which tcpdump", capture_output=True).finished_success()
self.logger.info("Checking if phone has root")
self.logger.info("Checking if device has root")
self.has_root = self.platform.run_adb_command(
"shell which su", capture_output=True).finished_success()
if self.has_root:
self.logger.warning("adb root!")
Bash("adb root", sync=True).start_command()
self.logger.info("Checking CPU arch")
self.logger.info("Checking device CPU arch")
cpu_arch_return = self.platform.run_adb_command(
"shell cat /proc/cpuinfo | grep rch", capture_output=True)
cpu_arch_output = cpu_arch_return.get_captured_output()
Expand Down

0 comments on commit 1c8a45a

Please sign in to comment.