A very simple -- and insecure -- CGI script for sharing files via links.
The script allows anyone with access to upload any file. The following security measures should be implemented before releasing this into the wild:
Clone this repository into the folder you wish to have it. Take note of the security considerations above and implement necessary mitigations.
Check out a local branch:
git checkout -b local
Change the FILES_DIR_URL = "https://yourdomainhere/simple-fileshare/files"
to something suitable for your site.
I gotta say I don't believe there will be any, but still.
git checkout master
git pull
git checkout -
git rebase master
That should be it.