MCPcopy Create free account
hub / github.com/CreditTone/hooker / getRemoteDriver

Function getRemoteDriver

hooker.py:522–529  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

520def _init_frida_device():
521 global frida_device
522 def getRemoteDriver():
523 text = io.open(".hooker_driver",'r',encoding= 'utf8').read()
524 if not text:
525 return None
526 searchResult = re.search(r'\d+\.\d+\.\d+\.\d+:\d+', text)
527 if searchResult:
528 return searchResult.group()
529 return None
530 if frida_device:
531 return
532 remoteDriver = getRemoteDriver() #ip:port

Callers 1

_init_frida_deviceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected