View Single Post
Old 10-03-2019, 12:23 PM   #7
nunojpg
Junior Member
nunojpg began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Sep 2019
Device: KT4
I confirmed that it's possible to execute arbitrary commands by adding them to /usr/share/webkit-1.0/pillow/debug_cmds.json, and executing with eg:

nativeBridge.dbgCmd(";usbnetwork","")

The second parameter allows to pass parameters to the command, so a shell script with exec can be used as a arbitrary command proxy.
nunojpg is offline   Reply With Quote