diff --git a/README.md b/README.md index deff25e4..cc02cfeb 100644 --- a/README.md +++ b/README.md @@ -358,11 +358,13 @@ the browser has the following hotkeys (always qwerty) * `U/O` skip 10sec back/forward * `0..9` jump to 0%..90% * `P` play/pause (also starts playing the folder) + * `Y` download file * when viewing images / playing videos: * `J/L, Left/Right` prev/next file * `Home/End` first/last file * `S` toggle selection * `R` rotate clockwise (shift=ccw) + * `Y` download file * `Esc` close viewer * videos: * `U/O` skip 10sec back/forward @@ -989,13 +991,25 @@ when uploading files, some notes on hardening -on public copyparty instances with anonymous upload enabled: +* option `-s` is a shortcut to set the following options: + * `--no-thumb` disables thumbnails and audio transcoding to stop copyparty from running `FFmpeg`/`Pillow`/`VIPS` on uploaded files, which is a [good idea](https://www.cvedetails.com/vulnerability-list.php?vendor_id=3611) if anonymous upload is enabled + * `--no-mtag-ff` uses `mutagen` to grab music tags instead of `FFmpeg`, which is safer and faster but less accurate + * `--dotpart` hides uploads from directory listings while they're still incoming + * `--no-robots` and `--force-js` makes life harder for crawlers, see [hiding from google](#hiding-from-google) -* users can upload html/css/js which will evaluate for other visitors in a few ways, - * unless `--no-readme` is set: by uploading/modifying a file named `readme.md` - * if `move` access is granted AND none of `--no-logues`, `--no-dot-mv`, `--no-dot-ren` is set: by uploading some .html file and renaming it to `.epilogue.html` (uploading it directly is blocked) +* option `-ss` is a shortcut for the above plus: + * `--no-logues` and `--no-readme` disables support for readme's and prologues / epilogues in directory listings, which otherwise lets people upload arbitrary `