mirror of
https://github.com/9001/copyparty.git
synced 2026-09-24 20:10:23 +01:00
sfx: link explanation
This commit is contained in:
+3
-12
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env python3
|
||||
# coding: latin-1
|
||||
# coding: L1
|
||||
from __future__ import division, print_function, unicode_literals
|
||||
import re, os, sys, time, shutil, signal, tarfile, hashlib, platform, tempfile, traceback
|
||||
import subprocess as sp
|
||||
@@ -25,19 +25,10 @@ import subprocess as sp
|
||||
|
||||
|
||||
"""
|
||||
to edit this file, use HxD or "vim -b"
|
||||
(there is compressed stuff at the end)
|
||||
|
||||
run me with python 2.7 or 3.3+ to unpack and run copyparty
|
||||
|
||||
there's zero binaries! just plaintext python scripts all the way down
|
||||
so you can easily unpack the archive and inspect it for shady stuff
|
||||
|
||||
the archive data is attached after the b"\n# eof\n" archive marker,
|
||||
b"?0" decodes to b"\x00"
|
||||
b"?n" decodes to b"\n"
|
||||
b"?r" decodes to b"\r"
|
||||
b"??" decodes to b"?"
|
||||
this is an SFX (self-extracting) tar.gz archive;
|
||||
see https://copyparty.eu/sfx-wtf/
|
||||
"""
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user