From 6830afbe67cc96e64f2c377df1be4701288bc246 Mon Sep 17 00:00:00 2001 From: iddoeldor Date: Wed, 3 Oct 2018 12:19:51 +0300 Subject: [PATCH] update dep --- scripts/exec_shell_cmd.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/scripts/exec_shell_cmd.py b/scripts/exec_shell_cmd.py index bfc39ae..70129da 100644 --- a/scripts/exec_shell_cmd.py +++ b/scripts/exec_shell_cmd.py @@ -8,7 +8,7 @@ def ls(folder): print(chunk.strip().decode()) """ import frida -from frida.application import Reactor +from frida_tools.application import Reactor import threading import click @@ -61,10 +61,8 @@ class Shell(object): click.secho("⚡ child_removed: {}".format(child), fg='green', dim=True) def _on_output(self, pid, fd, data): - # if len(data) > 0: - # print("⚡ output: pid={}, fd={}, data={}".format(pid, fd, repr(data))) + # print("⚡ output: pid={}, fd={}, data={}".format(pid, fd, repr(data))) # fd=0 (input) fd=1(stdout) fd=2(stderr) - # TODO handle fd=2 if fd != 2: self.output.append(data)