Portable file server with accelerated resumable uploads, dedup, WebDAV, SFTP, FTP, TFTP, zeroconf, media indexer, thumbnails++ all in one file
702 matches across 14 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | setup.py | 3 | |
| LOW | bin/partyfuse-streaming.py | 2 | |
| LOW | bin/partyfuse-streaming.py | 2 | |
| LOW | bin/u2c.py | 2 | |
| LOW | bin/u2c.py | 2 | |
| LOW | bin/u2c.py | 1696 | |
| LOW | bin/partyfuse2.py | 2 | |
| LOW | bin/partyfuse2.py | 2 | |
| LOW | bin/partyfuse2.py | 10 | |
| LOW | bin/partyfuse2.py | 23 | |
| LOW | bin/mtag/media-hash.py | 6 | |
| LOW | bin/hooks/msg-log.py | 4 | |
| LOW | bin/hooks/msg-log.py | 4 | |
| LOW | bin/hooks/reject-ramdisk.py | 3 | |
| LOW | bin/hooks/reject-ramdisk.py | 7 | |
| LOW | bin/handlers/caching-proxy.py | 11 | |
| LOW | tests/test_dedup.py | 3 | |
| LOW | tests/test_dedup.py | 3 | |
| LOW | tests/test_dedup.py | 9 | |
| LOW | tests/test_utils.py | 3 | |
| LOW | tests/test_utils.py | 3 | |
| LOW | tests/test_metrics.py | 3 | |
| LOW | tests/test_metrics.py | 3 | |
| LOW | tests/test_metrics.py | 9 | |
| LOW | tests/util.py | 3 | |
| LOW | tests/util.py | 3 | |
| LOW | tests/test_httpcli.py | 3 | |
| LOW | tests/test_httpcli.py | 3 | |
| LOW | tests/test_dots.py | 3 | |
| LOW | tests/test_dots.py | 3 | |
| LOW | tests/test_cp.py | 3 | |
| LOW | tests/test_cp.py | 3 | |
| LOW | tests/test_cp.py | 8 | |
| LOW | tests/test_idp.py | 3 | |
| LOW | tests/test_idp.py | 3 | |
| LOW | tests/test_mv.py | 3 | |
| LOW | tests/test_mv.py | 3 | |
| LOW | tests/test_dxml.py | 3 | |
| LOW | tests/test_dxml.py | 3 | |
| LOW | tests/test_webdav.py | 3 | |
| LOW | tests/test_webdav.py | 3 | |
| LOW | tests/test_webdav.py | 9 | |
| LOW | tests/test_hooks.py | 3 | |
| LOW | tests/test_hooks.py | 3 | |
| LOW | tests/test_hooks.py | 8 | |
| LOW | tests/test_shr.py | 3 | |
| LOW | tests/test_shr.py | 3 | |
| LOW | tests/test_shr.py | 12 | |
| LOW | tests/test_vfs.py | 3 | |
| LOW | tests/test_vfs.py | 3 | |
| LOW | tests/test_vfs.py | 12 | |
| LOW | contrib/package/nix/partftpy/update.py | 10 | |
| LOW | scripts/sfx.py | 3 | |
| LOW | scripts/sfx.py | 3 | |
| LOW | scripts/uncomment.py | 3 | |
| LOW | scripts/uncomment.py | 3 | |
| LOW | scripts/strip_hints/a.py | 2 | |
| LOW | scripts/strip_hints/a.py | 2 | |
| LOW | scripts/py2/queue/__init__.py | 2 | |
| LOW | scripts/py2/queue/__init__.py | 2 | |
| 166 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | bin/partyjournal.py | 71 | |
| LOW | bin/dbtool.py | 50 | |
| LOW | bin/partyfuse-streaming.py | 294 | |
| LOW | bin/partyfuse-streaming.py | 332 | |
| LOW | bin/partyfuse-streaming.py | 613 | |
| LOW | bin/partyfuse-streaming.py | 820 | |
| LOW | bin/partyfuse.py | 262 | |
| LOW | bin/partyfuse.py | 691 | |
| LOW | bin/partyfuse.py | 727 | |
| LOW | bin/partyfuse.py | 933 | |
| LOW | bin/u2c.py | 629 | |
| LOW | bin/u2c.py | 653 | |
| LOW | bin/u2c.py | 737 | |
| LOW | bin/u2c.py | 804 | |
| LOW | bin/u2c.py | 896 | |
| LOW | bin/u2c.py | 1532 | |
| LOW | bin/u2c.py | 1040 | |
| LOW | bin/u2c.py | 1093 | |
| LOW | bin/u2c.py | 1196 | |
| LOW | bin/u2c.py | 1339 | |
| LOW | bin/u2c.py | 1460 | |
| LOW | bin/partyfuse2.py | 378 | |
| LOW | bin/mtag/geotag.py | 23 | |
| LOW | bin/mtag/cksum.py | 28 | |
| LOW | bin/mtag/very-bad-idea.py | 115 | |
| LOW | bin/mtag/yt-ipr.py | 99 | |
| LOW | bin/hooks/xiu-sha.py | 68 | |
| LOW | bin/hooks/msg-log.py | 74 | |
| LOW | bin/handlers/caching-proxy.py | 14 | |
| LOW | tests/test_dedup.py | 100 | |
| LOW | tests/util.py | 66 | |
| LOW | tests/test_httpcli.py | 35 | |
| LOW | tests/test_cp.py | 27 | |
| LOW | tests/test_mv.py | 50 | |
| LOW | tests/test_hooks.py | 81 | |
| LOW | tests/test_vfs.py | 60 | |
| LOW | scripts/fusefuzz.py | 34 | |
| LOW | scripts/sfx.py | 164 | |
| LOW | scripts/sfx.py | 270 | |
| LOW | scripts/uncomment.py | 17 | |
| LOW | scripts/help2html.py | 36 | |
| LOW | scripts/speedtest-fs.py | 95 | |
| LOW | scripts/test/smoketest.py | 63 | |
| LOW | scripts/test/smoketest.py | 45 | |
| LOW | scripts/test/race.py | 45 | |
| LOW | copyparty/metrics.py | 19 | |
| LOW | copyparty/th_srv.py | 258 | |
| LOW | copyparty/th_srv.py | 397 | |
| LOW | copyparty/th_srv.py | 531 | |
| LOW | copyparty/th_srv.py | 904 | |
| LOW | copyparty/th_srv.py | 1457 | |
| LOW | copyparty/authsrv.py | 3968 | |
| LOW | copyparty/authsrv.py | 4055 | |
| LOW | copyparty/authsrv.py | 703 | |
| LOW | copyparty/authsrv.py | 765 | |
| LOW | copyparty/authsrv.py | 951 | |
| LOW | copyparty/authsrv.py | 1000 | |
| LOW | copyparty/authsrv.py | 1179 | |
| LOW | copyparty/authsrv.py | 1384 | |
| LOW | copyparty/authsrv.py | 1578 | |
| 159 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | bin/partyfuse-streaming.py | 977 | except Exception as ex: |
| MEDIUM | bin/partyfuse-streaming.py | 965 | def _open(self, path): |
| LOW | bin/partyfuse.py | 374 | except Exception as ex: |
| LOW | bin/partyfuse.py | 1087 | except Exception as ex: |
| MEDIUM | bin/partyfuse.py | 1075 | def _open(self, path): |
| MEDIUM | bin/u2c.py | 115 | def run(self): |
| LOW | bin/u2c.py | 434 | except Exception as ex: |
| LOW | bin/u2c.py | 608 | except Exception as ex: |
| LOW | bin/u2c.py | 619 | except Exception as ex: |
| LOW | bin/u2c.py | 645 | except Exception as ex: |
| LOW | bin/u2c.py | 855 | except Exception as ex: |
| LOW | bin/u2c.py | 1225 | except Exception as ex: |
| LOW | bin/u2c.py | 1500 | except Exception as ex: |
| LOW | bin/hooks/podcast-normalizer.py | 120 | except Exception as ex: |
| LOW | bin/hooks/usb-eject.py | 60 | except Exception as ex: |
| MEDIUM | bin/hooks/usb-eject.py | 35 | def main(): |
| LOW | tests/util.py | 117 | except Exception as ex: |
| LOW | contrib/zfs-tune.py | 73 | except Exception: |
| MEDIUM | contrib/zfs-tune.py | 50 | def set_pagesize(db_path): |
| LOW | scripts/uncomment.py | 95 | except Exception as ex: |
| LOW | scripts/uncomment.py | 100 | except Exception as ex: |
| LOW | scripts/strip_hints/a.py | 39 | except Exception as ex: |
| LOW | copyparty/metrics.py | 154 | except Exception as ex: |
| LOW | copyparty/metrics.py | 231 | except Exception as ex: |
| LOW | copyparty/th_srv.py | 198 | except Exception as e: |
| LOW | copyparty/th_srv.py | 603 | except Exception as ex: |
| LOW | copyparty/th_srv.py | 614 | except Exception as ex: |
| LOW | copyparty/th_srv.py | 629 | except Exception as ex: |
| LOW | copyparty/th_srv.py | 692 | except Exception as ex: |
| LOW | copyparty/th_srv.py | 1417 | except Exception as ex: |
| LOW | copyparty/authsrv.py | 1029 | except Exception as ex: |
| LOW | copyparty/authsrv.py | 2835 | except Exception as ex: |
| LOW | copyparty/authsrv.py | 3122 | except Exception as ex: |
| LOW | copyparty/u2idx.py | 355 | except Exception as ex: |
| MEDIUM | copyparty/util.py | 673 | def expat_ver() -> str: |
| MEDIUM | copyparty/util.py | 4432 | def termsize() -> tuple[int, int]: |
| LOW | copyparty/util.py | 1366 | except Exception as ex: |
| LOW | copyparty/util.py | 3047 | except Exception as ex: |
| LOW | copyparty/util.py | 3096 | except Exception as ex: |
| LOW | copyparty/util.py | 3289 | except Exception as ex: |
| LOW | copyparty/util.py | 3309 | except Exception as ex: |
| LOW | copyparty/util.py | 3458 | except Exception as ex: |
| LOW | copyparty/util.py | 3493 | except Exception as ex: |
| LOW | copyparty/util.py | 3506 | except Exception as ex: |
| LOW | copyparty/util.py | 3512 | except Exception as ex: |
| LOW | copyparty/util.py | 3631 | except Exception as ex: |
| LOW | copyparty/util.py | 4001 | except Exception as ex: |
| LOW | copyparty/util.py | 4287 | except Exception as ex: |
| LOW | copyparty/util.py | 4501 | except Exception as ex: |
| LOW | copyparty/util.py | 4526 | except Exception as ex: |
| LOW | copyparty/util.py | 773 | except Exception as ex: |
| LOW | copyparty/sftpd.py | 772 | except Exception as ex: |
| LOW | copyparty/sftpd.py | 775 | except Exception as ex2: |
| LOW | copyparty/sftpd.py | 818 | except Exception as ex: |
| LOW | copyparty/sftpd.py | 843 | except Exception as ex: |
| MEDIUM | copyparty/sftpd.py | 264 | def stat(self): |
| LOW | copyparty/httpcli.py | 564 | except Exception as ex: |
| LOW | copyparty/httpcli.py | 901 | except Exception as ex: |
| LOW | copyparty/httpcli.py | 2367 | except Exception as ex: |
| LOW | copyparty/httpcli.py | 2692 | except Exception as ex: |
| 79 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | tests/test_dedup.py | 53 | self.conn.hsrv.hub.up2k.shutdown() |
| CRITICAL | tests/test_metrics.py | 38 | self.conn.hsrv.hub.up2k.shutdown() |
| CRITICAL | tests/test_cp.py | 47 | self.conn.hsrv.hub.up2k.shutdown() |
| CRITICAL | tests/test_mv.py | 44 | self.conn.hsrv.hub.up2k.shutdown() |
| CRITICAL | copyparty/ftpd.py | 372 | for vn in self.hub.asrv.vfs.all_vols.values(): |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | bin/partyfuse-streaming.py | 181 | continue |
| LOW | bin/partyfuse.py | 221 | # [windows/mty/msys2] /mingw64/bin/python3 /c/Users/ed/dev/copyparty/bin/partyfuse.py q: http://192.168.1.159:1234/ |
| LOW | bin/mtag/install-deps.sh | 1 | #!/bin/bash |
| LOW | bin/mtag/res/twitter-unmute.user.js | 1 | // ==UserScript== |
| LOW | bin/hooks/msg-log.py | 41 | flags: |
| LOW | bin/hooks/reloc-by-ext.py | 61 | # this function must end by printing the action to perform; |
| LOW | bin/handlers/404-to-fail2ban.py | 1 | # /!\ Warning: be careful, as webdav clients often generate a large number of 404 requets. |
| LOW | contrib/setup-ashell.sh | 1 | #!/bin/bash |
| LOW | contrib/plugins/graft-thumbs.js | 1 | // USAGE: |
| LOW | contrib/plugins/minimal-up2k.js | 41 | #u2conf {margin:5em auto 0 auto !important} |
| LOW | contrib/plugins/quickmove.js | 1 | "use strict"; |
| LOW | scripts/tl.js | 21 | // here is the pairs of "text-identifier": "text-to-translate" |
| LOW | scripts/copyparty-repack.sh | 1 | #!/bin/bash |
| LOW | scripts/copyparty-repack.sh | 21 | # 353975 copyparty-extras/sfx-ent/copyparty-sfx.py |
| LOW | scripts/sfx.py | 1 | #!/usr/bin/env python3 |
| LOW | scripts/sfx.py | 521 | # skip 1 |
| LOW | scripts/profile.py | 21 | raise Exception() |
| LOW | scripts/make-sfx.sh | 1 | #!/bin/bash |
| LOW | scripts/make-sfx.sh | 21 | # for example `lang eng` or `lang eng|nor` |
| LOW | scripts/make-sfx.sh | 41 | # |
| LOW | scripts/make-sfx.sh | 61 | # |
| LOW | scripts/bench/filehash.sh | 1 | #!/bin/bash |
| LOW | scripts/bench/filehash.sh | 61 | ## |
| LOW | scripts/bench/filehash.sh | 81 | # 2576 @ Ryzen 7 5800X (cpp 1.9.5, py 3.11.7, win10-ltsc-1809-17763.4974) // --hash-mt=8 (hello??) |
| LOW | scripts/docker/base/build-no265.sh | 81 | |
| LOW | …pts/docker/base/patch/ffmpeg/libavcodec/aacsbr_fixed.c | 1 | // just the signatures from the original file; all bodies/logic removed |
| LOW | scripts/docker/base/patch/ffmpeg/libavcodec/aacsbr.c | 1 | // just the signatures from the original file; all bodies/logic removed |
| LOW | scripts/docker/base/patch/ffmpeg/libavcodec/aacps.c | 1 | // just the signatures from the original file; all bodies/logic removed |
| LOW | scripts/deps-docker/genprism.sh | 21 | # antlr4 |
| LOW | scripts/deps-docker/genprism.sh | 41 | basic |
| LOW | scripts/deps-docker/genprism.sh | 61 | # cilkcpp |
| LOW | scripts/deps-docker/genprism.sh | 81 | # django |
| LOW | scripts/deps-docker/genprism.sh | 101 | # ftl |
| LOW | scripts/deps-docker/genprism.sh | 121 | # haxe |
| LOW | scripts/deps-docker/genprism.sh | 141 | # jexl |
| LOW | scripts/deps-docker/genprism.sh | 161 | # liquid |
| LOW | scripts/deps-docker/genprism.sh | 181 | moonscript |
| LOW | scripts/deps-docker/genprism.sh | 201 | # pascal |
| LOW | scripts/deps-docker/genprism.sh | 221 | # pure |
| LOW | scripts/deps-docker/genprism.sh | 241 | # roboconf |
| LOW | scripts/deps-docker/genprism.sh | 261 | sql |
| LOW | scripts/deps-docker/genprism.sh | 281 | typescript |
| LOW | copyparty/authsrv.py | 81 | ## * deletion of expired files, running on a timer |
| LOW | copyparty/web/browser.css | 1841 | } |
| LOW | copyparty/web/browser.css | 2041 | #seldoc.sel { |
| LOW | copyparty/web/a/partyfuse.py | 221 | # [windows/mty/msys2] /mingw64/bin/python3 /c/Users/ed/dev/copyparty/bin/partyfuse.py q: http://192.168.1.159:1234/ |
| LOW | copyparty/stolen/ifaddr/_shared.py | 81 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | bin/partyfuse-streaming.py | 0 | ,-------------------------------, g1>=c1, g2<=c2 |cache1 cache2| buf[g1-c1:(g1-c1)+(g2-g1)] `--------------------------- |
| HIGH | bin/partyfuse.py | 0 | ,-------------------------------, g1>=c1, g2<=c2 |cache1 cache2| buf[g1-c1:(g1-c1)+(g2-g1)] `--------------------------- |
| HIGH | bin/partyfuse2.py | 0 | ,-------------------------------, g1>=c1, g2<=c2 |cache1 cache2| buf[g1-c1:(g1-c1)+(g2-g1)] `--------------------------- |
| HIGH | copyparty/web/a/partyfuse.py | 0 | ,-------------------------------, g1>=c1, g2<=c2 |cache1 cache2| buf[g1-c1:(g1-c1)+(g2-g1)] `--------------------------- |
| HIGH | bin/u2c.py | 0 | non-recursive listing of directory contents, along with stat() info |
| HIGH | bin/u2c.py | 0 | non-recursive listing of directory contents, along with stat() info |
| HIGH | copyparty/web/a/u2c.py | 0 | non-recursive listing of directory contents, along with stat() info |
| HIGH | copyparty/web/a/u2c.py | 0 | non-recursive listing of directory contents, along with stat() info |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | bin/partyfuse-streaming.py | 115 | |
| MEDIUM | bin/partyfuse-streaming.py | 116 | |
| MEDIUM | bin/partyfuse-streaming.py | 139 | |
| MEDIUM | bin/partyfuse-streaming.py | 142 | |
| MEDIUM | bin/partyfuse-streaming.py | 148 | |
| MEDIUM | bin/partyfuse-streaming.py | 151 | |
| MEDIUM | bin/partyfuse-streaming.py | 850 | |
| MEDIUM | bin/partyfuse-streaming.py | 851 | |
| MEDIUM | bin/partyfuse-streaming.py | 871 | |
| MEDIUM | bin/partyfuse.py | 961 | |
| MEDIUM | bin/partyfuse.py | 962 | |
| MEDIUM | bin/partyfuse.py | 982 | |
| MEDIUM | bin/partyfuse2.py | 134 | |
| MEDIUM | bin/partyfuse2.py | 137 | |
| MEDIUM | bin/partyfuse2.py | 143 | |
| MEDIUM | bin/partyfuse2.py | 146 | |
| MEDIUM | copyparty/web/a/partyfuse.py | 961 | |
| MEDIUM | copyparty/web/a/partyfuse.py | 962 | |
| MEDIUM | copyparty/web/a/partyfuse.py | 982 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | bin/partyfuse-streaming.py | 365 | tid, meth, path, c.rx_path if c else "(null)" |
| HIGH | bin/partyfuse.py | 34 | awk '/-BEGIN CERTIFICATE-/ {a=1} a; /-END CERTIFICATE-/{exit}' <(openssl s_client -connect 127.0.0.1:3923 </dev/null 2 |
| HIGH | bin/mtag/very-bad-idea.py | 53 | wmctrl -r :ACTIVE: -b toggle,above || true |
| HIGH | bin/mtag/very-bad-idea.py | 61 | sleep 7.27 || break |
| HIGH | scripts/tl.py | 54 | LANGN.push([my_lang, Ls[my_lang].tt]); |
| HIGH | scripts/help2html.py | 12 | ./copyparty-sfx.py --help$a 2>/dev/null; printf '\n\n\n%0139d\n\n\n'; done # xfce4-terminal @ 140x43 |
| HIGH | copyparty/th_srv.py | 63 | # for n in {1..100}; do rm -rf /home/ed/Pictures/wp/.hist/th/ ; python3 -m copyparty -qv /home/ed/Pictures/wp/::r --th-n |
| HIGH | copyparty/web/a/partyfuse.py | 34 | awk '/-BEGIN CERTIFICATE-/ {a=1} a; /-END CERTIFICATE-/{exit}' <(openssl s_client -connect 127.0.0.1:3923 </dev/null 2 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | pyproject.toml | 73 | # ===================================================================== |
| MEDIUM | pyproject.toml | 108 | # ===================================================================== |
| MEDIUM | pyproject.toml | 125 | # ===================================================================== |
| MEDIUM | pyproject.toml | 152 | # ===================================================================== |
| MEDIUM | bin/hooks/reloc-by-wark-xau.py | 73 | # ------------------------------------------------------------------------- |
| MEDIUM | scripts/rls.sh | 69 | [ $rls ] || exit 0 # ---------------------------------------------------- |
| MEDIUM | scripts/help2txt.sh | 27 | # ===================================================================== |
| MEDIUM | scripts/pyinstaller/notes.txt | 15 | ## ============================================================ |
| MEDIUM | scripts/pyinstaller/notes.txt | 116 | ## ============================================================ |
| MEDIUM | scripts/pyinstaller/notes.txt | 166 | ## ============================================================ |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | bin/handlers/redirect.py | 23 | def send_errorpage_with_redirect_link(cli, new_path): |
| LOW | scripts/deps-docker/genprism.py | 28 | def parse_prism_configuration(url_str): |
| LOW | scripts/deps-docker/genprism.py | 72 | def get_language_dependencies(components, name): |
| LOW | copyparty/web/baguettebox.js | 983 | function showNextImageIgnoreReadDir(e) { |
| LOW | copyparty/web/baguettebox.js | 988 | function showPreviousImageIgnoreReadDir(e) { |
| LOW | copyparty/stolen/qrcodegen.py | 412 | def _get_alignment_pattern_positions(self) -> List[int]: |
| LOW | copyparty/stolen/qrcodegen.py | 429 | def _get_num_raw_data_modules(ver: int) -> int: |
| LOW | copyparty/stolen/qrcodegen.py | 448 | def _reed_solomon_compute_divisor(degree: int) -> bytes: |
| LOW | copyparty/stolen/qrcodegen.py | 471 | def _reed_solomon_compute_remainder(data: bytes, divisor: bytes) -> bytes: |
| LOW | copyparty/stolen/qrcodegen.py | 492 | def _finder_penalty_count_patterns(self, runhistory: collections.deque[int]) -> int: |
| LOW | copyparty/stolen/qrcodegen.py | 504 | def _finder_penalty_terminate_and_count( |
| LOW | copyparty/stolen/qrcodegen.py | 517 | def _finder_penalty_add_history( |
| LOW | copyparty/stolen/ifaddr/_win32.py | 68 | def enumerate_interfaces_of_adapter( |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | scripts/rls.sh | 5 | # usage: ./scripts/rls.sh sfx gzz 10 # just create sfx.py + en.py + helptext |
| LOW | scripts/deps-docker/mini-fa.sh | 35 | # kinda works but ruins hinting on windows, just use the old version of the font which has correct baseline |
| MEDIUM | copyparty/httpcli.py | 5711 | # get 401'd, so send a challenge if we're Absolutely Sure |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | scripts/make-sfx.sh | 78 | # if you are on windows, you can use msys2: |
| LOW | copyparty/authsrv.py | 1234 | # if ap/vp has a user/group placeholder, make sure to keep |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | copyparty/web/browser.html | 61 | 📟<input type="text" name="msg" class="i" placeholder="lorem ipsum dolor sit amet"> |
| LOW | copyparty/web/browser.html | 61 | 📟<input type="text" name="msg" class="i" placeholder="lorem ipsum dolor sit amet"> |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | bin/hooks/wget-i.py | 54 | def do_stuff(inf): |