From 3907350459592041fc1e3a52eadb69dc72e1f660 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Wed, 9 Feb 2022 00:21:39 +0400 Subject: [PATCH] Updated index page. --- internal/handlers/web/templates/index.jade | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/internal/handlers/web/templates/index.jade b/internal/handlers/web/templates/index.jade index cee98ab..7a6e12a 100644 --- a/internal/handlers/web/templates/index.jade +++ b/internal/handlers/web/templates/index.jade @@ -5,10 +5,9 @@ block body ul li Max. file size is #{.FileMaxSz}. li Anything you upload should comply with Russian Federation's law. - li Generally speaking, anything that could cause me to deal with police, FSB, etc is forbidden. - li If anything illegal will be found it will be removed. + li Generally speaking, anything illegal, like CP etc. is forbidden. section#used-space.center - h2 Used space + h2 Free space div span #{.StorageUsedStr} progress(value=.StorageUsed max=.StorageCapacity) @@ -20,12 +19,13 @@ block body form(action="/" method="POST" enctype="multipart/form-data") input(type="file" name="file") input(type="submit" value="Upload") - section.center - p A resulted link looks like this /f/base64rawURL(sha256)/filename.ext. - p filename.ext could be anything but empty. It is a name the file will be retrieved with. + section + p.center You can use curl to upload a file: #[code curl -X POST -F 'file=@somefile.ext' https://upload.arav.top/]. + p.center A resulted link looks like this /f/base64rawURL(sha256)/filename.ext. + p.center filename.ext could be anything but empty. It is a name the file will be retrieved with. section h2 Privacy statements - p I will cooperate with law enforcements and provide them with logs, and, if it still there, a file caused problems. Other than such situations logs won't get to the hands of third parties. - p Upload logs include: access time, IP-address, name of a file it was uploaded with, a SHA-256 hash of the file, download name, size of the file in bytes. - p Each download also being logged and include: access time, IP-address, name of a file it was requested with, download name. - p Download name is a salted SHA-256 hash of the file encoded using base64 raw URL encoding. \ No newline at end of file + p I WILL cooperate with law enforcements and provide them with logs, and, if it still there, a file caused problems. Other than such situations logs won't get to the hands of third parties. + p Upload logs include: access time, IP-address, name of a file it was uploaded with, a SHA-256 hash of the file, download name*, size of the file in bytes. + p Each download also being logged and include: access time, IP-address, name of a file it was requested with, download name*. + p *Download name is a salted SHA-256 hash of the file encoded using base64 raw URL encoding. \ No newline at end of file