|
1 | | -from com.cosmo.sploit.codelight.codelighttool import CodeLightTool |
2 | | -clt=CodeLightTool() |
3 | | -clt.restart_server() |
4 | | -try: |
5 | | - nox_debug_id=clt.create_session(_host_ip="localhost",_host_port="62001",_id="nox_vm_debug_identification") |
6 | | - clt.bind_active_session(_id=nox_debug_id) |
7 | | - clt.bind_device_storage(_device_storage="storage/emulated/legacy") |
8 | | - clt.show_packages() |
9 | | - while True: |
10 | | - try: |
11 | | - pkg=input("Enter app package you want to hide or unhide:") |
12 | | - clt.bind_app(_pkg=pkg) |
13 | | - flag=input("unhide/hide:") |
14 | | - clt.app_visibility(_status=flag) |
15 | | - except KeyboardInterrupt: |
16 | | - break |
17 | | - clt.disconnect_device() |
18 | | - clt.stop_server() |
19 | | -except KeyboardInterrupt: |
20 | | - print("Disconnecting unhandled") |
21 | | - clt.disconnect_device() |
22 | | - clt.stop_server() |
| 1 | +from com.cosmo.sploit.codelight.codelighttool import CodeLightTool |
| 2 | +clt=CodeLightTool() |
| 3 | +clt.restart_server() |
| 4 | +try: |
| 5 | + nox_debug_id=clt.create_session(_host_ip="localhost",_host_port="62001",_id="nox_vm_debug_identification") |
| 6 | + clt.bind_active_session(_id=nox_debug_id) |
| 7 | + clt.bind_device_storage(_device_storage="storage/emulated/legacy") |
| 8 | + clt.show_packages() |
| 9 | + while True: |
| 10 | + try: |
| 11 | + pkg=input("Enter app package you want to hide or unhide:") |
| 12 | + clt.bind_app(_pkg=pkg) |
| 13 | + flag=input("unhide/hide:") |
| 14 | + clt.app_visibility(_status=flag) |
| 15 | + except KeyboardInterrupt: |
| 16 | + break |
| 17 | + clt.disconnect_device() |
| 18 | + clt.stop_server() |
| 19 | +except KeyboardInterrupt: |
| 20 | + print("Disconnecting unhandled") |
| 21 | + clt.disconnect_device() |
| 22 | + clt.stop_server() |
0 commit comments