Skip to content

Commit

Permalink
Try to make ADB work
Browse files Browse the repository at this point in the history
  • Loading branch information
Arusekk committed Mar 30, 2020
1 parent 9bb4749 commit 5b8acf0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/source/conf.py
Expand Up @@ -443,7 +443,7 @@ def alrm_handler(sig, frame):
signal.alarm(180) # three minutes
raise EndlessLoop()
signal.signal(signal.SIGALRM, alrm_handler)
signal.alarm(900) # fifteen minutes
signal.alarm(600) # ten minutes

if 'doctest' in sys.argv:
def setup(app):
Expand Down
2 changes: 1 addition & 1 deletion pwnlib/protocols/adb/__init__.py
Expand Up @@ -107,7 +107,7 @@ def c(self):
and self.port == context.defaults['adb_port']:
log.warn("Could not connect to ADB server, trying to start it")
process(context.adb + ['start-server']).recvall()
time.sleep(0.1)
time.sleep(0.3)
else:
log.exception('Could not connect to ADB server (%s:%s)' % \
(self.host, self.port))
Expand Down

0 comments on commit 5b8acf0

Please sign in to comment.