Security Related Notes → Escape Sequences that Run Local Commands
ZOC knows a number of extended escape sequences with which the remote side can control functions of ZOC on your local computer. Most of them are ignored, unless you activate them in Options→Session Profile→Advanced, or unless a file named remoterun.flg exists in the ZOC program folder (Windows) or a file named .zoc9_remoterunflag exists in your home folder (macOS). The file activates them for all sessions.
Once they are activated, the remote side can, among other things:
1. start any program on your computer with your user rights,
2. open, print or delete local files,
3. select a local file that is sent with the next upload (and thus obtain a copy of it),
4. run ZOC actions (e.g. REXX scripts), change the download and upload folders, write
to the clipboard and change the user buttons.
Keep in mind that these sequences do not only come from the host itself, but from anything that is displayed in the terminal, e.g. the contents of a file you view or a message from another user on that host.
Therefore only activate this for hosts you trust completely and, if possible, only in the session profiles that need it rather than through the flag file.
← Back to Security Related Notes