33 lines
1.5 KiB
Plaintext
33 lines
1.5 KiB
Plaintext
extends base.jade
|
|
block body
|
|
section#rules.center
|
|
h2 Rules
|
|
ul
|
|
li Max. file size is #{.FileMaxSz}.
|
|
li It will be kept for #{.KeepForHours} hours.
|
|
li Anything you upload should comply with Russian Federation's law.
|
|
li Generally speaking, anything illegal, like CP etc., is forbidden.
|
|
section#used-space.center
|
|
h2 Free space
|
|
div
|
|
span #{.StorageUsedStr}
|
|
progress(value=.StorageUsed max=.StorageCapacity)
|
|
span #{.StorageCapStr}
|
|
div
|
|
| #{.StorageAvailStr}
|
|
section#upload.center
|
|
h2 Upload
|
|
form(action="/" method="POST" enctype="multipart/form-data")
|
|
input(type="file" name="file")
|
|
input(type="submit" value="Upload")
|
|
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.
|
|
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, User-Agent.
|
|
p Each download also being logged and include: access time, IP-address, name of a file it was requested with, download name*, User-Agent.
|
|
p *Download name is a salted SHA-256 hash of the file encoded using base64 raw URL encoding.
|
|
p It was decided to salt the hash to make useless any attempt on bruteforcing. |