RE env for inspecting APKs
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

39 lines
829 B

#!/bin/env python3
def check_bridge_socket()::
evt = None
return evt
def handle_bridge_evt(evt):
"""
TODO: Whatever bridge events to handle
"""
def check_debug_socket():
dbg_evt = None
return dbg_evt
def handle_debug_evt(dbg_evt):
""" TODO: Do something with the events here."""
def run_loop():
""" """
while True:
# 1. Check the BridgeSocket
evt = check_bridge_socket()
if evt != None:
handle_bridge_evt(evt)
dbg_evt = check_debug_socket()
if dbg_evt != None:
handle_debug_evt(dbg_evt)
def main():
"""
1. TODO: Open Server port that the device connects to.
2. TODO: Open Server port that an admin connects to, i.e., to test sending packets to
3. TODO:
"""
if __name__ == '__main__':
main()