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.
|