1
0
Fork 0
dwelling-upload/web/templates/index.jade

32 lines
1.7 KiB
Plaintext
Raw Normal View History

2022-02-08 04:24:20 +04:00
extends base.jade
block body
section#rules.center
h2 Rules
ul
li Max. file size is #{.FileMaxSz}.
2022-02-10 22:50:33 +04:00
li It will be kept for #{.KeepForHours} hours.
2022-03-06 22:10:36 +04:00
li Anything you upload should comply with Russian Federation's law. Generally speaking, anything illegal, like CP, extremist literature etc., is forbidden.
2022-02-08 04:24:20 +04:00
section#used-space.center
2022-02-09 00:21:39 +04:00
h2 Free space
2022-02-08 04:24:20 +04:00
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" multiple=false)
button(type="submit") Upload
2022-02-09 00:21:39 +04:00
section
p.center You can use cURL to upload a file: #[code curl -F 'file=@somefile.ext' https://upload.arav.top]
2022-03-29 23:16:57 +04:00
p.center Over I2P: #[code curl --proxy 127.0.0.1:4444 -F 'file=@somefile.ext' http://upload.arav.i2p]
2022-03-06 22:12:07 +04:00
p.center A resulted link looks like this: #[code /f/base64rawURL(sha256)/filename.ext].
p.center filename.ext is mandatory. It is a name the file will be retrieved with.
2022-02-08 04:24:20 +04:00
section
h2 Privacy statements
p I WILL cooperate with law enforcements and provide them with logs, guess I shouldn't clarify why. Abuses should be sent to #[a(href="mailto:admin@arav.top") admin@arav.top].
2022-02-10 22:50:33 +04:00
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.
2022-03-06 22:12:07 +04:00
p *Download name is a salted SHA-256 hash of the file encoded using base64 raw URL encoding. The hash is being salted to make useless any attempt of bruteforcing.